Merge pull request #3177 from Yash-1511/main

feat: add tavily web search in web search provider
This commit is contained in:
Timothy Jaeryang Baek
2024-06-14 11:09:59 -07:00
committed by GitHub
5 changed files with 82 additions and 3 deletions

View File

@@ -943,6 +943,11 @@ SERPLY_API_KEY = PersistentConfig(
os.getenv("SERPLY_API_KEY", ""),
)
TAVILY_API_KEY = PersistentConfig(
"TAVILY_API_KEY",
"rag.web.search.tavily_api_key",
os.getenv("TAVILY_API_KEY", ""),
)
RAG_WEB_SEARCH_RESULT_COUNT = PersistentConfig(
"RAG_WEB_SEARCH_RESULT_COUNT",