Spaces:
Runtime error
Runtime error
Commit
·
2c8328c
1
Parent(s):
64a7bf5
update prompt
Browse files
app.py
CHANGED
@@ -999,7 +999,7 @@ When it is necessary to use tools and you must use the following format to outpu
|
|
999 |
Thought: you should always think about what to do and consider previous and subsequent steps
|
1000 |
Action:
|
1001 |
```
|
1002 |
-
{
|
1003 |
```
|
1004 |
Observation: the result of the action.
|
1005 |
|
@@ -1011,7 +1011,7 @@ If **Thought**, **Action** is missing in the response of using tools, you must r
|
|
1011 |
Thought: I know what to respond
|
1012 |
Action:
|
1013 |
```
|
1014 |
-
{
|
1015 |
```
|
1016 |
|
1017 |
If **Thought**, **Action** is missing in the response of using tools, you must re-write the response.
|
|
|
999 |
Thought: you should always think about what to do and consider previous and subsequent steps
|
1000 |
Action:
|
1001 |
```
|
1002 |
+
{{'action': $TOOL_NAME,'action_input': "the input to the action"}}
|
1003 |
```
|
1004 |
Observation: the result of the action.
|
1005 |
|
|
|
1011 |
Thought: I know what to respond
|
1012 |
Action:
|
1013 |
```
|
1014 |
+
{{'action': "Final Answer", 'action_input': "Final response to human"}}
|
1015 |
```
|
1016 |
|
1017 |
If **Thought**, **Action** is missing in the response of using tools, you must re-write the response.
|