From d5e762d32861313fc01b68f6c31fe09ba845c169 Mon Sep 17 00:00:00 2001 From: zhaozhiming Date: Thu, 12 Oct 2023 05:05:53 +0800 Subject: [PATCH] fix: Change the docs of JSONAgentOutputParser (#11594) I am merely making some minor adjustments to the function documentation. I hope to provide a small assistance to LangChain. - **Description:** Change the docs of JSONAgentOutputParser. It will be `JSON` better, - **Issue:** no, - **Dependencies:** no, - **Tag maintainer:** @hwchase17, - **Twitter handle:** Not worth mentioning. --- libs/langchain/langchain/agents/output_parsers/json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/langchain/langchain/agents/output_parsers/json.py b/libs/langchain/langchain/agents/output_parsers/json.py index 6d8eba2cc9..c237cc819d 100644 --- a/libs/langchain/langchain/agents/output_parsers/json.py +++ b/libs/langchain/langchain/agents/output_parsers/json.py @@ -11,7 +11,7 @@ logger = logging.getLogger(__name__) class JSONAgentOutputParser(AgentOutputParser): - """Parses tool invocations and final answers in XML format. + """Parses tool invocations and final answers in JSON format. Expects output to be in one of two formats.