tavily-python 0.7.18__tar.gz → 0.7.19__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.
Files changed (23) hide show
  1. {tavily_python-0.7.18 → tavily_python-0.7.19}/PKG-INFO +1 -1
  2. {tavily_python-0.7.18 → tavily_python-0.7.19}/setup.py +1 -1
  3. {tavily_python-0.7.18 → tavily_python-0.7.19}/tavily/async_tavily.py +4 -4
  4. {tavily_python-0.7.18 → tavily_python-0.7.19}/tavily/tavily.py +5 -3
  5. {tavily_python-0.7.18 → tavily_python-0.7.19}/tavily_python.egg-info/PKG-INFO +1 -1
  6. {tavily_python-0.7.18 → tavily_python-0.7.19}/LICENSE +0 -0
  7. {tavily_python-0.7.18 → tavily_python-0.7.19}/README.md +0 -0
  8. {tavily_python-0.7.18 → tavily_python-0.7.19}/setup.cfg +0 -0
  9. {tavily_python-0.7.18 → tavily_python-0.7.19}/tavily/__init__.py +0 -0
  10. {tavily_python-0.7.18 → tavily_python-0.7.19}/tavily/config.py +0 -0
  11. {tavily_python-0.7.18 → tavily_python-0.7.19}/tavily/errors.py +0 -0
  12. {tavily_python-0.7.18 → tavily_python-0.7.19}/tavily/hybrid_rag/__init__.py +0 -0
  13. {tavily_python-0.7.18 → tavily_python-0.7.19}/tavily/hybrid_rag/hybrid_rag.py +0 -0
  14. {tavily_python-0.7.18 → tavily_python-0.7.19}/tavily/utils.py +0 -0
  15. {tavily_python-0.7.18 → tavily_python-0.7.19}/tavily_python.egg-info/SOURCES.txt +0 -0
  16. {tavily_python-0.7.18 → tavily_python-0.7.19}/tavily_python.egg-info/dependency_links.txt +0 -0
  17. {tavily_python-0.7.18 → tavily_python-0.7.19}/tavily_python.egg-info/requires.txt +0 -0
  18. {tavily_python-0.7.18 → tavily_python-0.7.19}/tavily_python.egg-info/top_level.txt +0 -0
  19. {tavily_python-0.7.18 → tavily_python-0.7.19}/tests/test_crawl.py +0 -0
  20. {tavily_python-0.7.18 → tavily_python-0.7.19}/tests/test_errors.py +0 -0
  21. {tavily_python-0.7.18 → tavily_python-0.7.19}/tests/test_map.py +0 -0
  22. {tavily_python-0.7.18 → tavily_python-0.7.19}/tests/test_research.py +0 -0
  23. {tavily_python-0.7.18 → tavily_python-0.7.19}/tests/test_search.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tavily-python
3
- Version: 0.7.18
3
+ Version: 0.7.19
4
4
  Summary: Python wrapper for the Tavily API
5
5
  Home-page: https://github.com/tavily-ai/tavily-python
6
6
  Author: Tavily AI
@@ -5,7 +5,7 @@ with open('README.md', 'r', encoding='utf-8') as f:
5
5
 
6
6
  setup(
7
7
  name='tavily-python',
8
- version='0.7.18',
8
+ version='0.7.19',
9
9
  url='https://github.com/tavily-ai/tavily-python',
10
10
  author='Tavily AI',
11
11
  author_email='support@tavily.com',
@@ -157,7 +157,7 @@ class AsyncTavilyClient:
157
157
  **kwargs, # Accept custom arguments
158
158
  ) -> dict:
159
159
  """
160
- Combined search method. Set search_depth to either "basic" or "advanced".
160
+ Combined search method. Set search_depth to either "basic", "advanced", "fast", or "ultra-fast".
161
161
  """
162
162
  timeout = min(timeout, 120)
163
163
  response_dict = await self._search(query,
@@ -508,7 +508,7 @@ class AsyncTavilyClient:
508
508
 
509
509
  async def get_search_context(self,
510
510
  query: str,
511
- search_depth: Literal["basic", "advanced"] = "basic",
511
+ search_depth: Literal["basic", "advanced", "fast", "ultra-fast"] = "basic",
512
512
  topic: Literal["general", "news", "finance"] = "general",
513
513
  days: int = 7,
514
514
  max_results: int = 5,
@@ -550,7 +550,7 @@ class AsyncTavilyClient:
550
550
 
551
551
  async def qna_search(self,
552
552
  query: str,
553
- search_depth: Literal["basic", "advanced"] = "advanced",
553
+ search_depth: Literal["basic", "advanced", "fast", "ultra-fast"] = "advanced",
554
554
  topic: Literal["general", "news", "finance"] = "general",
555
555
  days: int = 7,
556
556
  max_results: int = 5,
@@ -584,7 +584,7 @@ class AsyncTavilyClient:
584
584
 
585
585
  async def get_company_info(self,
586
586
  query: str,
587
- search_depth: Literal["basic", "advanced"] = "advanced",
587
+ search_depth: Literal["basic", "advanced", "fast", "ultra-fast"] = "advanced",
588
588
  max_results: int = 5,
589
589
  timeout: float = 60,
590
590
  country: str = None,
@@ -485,7 +485,7 @@ class TavilyClient:
485
485
 
486
486
  def get_search_context(self,
487
487
  query: str,
488
- search_depth: Literal["basic", "advanced"] = "basic",
488
+ search_depth: Literal["basic", "advanced", "fast", "ultra-fast"] = "basic",
489
489
  topic: Literal["general", "news", "finance"] = "general",
490
490
  days: int = 7,
491
491
  max_results: int = 5,
@@ -530,7 +530,7 @@ class TavilyClient:
530
530
 
531
531
  def qna_search(self,
532
532
  query: str,
533
- search_depth: Literal["basic", "advanced"] = "advanced",
533
+ search_depth: Literal["basic", "advanced", "fast", "ultra-fast"] = "advanced",
534
534
  topic: Literal["general", "news", "finance"] = "general",
535
535
  days: int = 7,
536
536
  max_results: int = 5,
@@ -566,7 +566,9 @@ class TavilyClient:
566
566
  def get_company_info(self,
567
567
  query: str,
568
568
  search_depth: Literal["basic",
569
- "advanced"] = "advanced",
569
+ "advanced",
570
+ "fast",
571
+ "ultra-fast"] = "advanced",
570
572
  max_results: int = 5,
571
573
  timeout: float = 60,
572
574
  country: str = None,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tavily-python
3
- Version: 0.7.18
3
+ Version: 0.7.19
4
4
  Summary: Python wrapper for the Tavily API
5
5
  Home-page: https://github.com/tavily-ai/tavily-python
6
6
  Author: Tavily AI
File without changes
File without changes
File without changes