From 8d784db107fc3d7728c9966087d0fe5d120c6291 Mon Sep 17 00:00:00 2001 From: ZhangShenao <15201440436@163.com> Date: Tue, 3 Sep 2024 16:24:23 +0800 Subject: [PATCH] docs: Add missing args in api doc of `WebResearchRetriever` (#25949) Add missing args in api doc of `WebResearchRetriever` --- libs/community/langchain_community/retrievers/web_research.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/community/langchain_community/retrievers/web_research.py b/libs/community/langchain_community/retrievers/web_research.py index 8df4801392..8dfadb49cf 100644 --- a/libs/community/langchain_community/retrievers/web_research.py +++ b/libs/community/langchain_community/retrievers/web_research.py @@ -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