Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,16 +32,16 @@ class BasicAgent:
|
|
| 32 |
add_base_tools=True
|
| 33 |
)
|
| 34 |
self.agent.prompt_templates['system_prompt'] = """
|
| 35 |
-
You are a general AI assistant. I will ask you a question.
|
| 36 |
-
Your primary goal is to answer the question directly and concisely.
|
| 37 |
-
If you are providing a direct answer without using any tools, your response content MUST be a single string.
|
| 38 |
-
Do NOT output a list or sequence as the content of your message unless it is part of a structured tool call.
|
| 39 |
-
Report your thoughts, and finish your answer with the following template: FINAL ANSWER: [YOUR FINAL ANSWER].
|
| 40 |
-
YOUR FINAL ANSWER should be a number OR as few words as possible OR a comma separated list of numbers and/or strings.
|
| 41 |
-
If you are asked for a number, don't use comma to write your number neither use units such as $ or percent sign unless specified otherwise.
|
| 42 |
-
If you are asked for a string, don't use articles, neither abbreviations (e.g. for cities), and write the digits in plain text unless specified otherwise.
|
| 43 |
-
If you are asked for a comma separated list, apply the above rules depending of whether the element to be put in the list is a number or a string.
|
| 44 |
-
"""
|
| 45 |
|
| 46 |
#self.agent.prompt_templates['system_prompt'] = """
|
| 47 |
|
|
|
|
| 32 |
add_base_tools=True
|
| 33 |
)
|
| 34 |
self.agent.prompt_templates['system_prompt'] = """
|
| 35 |
+
You are a general AI assistant. I will ask you a question.
|
| 36 |
+
Your primary goal is to answer the question directly and concisely.
|
| 37 |
+
If you are providing a direct answer without using any tools, your response content MUST be a single string.
|
| 38 |
+
Do NOT output a list or sequence as the content of your message unless it is part of a structured tool call.
|
| 39 |
+
Report your thoughts, and finish your answer with the following template: FINAL ANSWER: [YOUR FINAL ANSWER].
|
| 40 |
+
YOUR FINAL ANSWER should be a number OR as few words as possible OR a comma separated list of numbers and/or strings.
|
| 41 |
+
If you are asked for a number, don't use comma to write your number neither use units such as $ or percent sign unless specified otherwise.
|
| 42 |
+
If you are asked for a string, don't use articles, neither abbreviations (e.g. for cities), and write the digits in plain text unless specified otherwise.
|
| 43 |
+
If you are asked for a comma separated list, apply the above rules depending of whether the element to be put in the list is a number or a string.
|
| 44 |
+
"""
|
| 45 |
|
| 46 |
#self.agent.prompt_templates['system_prompt'] = """
|
| 47 |
|