exa-py 1.15.2__tar.gz → 1.15.3__tar.gz
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 exa-py might be problematic. Click here for more details.
- {exa_py-1.15.2 → exa_py-1.15.3}/PKG-INFO +1 -1
- {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/research/async_client.py +1 -0
- {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/research/models.py +12 -0
- {exa_py-1.15.2 → exa_py-1.15.3}/pyproject.toml +1 -1
- {exa_py-1.15.2 → exa_py-1.15.3}/README.md +0 -0
- {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/__init__.py +0 -0
- {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/api.py +0 -0
- {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/py.typed +0 -0
- {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/research/__init__.py +0 -0
- {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/research/base.py +0 -0
- {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/research/sync_client.py +0 -0
- {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/research/utils.py +0 -0
- {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/utils.py +0 -0
- {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/__init__.py +0 -0
- {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/_generator/pydantic/BaseModel.jinja2 +0 -0
- {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/async_client.py +0 -0
- {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/client.py +0 -0
- {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/core/__init__.py +0 -0
- {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/core/async_base.py +0 -0
- {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/core/base.py +0 -0
- {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/enrichments/__init__.py +0 -0
- {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/enrichments/client.py +0 -0
- {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/events/__init__.py +0 -0
- {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/events/client.py +0 -0
- {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/imports/__init__.py +0 -0
- {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/imports/client.py +0 -0
- {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/items/__init__.py +0 -0
- {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/items/client.py +0 -0
- {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/monitors/__init__.py +0 -0
- {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/monitors/client.py +0 -0
- {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/monitors/runs/__init__.py +0 -0
- {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/monitors/runs/client.py +0 -0
- {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/searches/__init__.py +0 -0
- {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/searches/client.py +0 -0
- {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/types.py +0 -0
- {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/webhooks/__init__.py +0 -0
- {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/webhooks/client.py +0 -0
|
@@ -45,6 +45,7 @@ class AsyncResearchTyped(Generic[T]):
|
|
|
45
45
|
self.created_at = research.created_at
|
|
46
46
|
self.model = research.model
|
|
47
47
|
self.instructions = research.instructions
|
|
48
|
+
self.output_schema = research.output_schema
|
|
48
49
|
if hasattr(research, "events"):
|
|
49
50
|
self.events = research.events
|
|
50
51
|
if hasattr(research, "output"):
|
|
@@ -197,6 +197,9 @@ class ResearchBaseDto(BaseModel):
|
|
|
197
197
|
instructions: Annotated[
|
|
198
198
|
str, Field(description="The instructions given to this research request")
|
|
199
199
|
]
|
|
200
|
+
output_schema: Annotated[Optional[Dict[str, Any]], Field(alias="outputSchema")] = (
|
|
201
|
+
None
|
|
202
|
+
)
|
|
200
203
|
|
|
201
204
|
|
|
202
205
|
class ResearchPendingDto(ResearchBaseDto):
|
|
@@ -210,6 +213,9 @@ class ResearchRunningDto(ResearchBaseDto):
|
|
|
210
213
|
|
|
211
214
|
class ResearchCompletedDto(ResearchBaseDto):
|
|
212
215
|
status: Literal["completed"]
|
|
216
|
+
finished_at: Annotated[
|
|
217
|
+
float, Field(alias="createdAt", description="Milliseconds since epoch time")
|
|
218
|
+
]
|
|
213
219
|
events: Optional[List[ResearchEvent]] = None
|
|
214
220
|
output: ResearchOutput
|
|
215
221
|
cost_dollars: Annotated[CostDollars, Field(alias="costDollars")]
|
|
@@ -217,11 +223,17 @@ class ResearchCompletedDto(ResearchBaseDto):
|
|
|
217
223
|
|
|
218
224
|
class ResearchCanceledDto(ResearchBaseDto):
|
|
219
225
|
status: Literal["canceled"]
|
|
226
|
+
finished_at: Annotated[
|
|
227
|
+
float, Field(alias="createdAt", description="Milliseconds since epoch time")
|
|
228
|
+
]
|
|
220
229
|
events: Optional[List[ResearchEvent]] = None
|
|
221
230
|
|
|
222
231
|
|
|
223
232
|
class ResearchFailedDto(ResearchBaseDto):
|
|
224
233
|
status: Literal["failed"]
|
|
234
|
+
finished_at: Annotated[
|
|
235
|
+
float, Field(alias="createdAt", description="Milliseconds since epoch time")
|
|
236
|
+
]
|
|
225
237
|
events: Optional[List[ResearchEvent]] = None
|
|
226
238
|
error: Annotated[
|
|
227
239
|
str, Field(description="A message indicating why the request failed")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|