Spaces:
Sleeping
Sleeping
Commit
·
b57c693
1
Parent(s):
c0b248d
prompt change
Browse files
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 |
-
|
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 |
-
|
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 |
-
|
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 |
"""
|