docs: Add missing args in api doc of WebResearchRetriever (#25949)

Add missing args in api doc of `WebResearchRetriever`
This commit is contained in:
ZhangShenao
2024-09-03 16:24:23 +08:00
committed by GitHub
parent da113f6363
commit 8d784db107

View File

@@ -135,6 +135,8 @@ class WebResearchRetriever(BaseRetriever):
text_splitter: Text splitter for splitting web pages into chunks
trust_env: Whether to use the http_proxy/https_proxy env variables
or check .netrc for proxy configuration
allow_dangerous_requests: A flag to force users to acknowledge
the risks of SSRF attacks when using this retriever
Returns:
WebResearchRetriever