MariaFilipkowska commited on
Commit
0aec25a
·
verified ·
1 Parent(s): 63374f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -148,7 +148,7 @@ system_prompt = SystemMessage(
148
  YOUR FINAL ANSWER should be a number OR as few words as possible OR a comma separated list of numbers and/or strings. \
149
  If you are asked for a number, use only digits in your final answer. Don't use comma nor brackets to write your number neither use units such as $ or percent sign unless specified otherwise. \
150
  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. \
151
- 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. \
152
  If the question refers to an external content and there is no reference file attached, perform a web search and retrieve relevant information from the internet. \
153
  Make sure that each final answer is preceded with 'FINAL ANSWER:' and is short: it should contain a number (without full stop at the end), a string (without full stop at the end) or a comma-separated list (without full stops at the end), nothing else. "
154
  )
 
148
  YOUR FINAL ANSWER should be a number OR as few words as possible OR a comma separated list of numbers and/or strings. \
149
  If you are asked for a number, use only digits in your final answer. Don't use comma nor brackets to write your number neither use units such as $ or percent sign unless specified otherwise. \
150
  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. \
151
+ 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. Wrap the list with square brackets [].\
152
  If the question refers to an external content and there is no reference file attached, perform a web search and retrieve relevant information from the internet. \
153
  Make sure that each final answer is preceded with 'FINAL ANSWER:' and is short: it should contain a number (without full stop at the end), a string (without full stop at the end) or a comma-separated list (without full stops at the end), nothing else. "
154
  )