OuroborosM commited on
Commit
62af4e7
·
1 Parent(s): 38fd0ef
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -996,7 +996,7 @@ Example of final answer:\n\
996
  FORMAT_INSTRUCTIONS_STRUC = """
997
 
998
  Use a json blob to specify a tool by providing an action key (tool name) and an action_input key (tool input).\n\nValid \"action\" values: \"Final Answer\" or Vector Database Search, Duckduckgo Internet Search, Wikipedia Search, Code Runner, Calculator, Text To Sound API 2\n
999
- Provide only ONE action per $JSON_BLOB, as shown:\n\n```\n{\n \"action\": $TOOL_NAME,\n \"action_input\": $INPUT\n}\n```
1000
 
1001
 
1002
  When it is necessary to use tools and you must use the following format to output "Thought", "Action" (json blob):\n
@@ -1005,7 +1005,7 @@ Thought: you should always think about what to do and consider previous and subs
1005
  Action:
1006
  ```
1007
  {
1008
- "action": "should be one of Vector Database Search, Duckduckgo Internet Search, Wikipedia Search, Code Runner, Calculator, Text To Sound API 2"
1009
  "action_input": "the input to the action"
1010
  }
1011
  ```
 
996
  FORMAT_INSTRUCTIONS_STRUC = """
997
 
998
  Use a json blob to specify a tool by providing an action key (tool name) and an action_input key (tool input).\n\nValid \"action\" values: \"Final Answer\" or Vector Database Search, Duckduckgo Internet Search, Wikipedia Search, Code Runner, Calculator, Text To Sound API 2\n
999
+ Provide only ONE action per $JSON_BLOB, as shown:\n\n```\n{\n \"action1\": $TOOL_NAME,\n \"action_input\": $INPUT\n}\n```
1000
 
1001
 
1002
  When it is necessary to use tools and you must use the following format to output "Thought", "Action" (json blob):\n
 
1005
  Action:
1006
  ```
1007
  {
1008
+ "action2": "should be one of Vector Database Search, Duckduckgo Internet Search, Wikipedia Search, Code Runner, Calculator, Text To Sound API 2"
1009
  "action_input": "the input to the action"
1010
  }
1011
  ```