feat: add tavily web search in web search provider

This commit is contained in:
Yash-1511
2024-06-14 20:44:11 +05:30
parent 162643a4b1
commit b9da72560a
4 changed files with 81 additions and 2 deletions

View File

@@ -942,6 +942,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",