exa-py 1.1.0__tar.gz → 1.1.1__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.1.0 → exa_py-1.1.1}/PKG-INFO +1 -1
- {exa_py-1.1.0 → exa_py-1.1.1}/exa_py/api.py +4 -0
- {exa_py-1.1.0 → exa_py-1.1.1}/exa_py.egg-info/PKG-INFO +1 -1
- {exa_py-1.1.0 → exa_py-1.1.1}/setup.py +1 -1
- {exa_py-1.1.0 → exa_py-1.1.1}/README.md +0 -0
- {exa_py-1.1.0 → exa_py-1.1.1}/exa_py/__init__.py +0 -0
- {exa_py-1.1.0 → exa_py-1.1.1}/exa_py/py.typed +0 -0
- {exa_py-1.1.0 → exa_py-1.1.1}/exa_py/utils.py +0 -0
- {exa_py-1.1.0 → exa_py-1.1.1}/exa_py.egg-info/SOURCES.txt +0 -0
- {exa_py-1.1.0 → exa_py-1.1.1}/exa_py.egg-info/dependency_links.txt +0 -0
- {exa_py-1.1.0 → exa_py-1.1.1}/exa_py.egg-info/requires.txt +0 -0
- {exa_py-1.1.0 → exa_py-1.1.1}/exa_py.egg-info/top_level.txt +0 -0
- {exa_py-1.1.0 → exa_py-1.1.1}/pyproject.toml +0 -0
- {exa_py-1.1.0 → exa_py-1.1.1}/setup.cfg +0 -0
|
@@ -415,11 +415,13 @@ class SearchResponse(Generic[T]):
|
|
|
415
415
|
Attributes:
|
|
416
416
|
results (List[Result]): A list of search results.
|
|
417
417
|
autoprompt_string (str, optional): The Exa query created by the autoprompt functionality.
|
|
418
|
+
auto_date (str, optional): The date the autoprompt determines for filtering results to the ones you want.
|
|
418
419
|
resolved_search_type (str, optional): What "auto" search resolved to. "neural" or "keyword".
|
|
419
420
|
"""
|
|
420
421
|
|
|
421
422
|
results: List[T]
|
|
422
423
|
autoprompt_string: Optional[str]
|
|
424
|
+
auto_date: Optional[str]
|
|
423
425
|
resolved_search_type: Optional[str]
|
|
424
426
|
|
|
425
427
|
def __str__(self):
|
|
@@ -526,6 +528,7 @@ class Exa:
|
|
|
526
528
|
return SearchResponse(
|
|
527
529
|
[Result(**to_snake_case(result)) for result in data["results"]],
|
|
528
530
|
data["autopromptString"] if "autopromptString" in data else None,
|
|
531
|
+
data["autoDate"] if "autoDate" in data else None,
|
|
529
532
|
data["resolvedSearchType"] if "resolvedSearchType" in data else None,
|
|
530
533
|
)
|
|
531
534
|
|
|
@@ -742,6 +745,7 @@ class Exa:
|
|
|
742
745
|
return SearchResponse(
|
|
743
746
|
[Result(**to_snake_case(result)) for result in data["results"]],
|
|
744
747
|
data["autopromptString"] if "autopromptString" in data else None,
|
|
748
|
+
data["autoDate"] if "autoDate" in data else None,
|
|
745
749
|
data["resolvedSearchType"] if "resolvedSearchType" in data else None,
|
|
746
750
|
)
|
|
747
751
|
|
|
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
|