Bhanu-Chander-ABB commited on
Commit
91279e0
·
1 Parent(s): 0b83ba2

prompt change

Browse files
Files changed (1) hide show
  1. app.py +12 -2
app.py CHANGED
@@ -705,8 +705,18 @@ Observation: the result of the action
705
  Final Answer: the answer to the original question, as concise as possible (number, short string, or comma-separated list, no extra explanation).
706
 
707
  Rules for YOUR FINAL ANSWER:
708
- If the questions is about 'how many' or 'how many times' or 'how many years' or 'how many people' or 'how many items' or 'how many albums' or 'how many songs' (basically needing quantitative reply), then YOUR FINAL ANSWER should be a number.
709
- If the question is about 'what', 'who', 'where', 'when', 'which', 'why', 'how' or similar, then YOUR FINAL ANSWER should be a short string or a comma separated list of strings.
 
 
 
 
 
 
 
 
 
 
710
 
711
  You also have access to a set of tools, which you can use to answer the question. The available tools with their descriptions are:
712
  {tool_descriptions}
 
705
  Final Answer: the answer to the original question, as concise as possible (number, short string, or comma-separated list, no extra explanation).
706
 
707
  Rules for YOUR FINAL ANSWER:
708
+ - If the questions is about 'how many' or 'how many times' or 'how many years' or 'how many people' or 'how many items' or 'how many albums' or 'how many songs' (basically needing quantitative reply), then YOUR FINAL ANSWER should just be a number.
709
+ - If the question is about 'what', 'who', 'where', 'when', 'which', 'why', 'how' or similar, then YOUR FINAL ANSWER should be a short string or a comma separated list of strings.
710
+
711
+ **Examples:**
712
+ Q: Which country had the least number of athletes at the 1928 Summer Olympics?
713
+ Final Answer: Luxembourg (LUX)
714
+
715
+ Q: How many albums did the band release?
716
+ Final Answer: 5
717
+
718
+ Q: List the top 3 programming languages.
719
+ Final Answer: Python, JavaScript, Java
720
 
721
  You also have access to a set of tools, which you can use to answer the question. The available tools with their descriptions are:
722
  {tool_descriptions}