From 4dcec4855eb66ef3a4c4adc7b2fa31da21fd3c3c Mon Sep 17 00:00:00 2001 From: teampen <136991215+teampen@users.noreply.github.com> Date: Sun, 9 Jun 2024 21:39:46 -0400 Subject: [PATCH] adding Serply as an alternative web search --- backend/config.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/backend/config.py b/backend/config.py index dd3bc9e4b..098de3b5a 100644 --- a/backend/config.py +++ b/backend/config.py @@ -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",