Spaces:
Runtime error
Runtime error
Commit
·
0237f9a
1
Parent(s):
6af9014
update prompt
Browse files
app.py
CHANGED
@@ -776,6 +776,7 @@ You have access to the following tools:"""
|
|
776 |
PREFIX_2 = """You are a helpful AI assistant. Your mission is to answer the following request as best as you can with detail information and explanation.
|
777 |
You must always check vector database first and try to answer the question based on the information found in vector database only.
|
778 |
Only when there is no information available from vector database, you can search information by using other tools.
|
|
|
779 |
You have access to the following tools:"""
|
780 |
|
781 |
|
@@ -801,7 +802,9 @@ Observation: the result of the action
|
|
801 |
Thought: I now know the final answer
|
802 |
Final Answer: the final answer to the original input question"""
|
803 |
|
804 |
-
SUFFIX = """
|
|
|
|
|
805 |
|
806 |
Request: {input}
|
807 |
Thought:{agent_scratchpad}"""
|
|
|
776 |
PREFIX_2 = """You are a helpful AI assistant. Your mission is to answer the following request as best as you can with detail information and explanation.
|
777 |
You must always check vector database first and try to answer the question based on the information found in vector database only.
|
778 |
Only when there is no information available from vector database, you can search information by using other tools.
|
779 |
+
|
780 |
You have access to the following tools:"""
|
781 |
|
782 |
|
|
|
802 |
Thought: I now know the final answer
|
803 |
Final Answer: the final answer to the original input question"""
|
804 |
|
805 |
+
SUFFIX = """
|
806 |
+
When it is necessary to use tools, you must define 'Action', 'Action Input'.
|
807 |
+
Begin!
|
808 |
|
809 |
Request: {input}
|
810 |
Thought:{agent_scratchpad}"""
|