Explorar el Código

adding Serply as an alternative web search

teampen hace 10 meses
padre
commit
4dcec4855e
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      backend/config.py

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