raccoonai 0.1.0a6__py3-none-any.whl → 0.1.0a8__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of raccoonai might be problematic. Click here for more details.

Files changed (44) hide show
  1. raccoonai/_base_client.py +7 -1
  2. raccoonai/_client.py +20 -3
  3. raccoonai/_files.py +1 -1
  4. raccoonai/_version.py +1 -1
  5. raccoonai/resources/__init__.py +28 -0
  6. raccoonai/resources/extensions.py +400 -0
  7. raccoonai/resources/fleet.py +176 -14
  8. raccoonai/resources/lam.py +219 -764
  9. raccoonai/resources/tail/__init__.py +47 -0
  10. raccoonai/resources/tail/apps.py +225 -0
  11. raccoonai/resources/tail/auth.py +186 -0
  12. raccoonai/resources/tail/tail.py +273 -0
  13. raccoonai/types/__init__.py +10 -4
  14. raccoonai/types/extension_all_response.py +22 -0
  15. raccoonai/types/extension_get_response.py +16 -0
  16. raccoonai/types/extension_upload_params.py +13 -0
  17. raccoonai/types/extension_upload_response.py +16 -0
  18. raccoonai/types/fleet_create_params.py +26 -12
  19. raccoonai/types/fleet_create_response.py +3 -5
  20. raccoonai/types/fleet_sessions_params.py +42 -0
  21. raccoonai/types/fleet_sessions_response.py +58 -0
  22. raccoonai/types/fleet_status_response.py +3 -5
  23. raccoonai/types/fleet_terminate_response.py +3 -5
  24. raccoonai/types/lam_run_params.py +36 -3
  25. raccoonai/types/lam_run_response.py +9 -1
  26. raccoonai/types/lam_tasks_params.py +39 -0
  27. raccoonai/types/lam_tasks_response.py +52 -0
  28. raccoonai/types/tail/__init__.py +9 -0
  29. raccoonai/types/tail/app_all_response.py +38 -0
  30. raccoonai/types/tail/app_linked_params.py +13 -0
  31. raccoonai/types/tail/app_linked_response.py +14 -0
  32. raccoonai/types/tail/auth_status_params.py +15 -0
  33. raccoonai/types/tail/auth_status_response.py +17 -0
  34. raccoonai/types/tail_users_params.py +26 -0
  35. raccoonai/types/tail_users_response.py +48 -0
  36. {raccoonai-0.1.0a6.dist-info → raccoonai-0.1.0a8.dist-info}/METADATA +33 -16
  37. raccoonai-0.1.0a8.dist-info/RECORD +61 -0
  38. raccoonai/types/lam_extract_params.py +0 -68
  39. raccoonai/types/lam_extract_response.py +0 -31
  40. raccoonai/types/lam_integration_run_params.py +0 -57
  41. raccoonai/types/lam_integration_run_response.py +0 -53
  42. raccoonai-0.1.0a6.dist-info/RECORD +0 -44
  43. {raccoonai-0.1.0a6.dist-info → raccoonai-0.1.0a8.dist-info}/WHEEL +0 -0
  44. {raccoonai-0.1.0a6.dist-info → raccoonai-0.1.0a8.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,39 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import List, Optional
6
+ from typing_extensions import Literal, Annotated, TypedDict
7
+
8
+ from .._utils import PropertyInfo
9
+
10
+ __all__ = ["LamTasksParams"]
11
+
12
+
13
+ class LamTasksParams(TypedDict, total=False):
14
+ end_time: Optional[int]
15
+ """Filter tasks created before this Unix timestamp (in milliseconds)."""
16
+
17
+ execution_type: Annotated[Optional[List[Literal["run", "extract", "fleet"]]], PropertyInfo(alias="executionType")]
18
+ """Filter tasks by execution type (e.g., 'run', 'extract')."""
19
+
20
+ limit: Optional[int]
21
+ """Number of tasks per page (maximum 100)."""
22
+
23
+ page: Optional[int]
24
+ """Page number for pagination."""
25
+
26
+ raccoon_passcode: Optional[str]
27
+ """Filter tasks by Raccoon passcode."""
28
+
29
+ sort_by: Optional[Literal["timestamp", "executionTime", "taskId", "status", "executionType"]]
30
+ """Field to sort tasks by (e.g., 'timestamp', 'executionTime')."""
31
+
32
+ sort_order: Optional[Literal["ascend", "descend"]]
33
+ """Sort order ('ascend' or 'descend')."""
34
+
35
+ start_time: Optional[int]
36
+ """Filter tasks created after this Unix timestamp (in milliseconds)."""
37
+
38
+ task_id: Optional[str]
39
+ """Filter tasks by a specific task ID."""
@@ -0,0 +1,52 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import List
4
+ from typing_extensions import Literal
5
+
6
+ from pydantic import Field as FieldInfo
7
+
8
+ from .._models import BaseModel
9
+
10
+ __all__ = ["LamTasksResponse", "Meta", "Task"]
11
+
12
+
13
+ class Meta(BaseModel):
14
+ current_page: int = FieldInfo(alias="currentPage")
15
+ """The current page number."""
16
+
17
+ total_pages: int = FieldInfo(alias="totalPages")
18
+ """Total number of pages available."""
19
+
20
+ total_records: int = FieldInfo(alias="totalRecords")
21
+ """Total number of records across all pages."""
22
+
23
+
24
+ class Task(BaseModel):
25
+ execution_time: int = FieldInfo(alias="executionTime")
26
+ """Time taken for the task execution (in seconds)."""
27
+
28
+ execution_type: Literal["run", "extract"] = FieldInfo(alias="executionType")
29
+ """The type of execution performed (e.g., 'run', 'extract')."""
30
+
31
+ inputs: object
32
+ """Input parameters used for the task execution."""
33
+
34
+ output: List[object]
35
+ """Output generated by the task execution."""
36
+
37
+ raccoon_passcode: str = FieldInfo(alias="raccoonPasscode")
38
+ """Passcode associated with the user."""
39
+
40
+ task_id: str = FieldInfo(alias="taskId")
41
+ """Unique identifier for the task."""
42
+
43
+ timestamp: int
44
+ """Unix timestamp (in seconds) indicating when the task was created."""
45
+
46
+
47
+ class LamTasksResponse(BaseModel):
48
+ meta: Meta
49
+ """Metadata about the task list."""
50
+
51
+ tasks: List[Task]
52
+ """List of tasks."""
@@ -0,0 +1,9 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from .app_all_response import AppAllResponse as AppAllResponse
6
+ from .app_linked_params import AppLinkedParams as AppLinkedParams
7
+ from .auth_status_params import AuthStatusParams as AuthStatusParams
8
+ from .app_linked_response import AppLinkedResponse as AppLinkedResponse
9
+ from .auth_status_response import AuthStatusResponse as AuthStatusResponse
@@ -0,0 +1,38 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import List, Optional
4
+ from typing_extensions import Literal
5
+
6
+ from pydantic import Field as FieldInfo
7
+
8
+ from ..._models import BaseModel
9
+
10
+ __all__ = ["AppAllResponse", "AvailableApp"]
11
+
12
+
13
+ class AvailableApp(BaseModel):
14
+ app_name: str = FieldInfo(alias="appName")
15
+ """Unique identifier for the application."""
16
+
17
+ category: str
18
+ """Category of the application (e.g., 'Productivity', 'Social')."""
19
+
20
+ display_name: str = FieldInfo(alias="displayName")
21
+ """Display name of the application."""
22
+
23
+ status: Literal["Active", "In Review", "Not Accepted"]
24
+ """Status of the application."""
25
+
26
+ app_description: Optional[str] = FieldInfo(alias="appDescription", default=None)
27
+ """A brief description of the application."""
28
+
29
+ app_url: Optional[str] = FieldInfo(alias="appUrl", default=None)
30
+ """URL of the application."""
31
+
32
+ icon: Optional[str] = None
33
+ """URL of the application icon."""
34
+
35
+
36
+ class AppAllResponse(BaseModel):
37
+ available_apps: List[AvailableApp] = FieldInfo(alias="availableApps")
38
+ """List of available applications."""
@@ -0,0 +1,13 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing_extensions import Required, Annotated, TypedDict
6
+
7
+ from ..._utils import PropertyInfo
8
+
9
+ __all__ = ["AppLinkedParams"]
10
+
11
+
12
+ class AppLinkedParams(TypedDict, total=False):
13
+ raccoon_passcode: Required[Annotated[str, PropertyInfo(alias="raccoonPasscode")]]
@@ -0,0 +1,14 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import List
4
+
5
+ from pydantic import Field as FieldInfo
6
+
7
+ from ..._models import BaseModel
8
+
9
+ __all__ = ["AppLinkedResponse"]
10
+
11
+
12
+ class AppLinkedResponse(BaseModel):
13
+ linked_apps: List[str] = FieldInfo(alias="linkedApps")
14
+ """List of linked application names."""
@@ -0,0 +1,15 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing_extensions import Required, Annotated, TypedDict
6
+
7
+ from ..._utils import PropertyInfo
8
+
9
+ __all__ = ["AuthStatusParams"]
10
+
11
+
12
+ class AuthStatusParams(TypedDict, total=False):
13
+ app_name: Required[Annotated[str, PropertyInfo(alias="appName")]]
14
+
15
+ raccoon_passcode: Required[Annotated[str, PropertyInfo(alias="raccoonPasscode")]]
@@ -0,0 +1,17 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing_extensions import Literal
4
+
5
+ from pydantic import Field as FieldInfo
6
+
7
+ from ..._models import BaseModel
8
+
9
+ __all__ = ["AuthStatusResponse"]
10
+
11
+
12
+ class AuthStatusResponse(BaseModel):
13
+ app_name: str = FieldInfo(alias="appName")
14
+ """The name of the app for which the authentication status is checked"""
15
+
16
+ status: Literal["unliked", "active"]
17
+ """Authentication status."""
@@ -0,0 +1,26 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import Optional
6
+ from typing_extensions import Literal, Annotated, TypedDict
7
+
8
+ from .._utils import PropertyInfo
9
+
10
+ __all__ = ["TailUsersParams"]
11
+
12
+
13
+ class TailUsersParams(TypedDict, total=False):
14
+ email_id: Annotated[Optional[str], PropertyInfo(alias="emailId")]
15
+
16
+ limit: Optional[int]
17
+
18
+ page: Optional[int]
19
+
20
+ raccoon_passcode: Annotated[Optional[str], PropertyInfo(alias="raccoonPasscode")]
21
+
22
+ search_query: Annotated[Optional[str], PropertyInfo(alias="searchQuery")]
23
+
24
+ sort_by: Annotated[Optional[Literal["createdAt", "name", "email", "raccoonPasscode"]], PropertyInfo(alias="sortBy")]
25
+
26
+ sort_order: Annotated[Optional[Literal["ascend", "descend"]], PropertyInfo(alias="sortOrder")]
@@ -0,0 +1,48 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import List
4
+
5
+ from pydantic import Field as FieldInfo
6
+
7
+ from .._models import BaseModel
8
+
9
+ __all__ = ["TailUsersResponse", "Meta", "User"]
10
+
11
+
12
+ class Meta(BaseModel):
13
+ current_page: int = FieldInfo(alias="currentPage")
14
+ """The current page number."""
15
+
16
+ total_pages: int = FieldInfo(alias="totalPages")
17
+ """Total number of pages available."""
18
+
19
+ total_records: int = FieldInfo(alias="totalRecords")
20
+ """Total number of records across all pages."""
21
+
22
+
23
+ class User(BaseModel):
24
+ avatar: str
25
+ """URL of the user's avatar image."""
26
+
27
+ created_at: int = FieldInfo(alias="createdAt")
28
+ """Unix timestamp (in milliseconds) indicating when the user account was created."""
29
+
30
+ email: str
31
+ """User's email address."""
32
+
33
+ name: str
34
+ """User's full name."""
35
+
36
+ raccoon_passcode: str = FieldInfo(alias="raccoonPasscode")
37
+ """Passcode associated with the user."""
38
+
39
+
40
+ class TailUsersResponse(BaseModel):
41
+ admin_raccoon_passcode: str = FieldInfo(alias="adminRaccoonPasscode")
42
+ """Admin Raccoon passcode."""
43
+
44
+ meta: Meta
45
+ """Metadata about the user list."""
46
+
47
+ users: List[User]
48
+ """List of users."""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: raccoonai
3
- Version: 0.1.0a6
3
+ Version: 0.1.0a8
4
4
  Summary: The official Python library for the raccoonAI API
5
5
  Project-URL: Homepage, https://github.com/raccoonaihq/raccoonai-python
6
6
  Project-URL: Repository, https://github.com/raccoonaihq/raccoonai-python
@@ -38,7 +38,7 @@ The Raccoon AI Python library provides convenient access to the Raccoon AI REST
38
38
  application. The library includes type definitions for all request params and response fields,
39
39
  and offers both synchronous and asynchronous clients powered by [httpx](https://github.com/encode/httpx).
40
40
 
41
- It is generated with [Stainless](https://www.stainlessapi.com/).
41
+ It is generated with [Stainless](https://www.stainless.com/).
42
42
 
43
43
  ## Documentation
44
44
 
@@ -66,10 +66,10 @@ client = RaccoonAI(
66
66
  )
67
67
 
68
68
  response = client.lam.run(
69
- query="Find the price of iphone 16 on Amazon.",
69
+ query="Find YCombinator startups who got funded in W24.",
70
70
  raccoon_passcode="<end-user-raccoon-passcode>",
71
71
  )
72
- print(response.livestream_url)
72
+ print(response.data)
73
73
  ```
74
74
 
75
75
  While you can provide a `secret_key` keyword argument,
@@ -95,10 +95,10 @@ client = AsyncRaccoonAI(
95
95
 
96
96
  async def main() -> None:
97
97
  response = await client.lam.run(
98
- query="Find the price of iphone 16 on Amazon.",
98
+ query="Find YCombinator startups who got funded in W24.",
99
99
  raccoon_passcode="<end-user-raccoon-passcode>",
100
100
  )
101
- print(response.livestream_url)
101
+ print(response.data)
102
102
 
103
103
 
104
104
  asyncio.run(main())
@@ -116,12 +116,12 @@ from raccoonai import RaccoonAI
116
116
  client = RaccoonAI()
117
117
 
118
118
  stream = client.lam.run(
119
- query="Find the price of iphone 16 on Amazon.",
119
+ query="Find YCombinator startups who got funded in W24.",
120
120
  raccoon_passcode="<end-user-raccoon-passcode>",
121
121
  stream=True,
122
122
  )
123
123
  for response in stream:
124
- print(response.livestream_url)
124
+ print(response.data)
125
125
  ```
126
126
 
127
127
  The async client uses the exact same interface.
@@ -132,12 +132,12 @@ from raccoonai import AsyncRaccoonAI
132
132
  client = AsyncRaccoonAI()
133
133
 
134
134
  stream = await client.lam.run(
135
- query="Find the price of iphone 16 on Amazon.",
135
+ query="Find YCombinator startups who got funded in W24.",
136
136
  raccoon_passcode="<end-user-raccoon-passcode>",
137
137
  stream=True,
138
138
  )
139
139
  async for response in stream:
140
- print(response.livestream_url)
140
+ print(response.data)
141
141
  ```
142
142
 
143
143
  ## Using types
@@ -149,6 +149,23 @@ Nested request parameters are [TypedDicts](https://docs.python.org/3/library/typ
149
149
 
150
150
  Typed requests and responses provide autocomplete and documentation within your editor. If you would like to see type errors in VS Code to help catch bugs earlier, set `python.analysis.typeCheckingMode` to `basic`.
151
151
 
152
+ ## File uploads
153
+
154
+ Request parameters that correspond to file uploads can be passed as `bytes`, a [`PathLike`](https://docs.python.org/3/library/os.html#os.PathLike) instance or a tuple of `(filename, contents, media type)`.
155
+
156
+ ```python
157
+ from pathlib import Path
158
+ from raccoonai import RaccoonAI
159
+
160
+ client = RaccoonAI()
161
+
162
+ client.extensions.upload(
163
+ file=Path("/path/to/file"),
164
+ )
165
+ ```
166
+
167
+ The async client uses the exact same interface. If you pass a [`PathLike`](https://docs.python.org/3/library/os.html#os.PathLike) instance, the file contents will be read asynchronously automatically.
168
+
152
169
  ## Handling errors
153
170
 
154
171
  When the library is unable to connect to the API (for example, due to network connection problems or a timeout), a subclass of `raccoonai.APIConnectionError` is raised.
@@ -166,7 +183,7 @@ client = RaccoonAI()
166
183
 
167
184
  try:
168
185
  client.lam.run(
169
- query="Find the price of iphone 16 on Amazon.",
186
+ query="Find YCombinator startups who got funded in W24.",
170
187
  raccoon_passcode="<end-user-raccoon-passcode>",
171
188
  )
172
189
  except raccoonai.APIConnectionError as e:
@@ -212,7 +229,7 @@ client = RaccoonAI(
212
229
 
213
230
  # Or, configure per-request:
214
231
  client.with_options(max_retries=5).lam.run(
215
- query="Find the price of iphone 16 on Amazon.",
232
+ query="Find YCombinator startups who got funded in W24.",
216
233
  raccoon_passcode="<end-user-raccoon-passcode>",
217
234
  )
218
235
  ```
@@ -238,7 +255,7 @@ client = RaccoonAI(
238
255
 
239
256
  # Override per-request:
240
257
  client.with_options(timeout=5.0).lam.run(
241
- query="Find the price of iphone 16 on Amazon.",
258
+ query="Find YCombinator startups who got funded in W24.",
242
259
  raccoon_passcode="<end-user-raccoon-passcode>",
243
260
  )
244
261
  ```
@@ -282,13 +299,13 @@ from raccoonai import RaccoonAI
282
299
 
283
300
  client = RaccoonAI()
284
301
  response = client.lam.with_raw_response.run(
285
- query="Find the price of iphone 16 on Amazon.",
302
+ query="Find YCombinator startups who got funded in W24.",
286
303
  raccoon_passcode="<end-user-raccoon-passcode>",
287
304
  )
288
305
  print(response.headers.get('X-My-Header'))
289
306
 
290
307
  lam = response.parse() # get the object that `lam.run()` would have returned
291
- print(lam.livestream_url)
308
+ print(lam.data)
292
309
  ```
293
310
 
294
311
  These methods return an [`APIResponse`](https://github.com/raccoonaihq/raccoonai-python/tree/main/src/raccoonai/_response.py) object.
@@ -303,7 +320,7 @@ To stream the response body, use `.with_streaming_response` instead, which requi
303
320
 
304
321
  ```python
305
322
  with client.lam.with_streaming_response.run(
306
- query="Find the price of iphone 16 on Amazon.",
323
+ query="Find YCombinator startups who got funded in W24.",
307
324
  raccoon_passcode="<end-user-raccoon-passcode>",
308
325
  ) as response:
309
326
  print(response.headers.get("X-My-Header"))
@@ -0,0 +1,61 @@
1
+ raccoonai/__init__.py,sha256=ut5jCAExi9IzT9pzrjpsJoVhn6bzWI6jIXNXB-fXBY4,2523
2
+ raccoonai/_base_client.py,sha256=u8s3PM-sDfScKytBJRlCxNiVuOz_Dbhwm-At4yS3DoQ,68824
3
+ raccoonai/_client.py,sha256=phUGWrD1eewY7TMOV_arr6g4W3Sf7Ih5qPhSoS15b8I,19495
4
+ raccoonai/_compat.py,sha256=VWemUKbj6DDkQ-O4baSpHVLJafotzeXmCQGJugfVTIw,6580
5
+ raccoonai/_constants.py,sha256=FkmVVcfVS3gR69v_fTrqA_qjakyxJHOWJcw3jpEck8Y,465
6
+ raccoonai/_exceptions.py,sha256=Y-DcD2M8xkSw8IEkk4KHj73O8GQxCtWm4HWYQ02j7z8,3226
7
+ raccoonai/_files.py,sha256=a0SHeBu6FT5rt_CKotWZyna5GpgB42go35AUK5sEiD4,3624
8
+ raccoonai/_models.py,sha256=PDLSNsn3Umxm3UMZPgyBiyN308rRzzPX6F9NO9FU2vs,28943
9
+ raccoonai/_qs.py,sha256=AOkSz4rHtK4YI3ZU_kzea-zpwBUgEY8WniGmTPyEimc,4846
10
+ raccoonai/_resource.py,sha256=zfxyYCvzutc1dvCP-j9UPc1sn9U8F-X9gGyqleOvCxY,1118
11
+ raccoonai/_response.py,sha256=q3bfYfS84vvIRPz_wL8djh6ir9UHGDzzF2l3gKDOWX8,28807
12
+ raccoonai/_streaming.py,sha256=zHnkREZO5v33YJ7P0YZ7KhJET4ZzevGw1JzRY2-Mls4,10112
13
+ raccoonai/_types.py,sha256=sN2zE-vBl9KBlBKL8fkN2DNZnItdjDl-3fTpP9cg69w,6146
14
+ raccoonai/_version.py,sha256=F-dnFPuLxeusPZXR7CLwj-EAzdQJOGL-veK9mnW3vcU,169
15
+ raccoonai/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
+ raccoonai/_utils/__init__.py,sha256=PNZ_QJuzZEgyYXqkO1HVhGkj5IU9bglVUcw7H-Knjzw,2062
17
+ raccoonai/_utils/_logs.py,sha256=Af3FKkE-LAPzYTl8bnFD4yPvPBIO-QyCra-r9_dSmOM,784
18
+ raccoonai/_utils/_proxy.py,sha256=z3zsateHtb0EARTWKk8QZNHfPkqJbqwd1lM993LBwGE,1902
19
+ raccoonai/_utils/_reflection.py,sha256=ZmGkIgT_PuwedyNBrrKGbxoWtkpytJNU1uU4QHnmEMU,1364
20
+ raccoonai/_utils/_streams.py,sha256=SMC90diFFecpEg_zgDRVbdR3hSEIgVVij4taD-noMLM,289
21
+ raccoonai/_utils/_sync.py,sha256=TpGLrrhRNWTJtODNE6Fup3_k7zrWm1j2RlirzBwre-0,2862
22
+ raccoonai/_utils/_transform.py,sha256=tsSFOIZ7iczaUsMSGBD_iSFOOdUyT2xtkcq1xyF0L9o,13986
23
+ raccoonai/_utils/_typing.py,sha256=nTJz0jcrQbEgxwy4TtAkNxuU0QHHlmc6mQtA6vIR8tg,4501
24
+ raccoonai/_utils/_utils.py,sha256=8UmbPOy_AAr2uUjjFui-VZSrVBHRj6bfNEKRp5YZP2A,12004
25
+ raccoonai/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
26
+ raccoonai/resources/__init__.py,sha256=mcxCKZbIVQmducoB6dyk5DhiIT6d4pNqijZsBkQvsWQ,1876
27
+ raccoonai/resources/extensions.py,sha256=GdrbCYm8XvdNyuTHsgy2XktEX7dCLHtyFhGHd7owY64,15284
28
+ raccoonai/resources/fleet.py,sha256=XbRdnFHiugwdSn0y2xlIRGNyi5-OLEitL85S-Vth63Q,25186
29
+ raccoonai/resources/lam.py,sha256=VjR3IgkK0FPACdBswZ-ij7bOmEshxugQmv0XaS-6HiA,27784
30
+ raccoonai/resources/tail/__init__.py,sha256=trNhHsbhJU6Cu15C6ZrAOBcDSSTcWvvcLyRYGFMqmnw,1374
31
+ raccoonai/resources/tail/apps.py,sha256=532sI0g2sLUrLV3z_8qfbW8qnTTc8HyyQax1PD52BrA,8008
32
+ raccoonai/resources/tail/auth.py,sha256=Xi4nf7WBIyVuYeOb9iUKFDH-cKNPJHJ-U9JsEAwFLLg,6349
33
+ raccoonai/resources/tail/tail.py,sha256=SuVjNyUK2ZsA1bf48eDtsABtreHiboB-CUpVR8Gy0DU,9655
34
+ raccoonai/types/__init__.py,sha256=ak2Fi4Jm3eVvoX41aEu9MBRCtqkBdgB7qDfCTkcmuT8,1398
35
+ raccoonai/types/extension_all_response.py,sha256=GC5j55CVmwj4YN3Qofj6BrpnsX0t2fYVN7qnQEEHxso,526
36
+ raccoonai/types/extension_get_response.py,sha256=POG1qVfkWVyK2bzY_Ggc8MydSPVExi-THE3gtrQLYVo,397
37
+ raccoonai/types/extension_upload_params.py,sha256=L6M6Tl--dpGVjm158iYNpVF6tKiOap-Z6jMkZ22oomc,327
38
+ raccoonai/types/extension_upload_response.py,sha256=z83kt_Yq3jIiu11Kjvp1CrjPnyIbIgn4I4U9KOPdi58,403
39
+ raccoonai/types/fleet_create_params.py,sha256=mqUxuv01Y3uSI-DM5EMzLIEzSu-rQBBRkcpRxXvc3nE,2453
40
+ raccoonai/types/fleet_create_response.py,sha256=eJ6GPZY7hqQ2XktCgXq4ui-pKWxhsVz1otFsos_l-b4,575
41
+ raccoonai/types/fleet_logs_response.py,sha256=Lzamw3eqPNXzArU0ujxnXav2AwmIM8OZd7McMzheVNA,360
42
+ raccoonai/types/fleet_sessions_params.py,sha256=Co5GBqC_po4y4Fa3nRPRzo69SJ2xkrJqZ2UIeQV3JA0,1409
43
+ raccoonai/types/fleet_sessions_response.py,sha256=WCiXvYijimwvXeiQl4oGlDNueG5RtM1w8WQWA-dV4zg,1712
44
+ raccoonai/types/fleet_status_response.py,sha256=TPbSlxg2ldPuTnH575D48AnKaMn6Aq7uBHK-264wceE,427
45
+ raccoonai/types/fleet_terminate_response.py,sha256=AYadrUN5RGkT6RGVohNZg3c63Hf0JIZ4W6Drgw6rh6I,433
46
+ raccoonai/types/lam_run_params.py,sha256=jwWRy1P8iV6_nsGhMUPv4BMI2IfDDsLO0W7ZmCHvH5Q,2603
47
+ raccoonai/types/lam_run_response.py,sha256=pOBB0xmGZou7vMG-dmhUk6v5pMyJF4dXWnNWXAHvfW0,891
48
+ raccoonai/types/lam_tasks_params.py,sha256=cpcGDr0QVRjtLKVLHbfqy1sdLKngXtsosTureD8S6lM,1295
49
+ raccoonai/types/lam_tasks_response.py,sha256=4PZn0tYmyHw7K1Ujwsd6grVw24y6rFlg-ZaOHZbt-f8,1470
50
+ raccoonai/types/tail_users_params.py,sha256=isyMVl0CjCx6jjLaVTHKrOedscqlhXTIb5ZtDgEFGQs,835
51
+ raccoonai/types/tail_users_response.py,sha256=d_NvMKgrTLiLQrSN0oLDgyvNAmAzYwbzHlzbm1VmhOg,1230
52
+ raccoonai/types/tail/__init__.py,sha256=AoQlqI2mGMA9UON9JKGd_ekJjME8lcJnYfB43xt6kHU,468
53
+ raccoonai/types/tail/app_all_response.py,sha256=BJ3eYZZYKcrwRvJwt3DNuTBpADvoUmUG7g9rLofRpYw,1158
54
+ raccoonai/types/tail/app_linked_params.py,sha256=2MXvTBrWmyJDPfqfPh4vPARrSS1NRSMVD1keMqjnEHs,386
55
+ raccoonai/types/tail/app_linked_response.py,sha256=i7ox4Z5UsJhQMQm8DkB9YTz9chqNsj8TV91RSvU5OtA,360
56
+ raccoonai/types/tail/auth_status_params.py,sha256=Mim7abERBraHHEvPrz--Z348BeAd4gxQFvlx-QpkCl0,459
57
+ raccoonai/types/tail/auth_status_response.py,sha256=6T-hcIL7JpLdmgXTpRSEz5KxRoXe59VEbrRsNkWtabA,472
58
+ raccoonai-0.1.0a8.dist-info/METADATA,sha256=JPCN1Tbm-dh6tiyIBlmuqB5wJQFoZ3otuArnXl-w_rs,14936
59
+ raccoonai-0.1.0a8.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
60
+ raccoonai-0.1.0a8.dist-info/licenses/LICENSE,sha256=enGvZ2fGU7wGgMPWkgyWhnsFhCpxwdeG_selO_ovoTM,11340
61
+ raccoonai-0.1.0a8.dist-info/RECORD,,
@@ -1,68 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing import Union, Iterable, Optional
6
- from typing_extensions import Literal, Required, TypedDict
7
-
8
- __all__ = ["LamExtractParamsBase", "Advanced", "LamExtractParamsNonStreaming", "LamExtractParamsStreaming"]
9
-
10
-
11
- class LamExtractParamsBase(TypedDict, total=False):
12
- query: Required[str]
13
- """The input query string for the request. This is typically the main prompt."""
14
-
15
- raccoon_passcode: Required[str]
16
- """
17
- The raccoon passcode associated with the end user on behalf of which the call is
18
- being made.
19
- """
20
-
21
- advanced: Optional[Advanced]
22
- """
23
- Advanced configuration options for the session, such as ad-blocking and CAPTCHA
24
- solving.
25
- """
26
-
27
- app_url: Optional[str]
28
- """This is the entrypoint URL for the web agent."""
29
-
30
- chat_history: Optional[Iterable[object]]
31
- """
32
- The history of the conversation as a list of messages or objects you might use
33
- while building a chat app to give the model context of the past conversation.
34
- """
35
-
36
- max_count: Optional[int]
37
- """The maximum number of results to extract."""
38
-
39
- schema: object
40
- """The expected schema for the response.
41
-
42
- This is a dictionary where the keys describe the fields and the values describe
43
- their purposes.
44
- """
45
-
46
-
47
- class Advanced(TypedDict, total=False):
48
- block_ads: Optional[bool]
49
- """Whether to block advertisements during the browser session."""
50
-
51
- proxy: Optional[bool]
52
- """Whether to use a proxy for the browser session."""
53
-
54
- solve_captchas: Optional[bool]
55
- """Whether to attempt automatic CAPTCHA solving."""
56
-
57
-
58
- class LamExtractParamsNonStreaming(LamExtractParamsBase, total=False):
59
- stream: Optional[Literal[False]]
60
- """Whether the response should be streamed back or not."""
61
-
62
-
63
- class LamExtractParamsStreaming(LamExtractParamsBase):
64
- stream: Required[Literal[True]]
65
- """Whether the response should be streamed back or not."""
66
-
67
-
68
- LamExtractParams = Union[LamExtractParamsNonStreaming, LamExtractParamsStreaming]
@@ -1,31 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from typing import List
4
-
5
- from .._models import BaseModel
6
-
7
- __all__ = ["LamExtractResponse"]
8
-
9
-
10
- class LamExtractResponse(BaseModel):
11
- data: List[object]
12
- """The extracted data as a list of objects when the status is DONE.
13
-
14
- Each object represents an extracted entity.
15
- """
16
-
17
- livestream_url: str
18
- """The Livestream URL"""
19
-
20
- message: str
21
- """A message providing the thought summary if the status is processing currently."""
22
-
23
- properties: object
24
- """Additional metadata or information related to the extraction task."""
25
-
26
- task_status: str
27
- """The current status of the extraction task.
28
-
29
- For example: 'STARTING', 'PROCESSING', 'DONE', 'HUMAN_INTERACTION', or
30
- 'FAILURE'.
31
- """
@@ -1,57 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing import Union, Optional
6
- from typing_extensions import Literal, Required, TypedDict
7
-
8
- __all__ = [
9
- "LamIntegrationRunParamsBase",
10
- "Advanced",
11
- "LamIntegrationRunParamsNonStreaming",
12
- "LamIntegrationRunParamsStreaming",
13
- ]
14
-
15
-
16
- class LamIntegrationRunParamsBase(TypedDict, total=False):
17
- raccoon_passcode: Required[str]
18
- """
19
- The raccoon passcode associated with the end user on behalf of which the call is
20
- being made.
21
- """
22
-
23
- advanced: Optional[Advanced]
24
- """
25
- Advanced configuration options for the session, such as ad-blocking and CAPTCHA
26
- solving.
27
- """
28
-
29
- integration_id: Optional[str]
30
- """The unique identifier for the integration being called."""
31
-
32
- properties: Optional[object]
33
- """Additional properties or data related to the particular integration."""
34
-
35
-
36
- class Advanced(TypedDict, total=False):
37
- block_ads: Optional[bool]
38
- """Whether to block advertisements during the browser session."""
39
-
40
- proxy: Optional[bool]
41
- """Whether to use a proxy for the browser session."""
42
-
43
- solve_captchas: Optional[bool]
44
- """Whether to attempt automatic CAPTCHA solving."""
45
-
46
-
47
- class LamIntegrationRunParamsNonStreaming(LamIntegrationRunParamsBase, total=False):
48
- stream: Optional[Literal[False]]
49
- """Whether the response should be streamed back or not."""
50
-
51
-
52
- class LamIntegrationRunParamsStreaming(LamIntegrationRunParamsBase):
53
- stream: Required[Literal[True]]
54
- """Whether the response should be streamed back or not."""
55
-
56
-
57
- LamIntegrationRunParams = Union[LamIntegrationRunParamsNonStreaming, LamIntegrationRunParamsStreaming]