refac: web search settings

This commit is contained in:
Timothy J. Baek committed 2024-06-01 19:40:48 -07:00
1 parent ea6b8984ab
commit 912a704fdc
5 files changed
+300 -86

No files matched your search

+5
View File
@@ -773,6 +773,11 @@ ENABLE_RAG_WEB_SEARCH = PersistentConfig(
os.getenv("ENABLE_RAG_WEB_SEARCH", "False").lower() == "true",
)
RAG_WEB_SEARCH_ENGINE = PersistentConfig(
"RAG_WEB_SEARCH_ENGINE",
"rag.web.search.engine",
os.getenv("RAG_WEB_SEARCH_ENGINE", ""),
)
SEARXNG_QUERY_URL = PersistentConfig(
"SEARXNG_QUERY_URL",