mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
adding Serply as an alternative web search
This commit is contained in:
parent
efb4a710c8
commit
4dcec4855e
1 changed files with 6 additions and 0 deletions
|
|
@ -852,6 +852,12 @@ SERPER_API_KEY = PersistentConfig(
|
||||||
os.getenv("SERPER_API_KEY", ""),
|
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 = PersistentConfig(
|
||||||
"RAG_WEB_SEARCH_RESULT_COUNT",
|
"RAG_WEB_SEARCH_RESULT_COUNT",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue