exa-py 1.1.2__py3-none-any.whl → 1.1.3__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 exa-py might be problematic. Click here for more details.

exa_py/api.py CHANGED
@@ -418,8 +418,8 @@ class SearchResponse(Generic[T]):
418
418
 
419
419
  results: List[T]
420
420
  autoprompt_string: Optional[str]
421
- auto_date: Optional[str]
422
421
  resolved_search_type: Optional[str]
422
+ auto_date: Optional[str]
423
423
 
424
424
  def __str__(self):
425
425
  output = "\n\n".join(str(result) for result in self.results)
@@ -525,8 +525,8 @@ class Exa:
525
525
  return SearchResponse(
526
526
  [Result(**to_snake_case(result)) for result in data["results"]],
527
527
  data["autopromptString"] if "autopromptString" in data else None,
528
- data["autoDate"] if "autoDate" in data else None,
529
528
  data["resolvedSearchType"] if "resolvedSearchType" in data else None,
529
+ data["autoDate"] if "autoDate" in data else None,
530
530
  )
531
531
 
532
532
  @overload
@@ -860,6 +860,7 @@ class Exa:
860
860
  [Result(**to_snake_case(result)) for result in data["results"]],
861
861
  data["autopromptString"] if "autopromptString" in data else None,
862
862
  data["resolvedSearchType"] if "resolvedSearchType" in data else None,
863
+ data["autoDate"] if "autoDate" in data else None,
863
864
  )
864
865
 
865
866
  def find_similar(
@@ -886,6 +887,7 @@ class Exa:
886
887
  [Result(**to_snake_case(result)) for result in data["results"]],
887
888
  data["autopromptString"] if "autopromptString" in data else None,
888
889
  data["resolvedSearchType"] if "resolvedSearchType" in data else None,
890
+ data["autoDate"] if "autoDate" in data else None,
889
891
  )
890
892
 
891
893
  @overload
@@ -1094,6 +1096,7 @@ class Exa:
1094
1096
  [Result(**to_snake_case(result)) for result in data["results"]],
1095
1097
  data["autopromptString"] if "autopromptString" in data else None,
1096
1098
  data["resolvedSearchType"] if "resolvedSearchType" in data else None,
1099
+ data["autoDate"] if "autoDate" in data else None,
1097
1100
  )
1098
1101
 
1099
1102
  def wrap(self, client: OpenAI):
@@ -1,10 +1,12 @@
1
1
  Metadata-Version: 2.1
2
- Name: exa_py
3
- Version: 1.1.2
2
+ Name: exa-py
3
+ Version: 1.1.3
4
4
  Summary: Python SDK for Exa API.
5
5
  Home-page: https://github.com/exa-labs/exa-py
6
6
  Author: Exa
7
7
  Author-email: hello@exa.ai
8
+ License: UNKNOWN
9
+ Platform: UNKNOWN
8
10
  Classifier: Development Status :: 5 - Production/Stable
9
11
  Classifier: Intended Audience :: Developers
10
12
  Classifier: License :: OSI Approved :: MIT License
@@ -17,7 +19,7 @@ Classifier: Programming Language :: Python :: 3.12
17
19
  Description-Content-Type: text/markdown
18
20
  Requires-Dist: requests
19
21
  Requires-Dist: typing-extensions
20
- Requires-Dist: openai >=1.10.0
22
+ Requires-Dist: openai (>=1.10.0)
21
23
 
22
24
  # Exa
23
25
 
@@ -92,3 +94,5 @@ exa = Exa(api_key="your-api-key")
92
94
  highlights={"highlights_per_url": 2, "num_sentences": 1, "query": "This is the highlight query:"})
93
95
  ```
94
96
 
97
+
98
+
@@ -0,0 +1,8 @@
1
+ exa_py/__init__.py,sha256=aVF1zB_UV3dagJ5Vn2WrdcInzibdIW61M89sjwRCU_g,29
2
+ exa_py/api.py,sha256=auZfxixpSzGBho9_aHaHgrHcS7sn7AyOH0ND8QdnUUU,46317
3
+ exa_py/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ exa_py/utils.py,sha256=Rc1FJjoR9LQ7L_OJM91Sd1GNkbHjcLyEvJENhRix6gc,2405
5
+ exa_py-1.1.3.dist-info/METADATA,sha256=R2C_akMy980p00y3Pp_Qhgt3KwtEVNfOoO1mCoMxl_g,3069
6
+ exa_py-1.1.3.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
7
+ exa_py-1.1.3.dist-info/top_level.txt,sha256=Mfkmscdw9HWR1PtVhU1gAiVo6DHu_tyiVdb89gfZBVI,7
8
+ exa_py-1.1.3.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (74.0.0)
2
+ Generator: bdist_wheel (0.37.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,8 +0,0 @@
1
- exa_py/__init__.py,sha256=aVF1zB_UV3dagJ5Vn2WrdcInzibdIW61M89sjwRCU_g,29
2
- exa_py/api.py,sha256=C8uSx-61Eh24uYG9mnbpPl01E4DrL70uWPYdxKzLC1Q,46131
3
- exa_py/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- exa_py/utils.py,sha256=Rc1FJjoR9LQ7L_OJM91Sd1GNkbHjcLyEvJENhRix6gc,2405
5
- exa_py-1.1.2.dist-info/METADATA,sha256=2-2f5wyMaXGat8D5Woz9eAgj1KwaZ6_UNFYIMyodmgI,3030
6
- exa_py-1.1.2.dist-info/WHEEL,sha256=UvcQYKBHoFqaQd6LKyqHw9fxEolWLQnlzP0h_LgJAfI,91
7
- exa_py-1.1.2.dist-info/top_level.txt,sha256=Mfkmscdw9HWR1PtVhU1gAiVo6DHu_tyiVdb89gfZBVI,7
8
- exa_py-1.1.2.dist-info/RECORD,,