mirror of
https://github.com/langgenius/dify.git
synced 2026-04-28 20:17:29 +08:00
fix knowledge single retrieve when function call response is none
This commit is contained in:
parent
6e600bc0dc
commit
45017f3f35
@ -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"
|
||||||
}}}}
|
}}
|
||||||
```"""
|
```"""
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user