From d8ae925425986348fff9e60853ac246fd767a59e Mon Sep 17 00:00:00 2001 From: Andrew Grangaard Date: Thu, 8 Jun 2023 22:49:11 -0700 Subject: [PATCH] arxiv: Correct name of search client attribute to 'arxiv_search' from incorrect 'arxiv_client' (#5917) + this private attribute is referenced as `arxiv_search` in internal usage and is set when verifying the environment twitter: @spazm #### Who can review? Any of @hwchase17, @leo-gan, or @bongsang might be interested in reviewing. + Mismatch between `arxiv_client` attribute vs `arxiv_search` in validation and usage is present in the initial commit by @hwchase17. + @leo-gan has made most of the edits. + @bongsang implemented pdf download. --- langchain/utilities/arxiv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/langchain/utilities/arxiv.py b/langchain/utilities/arxiv.py index ce0c3f9a..1c114813 100644 --- a/langchain/utilities/arxiv.py +++ b/langchain/utilities/arxiv.py @@ -32,7 +32,7 @@ class ArxivAPIWrapper(BaseModel): """ - arxiv_client: Any #: :meta private: + arxiv_search: Any #: :meta private: arxiv_exceptions: Any # :meta private: top_k_results: int = 3 ARXIV_MAX_QUERY_LENGTH = 300