Procházet zdrojové kódy

fix: continue with failures when bulk loading urls with WebBaseLoader

Jun Siang Cheah před 1 rokem
rodič
revize
9ed1a31575
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      backend/apps/rag/main.py

+ 1 - 0
backend/apps/rag/main.py

@@ -584,6 +584,7 @@ def get_web_loader(url: Union[str, Sequence[str]], verify_ssl: bool = True):
         url,
         verify_ssl=verify_ssl,
         requests_per_second=RAG_WEB_SEARCH_CONCURRENT_REQUESTS,
+        continue_on_failure=True,
     )