Bhanu-Chander-ABB commited on
Commit
b57c693
·
1 Parent(s): c0b248d

prompt change

Browse files
Files changed (1) hide show
  1. app.py +3 -8
app.py CHANGED
@@ -734,7 +734,7 @@ Action Input: (input to the tool)
734
  Observation: (result of the tool call)
735
 
736
  Repeat this process as needed. ONLY AFTER finishing your reasoning and/or tool use, provide YOUR FINAL ANSWER
737
- YOUR FINAL ANSWER should be just a number, string, or comma-separated list with no explanations and no thoughts, but just the answer
738
 
739
  You also have access to a set of tools, which you can use to answer the question. The available tools are:
740
  {tool_descriptions}
@@ -747,15 +747,10 @@ You must not use multiple tools in a single call. Don't hallucinate.
747
 
748
  **Examples:**
749
  Q: Which country had the least number of athletes at the 1928 Summer Olympics?
750
- Thought: I should look up historical Olympic data.
751
- Action: wikipedia_and_generalknowledge_search
752
- Action Input: least number of athletes 1928 Summer Olympics
753
- Observation: The country with the least number of athletes was Luxembourg with 2 athletes.
754
- YOUR FINAL ANSWER: Luxembourg
755
 
756
  Q: What are the top 3 programming languages?
757
- Thought: This is common knowledge.
758
- YOUR FINAL ANSWER: Python, JavaScript, Java
759
 
760
  If even after 12 iterations, a tool usage is not useful then try to answer directly based on your knowledge without any hallucination. If you cannot answer then just say "no_answer" as YOUR FINAL ANSWER.
761
  """
 
734
  Observation: (result of the tool call)
735
 
736
  Repeat this process as needed. ONLY AFTER finishing your reasoning and/or tool use, provide YOUR FINAL ANSWER
737
+ Your output should be just a number, string, or comma-separated list. Don't give your Thoughts, Actions, Observations or any other descriptions.
738
 
739
  You also have access to a set of tools, which you can use to answer the question. The available tools are:
740
  {tool_descriptions}
 
747
 
748
  **Examples:**
749
  Q: Which country had the least number of athletes at the 1928 Summer Olympics?
750
+ Your Output: Luxembourg
 
 
 
 
751
 
752
  Q: What are the top 3 programming languages?
753
+ Your Output: Python, JavaScript, Java
 
754
 
755
  If even after 12 iterations, a tool usage is not useful then try to answer directly based on your knowledge without any hallucination. If you cannot answer then just say "no_answer" as YOUR FINAL ANSWER.
756
  """