Update app.py
Browse files
app.py
CHANGED
|
@@ -95,7 +95,7 @@ class BasicAgent:
|
|
| 95 |
"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. "
|
| 96 |
"Again, if you are asked for a city name, never use abbreviations and give the full name of the country, city, etc. No exception. 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. "
|
| 97 |
"Always report your thoughts and finish your answer with the following template: "
|
| 98 |
-
"FINAL ANSWER: [YOUR FINAL ANSWER]. YOUR FINAL ANSWER should be a number OR as few words as possible OR a comma separated list of numbers and/or strings. "
|
| 99 |
f"Here are the questions and the attached file path (may be 'None', hence it means no attached file for this question) : 'question :', {question}, 'file path : ' {file_name}"
|
| 100 |
)
|
| 101 |
answer = self.alfred.run(prompt)
|
|
|
|
| 95 |
"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. "
|
| 96 |
"Again, if you are asked for a city name, never use abbreviations and give the full name of the country, city, etc. No exception. 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. "
|
| 97 |
"Always report your thoughts and finish your answer with the following template: "
|
| 98 |
+
"FINAL ANSWER: [YOUR FINAL ANSWER]. YOUR FINAL ANSWER should be a number OR as few words as possible OR a comma separated list of numbers and/or strings. Again, if the answer asks for the decimals, you must add them, even if they are zeros. However, give only the numbers and the decimals needed, no units : no $ symbol for example. "
|
| 99 |
f"Here are the questions and the attached file path (may be 'None', hence it means no attached file for this question) : 'question :', {question}, 'file path : ' {file_name}"
|
| 100 |
)
|
| 101 |
answer = self.alfred.run(prompt)
|