From e65503bfe9620b2904783166208a5fb4e487ef56 Mon Sep 17 00:00:00 2001 From: gulixin0922 Date: Mon, 15 Jul 2024 15:40:54 +0800 Subject: [PATCH] {{{{ to {{ --- .../bisheng_langchain/gpts/prompts/react_agent_prompt.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bisheng-langchain/bisheng_langchain/gpts/prompts/react_agent_prompt.py b/src/bisheng-langchain/bisheng_langchain/gpts/prompts/react_agent_prompt.py index 75c609e5a..e6d7c36b1 100644 --- a/src/bisheng-langchain/bisheng_langchain/gpts/prompts/react_agent_prompt.py +++ b/src/bisheng-langchain/bisheng_langchain/gpts/prompts/react_agent_prompt.py @@ -23,10 +23,10 @@ Provide only ONE action per $JSON_BLOB, as shown: ``` -{{{{ +{{ "action": $TOOL_NAME, "action_input": $INPUT -}}}} +}} ``` Follow this format: @@ -42,10 +42,10 @@ Thought: I know what to respond Action: ``` -{{{{ +{{ "action": "Final Answer", "action_input": "Final response to human" -}}}} +}} Begin! Reminder to ALWAYS respond with a valid json blob of a single action. Use tools if necessary. Respond directly if appropriate. Format is Action:```$JSON_BLOB```then Observation """