exa-py 1.14.9__tar.gz → 1.14.12__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.

Files changed (43) hide show
  1. {exa_py-1.14.9 → exa_py-1.14.12}/PKG-INFO +3 -3
  2. {exa_py-1.14.9 → exa_py-1.14.12}/README.md +2 -2
  3. {exa_py-1.14.9 → exa_py-1.14.12}/exa_py/api.py +391 -143
  4. {exa_py-1.14.9 → exa_py-1.14.12}/exa_py/research/client.py +18 -4
  5. {exa_py-1.14.9 → exa_py-1.14.12}/exa_py/utils.py +2 -2
  6. {exa_py-1.14.9 → exa_py-1.14.12}/exa_py/websets/__init__.py +2 -0
  7. {exa_py-1.14.9 → exa_py-1.14.12}/exa_py/websets/client.py +2 -0
  8. exa_py-1.14.12/exa_py/websets/events/__init__.py +3 -0
  9. exa_py-1.14.12/exa_py/websets/events/client.py +106 -0
  10. {exa_py-1.14.9 → exa_py-1.14.12}/exa_py/websets/types.py +31 -15
  11. {exa_py-1.14.9 → exa_py-1.14.12}/exa_py.egg-info/PKG-INFO +3 -3
  12. {exa_py-1.14.9 → exa_py-1.14.12}/exa_py.egg-info/SOURCES.txt +3 -0
  13. {exa_py-1.14.9 → exa_py-1.14.12}/pyproject.toml +1 -1
  14. {exa_py-1.14.9 → exa_py-1.14.12}/setup.py +1 -1
  15. exa_py-1.14.12/tests/test_websets_events.py +416 -0
  16. {exa_py-1.14.9 → exa_py-1.14.12}/exa_py/__init__.py +0 -0
  17. {exa_py-1.14.9 → exa_py-1.14.12}/exa_py/py.typed +0 -0
  18. {exa_py-1.14.9 → exa_py-1.14.12}/exa_py/research/__init__.py +0 -0
  19. {exa_py-1.14.9 → exa_py-1.14.12}/exa_py/research/models.py +0 -0
  20. {exa_py-1.14.9 → exa_py-1.14.12}/exa_py/websets/core/__init__.py +0 -0
  21. {exa_py-1.14.9 → exa_py-1.14.12}/exa_py/websets/core/base.py +0 -0
  22. {exa_py-1.14.9 → exa_py-1.14.12}/exa_py/websets/enrichments/__init__.py +0 -0
  23. {exa_py-1.14.9 → exa_py-1.14.12}/exa_py/websets/enrichments/client.py +0 -0
  24. {exa_py-1.14.9 → exa_py-1.14.12}/exa_py/websets/imports/__init__.py +0 -0
  25. {exa_py-1.14.9 → exa_py-1.14.12}/exa_py/websets/imports/client.py +0 -0
  26. {exa_py-1.14.9 → exa_py-1.14.12}/exa_py/websets/items/__init__.py +0 -0
  27. {exa_py-1.14.9 → exa_py-1.14.12}/exa_py/websets/items/client.py +0 -0
  28. {exa_py-1.14.9 → exa_py-1.14.12}/exa_py/websets/monitors/__init__.py +0 -0
  29. {exa_py-1.14.9 → exa_py-1.14.12}/exa_py/websets/monitors/client.py +0 -0
  30. {exa_py-1.14.9 → exa_py-1.14.12}/exa_py/websets/monitors/runs/__init__.py +0 -0
  31. {exa_py-1.14.9 → exa_py-1.14.12}/exa_py/websets/monitors/runs/client.py +0 -0
  32. {exa_py-1.14.9 → exa_py-1.14.12}/exa_py/websets/searches/__init__.py +0 -0
  33. {exa_py-1.14.9 → exa_py-1.14.12}/exa_py/websets/searches/client.py +0 -0
  34. {exa_py-1.14.9 → exa_py-1.14.12}/exa_py/websets/webhooks/__init__.py +0 -0
  35. {exa_py-1.14.9 → exa_py-1.14.12}/exa_py/websets/webhooks/client.py +0 -0
  36. {exa_py-1.14.9 → exa_py-1.14.12}/exa_py.egg-info/dependency_links.txt +0 -0
  37. {exa_py-1.14.9 → exa_py-1.14.12}/exa_py.egg-info/requires.txt +0 -0
  38. {exa_py-1.14.9 → exa_py-1.14.12}/exa_py.egg-info/top_level.txt +0 -0
  39. {exa_py-1.14.9 → exa_py-1.14.12}/setup.cfg +0 -0
  40. {exa_py-1.14.9 → exa_py-1.14.12}/tests/test_search_api.py +0 -0
  41. {exa_py-1.14.9 → exa_py-1.14.12}/tests/test_websets.py +0 -0
  42. {exa_py-1.14.9 → exa_py-1.14.12}/tests/test_websets_imports.py +0 -0
  43. {exa_py-1.14.9 → exa_py-1.14.12}/tests/test_websets_monitors.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: exa-py
3
- Version: 1.14.9
3
+ Version: 1.14.12
4
4
  Summary: Python SDK for Exa API.
5
5
  Home-page: https://github.com/exa-labs/exa-py
6
6
  Author: Exa
@@ -81,8 +81,8 @@ exa = Exa(api_key="your-api-key")
81
81
  # basic answer
82
82
  response = exa.answer("This is a query to answer a question")
83
83
 
84
- # answer with full text, using the exa-pro model (sends 2 expanded quries to exa search)
85
- response = exa.answer("This is a query to answer a question", text=True, model="exa-pro")
84
+ # answer with full text
85
+ response = exa.answer("This is a query to answer a question", text=True)
86
86
 
87
87
  # answer with streaming
88
88
  response = exa.stream_answer("This is a query to answer:")
@@ -63,8 +63,8 @@ exa = Exa(api_key="your-api-key")
63
63
  # basic answer
64
64
  response = exa.answer("This is a query to answer a question")
65
65
 
66
- # answer with full text, using the exa-pro model (sends 2 expanded quries to exa search)
67
- response = exa.answer("This is a query to answer a question", text=True, model="exa-pro")
66
+ # answer with full text
67
+ response = exa.answer("This is a query to answer a question", text=True)
68
68
 
69
69
  # answer with streaming
70
70
  response = exa.stream_answer("This is a query to answer:")