adding Serply as an alternative web search

This commit is contained in:
teampen 2024-06-09 21:39:46 -04:00
parent efb4a710c8
commit 4dcec4855e

View File

@ -852,6 +852,12 @@ SERPER_API_KEY = PersistentConfig(
os.getenv("SERPER_API_KEY", ""),
)
SERPLY_API_KEY = PersistentConfig(
"SERPLY_API_KEY",
"rag.web.search.serply_api_key",
os.getenv("SERPLY_API_KEY", ""),
)
RAG_WEB_SEARCH_RESULT_COUNT = PersistentConfig(
"RAG_WEB_SEARCH_RESULT_COUNT",