Spaces:
Runtime error
Runtime error
Commit
·
aa17e73
1
Parent(s):
45db887
update prompt
Browse files
app.py
CHANGED
@@ -806,7 +806,8 @@ Observation: the result of the action
|
|
806 |
Thought: I now know the final answer
|
807 |
Final Answer: the final answer to the original input question"""
|
808 |
|
809 |
-
FORMAT_INSTRUCTIONS_3 = """To use a tool,
|
|
|
810 |
'''
|
811 |
Thought: you should always think about what to do
|
812 |
Action: the action to take, should be one of [{tool_names}]
|
@@ -821,10 +822,7 @@ Final Answer: the final answer to the original input question
|
|
821 |
'''
|
822 |
"""
|
823 |
|
824 |
-
|
825 |
-
|
826 |
SUFFIX = """
|
827 |
-
When it is necessary to use tools, you must define 'Action', 'Action Input'.
|
828 |
Begin!
|
829 |
|
830 |
Request: {input}
|
|
|
806 |
Thought: I now know the final answer
|
807 |
Final Answer: the final answer to the original input question"""
|
808 |
|
809 |
+
FORMAT_INSTRUCTIONS_3 = """To use a tool, you must define 'Action' and 'Action Input'.
|
810 |
+
please use the following format:
|
811 |
'''
|
812 |
Thought: you should always think about what to do
|
813 |
Action: the action to take, should be one of [{tool_names}]
|
|
|
822 |
'''
|
823 |
"""
|
824 |
|
|
|
|
|
825 |
SUFFIX = """
|
|
|
826 |
Begin!
|
827 |
|
828 |
Request: {input}
|