Update veryfinal.py
Browse files- veryfinal.py +7 -7
veryfinal.py
CHANGED
@@ -23,13 +23,13 @@ load_dotenv()
|
|
23 |
|
24 |
# Enhanced system prompt for question-answering tasks
|
25 |
ENHANCED_SYSTEM_PROMPT = (
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
)
|
34 |
|
35 |
# ---- Tool Definitions with Enhanced Docstrings ----
|
|
|
23 |
|
24 |
# Enhanced system prompt for question-answering tasks
|
25 |
ENHANCED_SYSTEM_PROMPT = (
|
26 |
+
'''You are a helpful assistant tasked with answering questions using a set of tools.
|
27 |
+
You must provide accurate, comprehensive answers based on available information.
|
28 |
+
When answering questions, follow these guidelines:\n
|
29 |
+
1)You are a helpful assistant tasked with answering questions using a set of tools.
|
30 |
+
2)Now, I will ask you a question. Report your thoughts, and finish your answer with the following template: FINAL ANSWER: [YOUR FINAL ANSWER].
|
31 |
+
3)YOUR FINAL ANSWER should be a number OR as few words as possible OR a comma separated list of numbers and/or strings. 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. 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. 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.
|
32 |
+
4)Your answer should only start with "FINAL ANSWER: ", then follows with the answer.'''
|
33 |
)
|
34 |
|
35 |
# ---- Tool Definitions with Enhanced Docstrings ----
|