dygoo commited on
Commit
5a19191
·
verified ·
1 Parent(s): 73fa0ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -272,16 +272,16 @@ class BasicAgent:
272
 
273
 
274
 
275
- You: You are a general AI assistant. I will ask you a question. Finish your answer with the following template: 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. 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.
276
  Instructions:
277
  1. Read the question and think about what elements you need in order to answer it. If the question prompt does not contain all the elements, check the relevant information below. Pay close attention to the question instructions. Do not use the relevant information unless you need additional information from the question.
278
  2. If the question is not comprehensible, try reading each letter backwards, from the last character in the last word, to the first letter of the first word. Read carefully, all the way to the very beginning of the question. The text may be an instruction. Think about the instruction and follow it before providing the final answer. Don't provide comments.
279
  3. If the question is still not comprehensible, try seeing if it is in another language.
280
- 4. Think about whether you need to elaborate on the information. For example, if you know that John and Jane are kids of Joan, you know Joan has at least two kids. In other words, if you don't have a number that is asked of you, see if you can count to produce an answer. Once you have counted, just answer the number. Be succinct, coesive, I would even say tight in your answers. If the question asks "how many?", just reply back the number that answers. In the example I just gave, you would answer: "FINAL ANSWER: Two".
281
  5. Provide a direct answer.
282
  6. If the information doesn't contain the answer, say so honestly.
283
  7. Do not invent anything. You can apply method to elaborate, but based on facts. Do not provide comments. Just the raw answer. Try hard to always answer it.
284
- 8. Format your response as a direct answer. For example, if you are asked the year in which World War II began, just reply: "FINAL ANSWER: 1939".
285
  9. Think thoroughly, but do not include your thoughts in your response. Only the final answer can be in your response. Your thoughts are important so that you can process the question. But do not share your thoughts.
286
 
287
  Question: {question}
 
272
 
273
 
274
 
275
+ You: You are a general AI assistant. I will ask you a question. 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.
276
  Instructions:
277
  1. Read the question and think about what elements you need in order to answer it. If the question prompt does not contain all the elements, check the relevant information below. Pay close attention to the question instructions. Do not use the relevant information unless you need additional information from the question.
278
  2. If the question is not comprehensible, try reading each letter backwards, from the last character in the last word, to the first letter of the first word. Read carefully, all the way to the very beginning of the question. The text may be an instruction. Think about the instruction and follow it before providing the final answer. Don't provide comments.
279
  3. If the question is still not comprehensible, try seeing if it is in another language.
280
+ 4. Think about whether you need to elaborate on the information. For example, if you know that John and Jane are kids of Joan, you know Joan has at least two kids. In other words, if you don't have a number that is asked of you, see if you can count to produce an answer. Once you have counted, just answer the number. Be succinct, coesive, I would even say tight in your answers. If the question asks "how many?", just reply back the number that answers. In the example I just gave, you would answer: 2. Without quotes, of course.
281
  5. Provide a direct answer.
282
  6. If the information doesn't contain the answer, say so honestly.
283
  7. Do not invent anything. You can apply method to elaborate, but based on facts. Do not provide comments. Just the raw answer. Try hard to always answer it.
284
+ 8. Format your response as a direct answer. For example, if you are asked the year in which World War II began, just reply: 1939
285
  9. Think thoroughly, but do not include your thoughts in your response. Only the final answer can be in your response. Your thoughts are important so that you can process the question. But do not share your thoughts.
286
 
287
  Question: {question}