OuroborosM commited on
Commit
057fa56
·
1 Parent(s): 651a9e5

update prompt

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -1000,12 +1000,13 @@ Thought: you should always think about what to do and consider previous and subs
1000
  Action:
1001
  ```
1002
  {
1003
- "action": the action to take, should be one of [Vector Database Search, Duckduckgo Internet Search, Wikipedia Search, Code Runner, Calculator, Text To Sound API 2].
1004
- "action_input": the input to the action.
1005
  }
1006
  ```
1007
  Observation: the result of the action.
1008
  '''
 
1009
  If **Thought**, **Action** is missing in the response of using tools, you must re-write the response.\n
1010
 
1011
  ---\n When you are able to provide final answer, you must use the following format to output "Thought", "Action" (json blob):\n\
@@ -1014,7 +1015,7 @@ Action:
1014
  ```
1015
  {
1016
  "action": "Final Answer",
1017
- "action_input": Final response to human
1018
  }
1019
  ```
1020
  If **Thought**, **Action** is missing in the response of using tools, you must re-write the response.\n
 
1000
  Action:
1001
  ```
1002
  {
1003
+ "action": $TOOL_NAME,
1004
+ "action_input": "the input to the action"
1005
  }
1006
  ```
1007
  Observation: the result of the action.
1008
  '''
1009
+ $TOOL_NAME should be one of [{tool_names}]
1010
  If **Thought**, **Action** is missing in the response of using tools, you must re-write the response.\n
1011
 
1012
  ---\n When you are able to provide final answer, you must use the following format to output "Thought", "Action" (json blob):\n\
 
1015
  ```
1016
  {
1017
  "action": "Final Answer",
1018
+ "action_input": "Final response to human"
1019
  }
1020
  ```
1021
  If **Thought**, **Action** is missing in the response of using tools, you must re-write the response.\n