Change prompt to reply only with final answer
Browse files
app.py
CHANGED
|
@@ -60,7 +60,11 @@ class BasicAgent:
|
|
| 60 |
# A single string containing the info from the web or a fallback message.
|
| 61 |
# """
|
| 62 |
sys_msg = SystemMessage(
|
| 63 |
-
content=f"""
|
|
|
|
|
|
|
|
|
|
|
|
|
| 64 |
)
|
| 65 |
|
| 66 |
state = State(
|
|
|
|
| 60 |
# A single string containing the info from the web or a fallback message.
|
| 61 |
# """
|
| 62 |
sys_msg = SystemMessage(
|
| 63 |
+
content=f"""
|
| 64 |
+
You are a general AI assistant. I will ask you a question.
|
| 65 |
+
Your final answer should be a number OR as few words as possible OR a comma separated list of numbers and/or strings.
|
| 66 |
+
Please, reply with the answer and nothing else!
|
| 67 |
+
"""
|
| 68 |
)
|
| 69 |
|
| 70 |
state = State(
|