Spaces:
Runtime error
Runtime error
Commit
·
3fd8a2e
1
Parent(s):
6c18d15
ftype
Browse files
app.py
CHANGED
|
@@ -993,14 +993,14 @@ Example of final answer:\n\
|
|
| 993 |
```\n
|
| 994 |
"""
|
| 995 |
|
| 996 |
-
FORMAT_INSTRUCTIONS_STRUC = """
|
| 997 |
When it is necessary to use tools and you must use the following format to output "Thought", "Action" (json blob):\n
|
| 998 |
|
| 999 |
Thought: you should always think about what to do and consider previous and subsequent steps
|
| 1000 |
Action:
|
| 1001 |
```
|
| 1002 |
{{
|
| 1003 |
-
"action": should be one of
|
| 1004 |
"action_input": "the input to the action"
|
| 1005 |
}}
|
| 1006 |
```
|
|
|
|
| 993 |
```\n
|
| 994 |
"""
|
| 995 |
|
| 996 |
+
FORMAT_INSTRUCTIONS_STRUC = f"""
|
| 997 |
When it is necessary to use tools and you must use the following format to output "Thought", "Action" (json blob):\n
|
| 998 |
|
| 999 |
Thought: you should always think about what to do and consider previous and subsequent steps
|
| 1000 |
Action:
|
| 1001 |
```
|
| 1002 |
{{
|
| 1003 |
+
"action": "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 |
```
|