fix knowledge single retrieve when function call response is none

This commit is contained in:
jyong 2024-03-19 20:08:16 +08:00
parent 6e600bc0dc
commit 45017f3f35

View File

@ -20,10 +20,10 @@ Valid "action" values: "Final Answer" or {tool_names}
Provide only ONE action per $JSON_BLOB, as shown: Provide only ONE action per $JSON_BLOB, as shown:
``` ```
{{{{ {{
"action": $TOOL_NAME, "action": $TOOL_NAME,
"action_input": $INPUT "action_input": $INPUT
}}}} }}
``` ```
Follow this format: Follow this format:
@ -39,10 +39,10 @@ Observation: action result
Thought: I know what to respond Thought: I know what to respond
Action: Action:
``` ```
{{{{ {{
"action": "Final Answer", "action": "Final Answer",
"action_input": "Final response to human" "action_input": "Final response to human"
}}}} }}
```""" ```"""