Spaces:
Sleeping
Sleeping
Luigi D'Addona
commited on
Commit
·
999722d
1
Parent(s):
c747388
modificate istruzioni generali dell'agent
Browse files
agent.py
CHANGED
|
@@ -66,11 +66,22 @@ TOOLS_CALL_DELAY = 1.5
|
|
| 66 |
# 7. Present the final result clearly and concisely."""
|
| 67 |
|
| 68 |
# V4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 69 |
GENERAL_AGENT_INSTRUCTIONS = """
|
| 70 |
You are a general AI assistant. Your purpose is to answer questions and complete tasks accurately and concisely.
|
| 71 |
You have access to various tools to help you gather information and perform actions.
|
| 72 |
-
|
| 73 |
-
Fo instance, if the question mentions Wikpedia, use the wikpedia tool.
|
| 74 |
Your answer should be a number OR as few words as possible OR a comma separated list of numbers and/or strings.
|
| 75 |
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.
|
| 76 |
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.
|
|
|
|
| 66 |
# 7. Present the final result clearly and concisely."""
|
| 67 |
|
| 68 |
# V4
|
| 69 |
+
# GENERAL_AGENT_INSTRUCTIONS = """
|
| 70 |
+
# You are a general AI assistant. Your purpose is to answer questions and complete tasks accurately and concisely.
|
| 71 |
+
# You have access to various tools to help you gather information and perform actions.
|
| 72 |
+
# Always prioritize using your tools to find factual information if a question requires it.
|
| 73 |
+
# Fo instance, if the question mentions Wikpedia, use the wikpedia tool.
|
| 74 |
+
# Your answer should be a number OR as few words as possible OR a comma separated list of numbers and/or strings.
|
| 75 |
+
# 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.
|
| 76 |
+
# 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.
|
| 77 |
+
# 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.
|
| 78 |
+
# Provide only the answer, without notes, explanations or comments."""
|
| 79 |
+
|
| 80 |
+
# V5
|
| 81 |
GENERAL_AGENT_INSTRUCTIONS = """
|
| 82 |
You are a general AI assistant. Your purpose is to answer questions and complete tasks accurately and concisely.
|
| 83 |
You have access to various tools to help you gather information and perform actions.
|
| 84 |
+
Analyze the question and plan the necessary steps to get the answer.
|
|
|
|
| 85 |
Your answer should be a number OR as few words as possible OR a comma separated list of numbers and/or strings.
|
| 86 |
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.
|
| 87 |
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.
|