MariaFilipkowska commited on
Commit
7b79cf3
·
verified ·
1 Parent(s): b31dee3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -173,8 +173,9 @@ system_prompt = SystemMessage(
173
  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. \
174
  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. \
175
  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.\
176
- 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. \
177
  If there is a file attached, open the file and read it. \
 
 
178
  If there is a code, execute it. \
179
  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 (one or two words only, without full stop at the end) or a comma-separated list (without full stops at the end), nothing else. "
180
  )
 
173
  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. \
174
  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. \
175
  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.\
 
176
  If there is a file attached, open the file and read it. \
177
+ If you don't have enough references to answer, use your tools, search the web, run your code or convert data to a data frame, whatever helps. \
178
+ 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. \
179
  If there is a code, execute it. \
180
  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 (one or two words only, without full stop at the end) or a comma-separated list (without full stops at the end), nothing else. "
181
  )