dygoo commited on
Commit
7119427
·
verified ·
1 Parent(s): d09b9c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -274,13 +274,13 @@ class BasicAgent:
274
  Relevant information: {relevant_info}
275
 
276
  Instructions:
277
- 1. Read the question and think about what you need to answer it. Stick to 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.
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.
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
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
  """
286
 
 
274
  Relevant information: {relevant_info}
275
 
276
  Instructions:
277
+ 1. Read the question and think about what you need to answer it. Stick to the question. If you need search results, use the search results. If not, just answer the question directly and ignore the search results.
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 beginning. If the backwards text turns out to be an instruction, just follow the instruction and provide a direct 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.
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.
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
  """
286