Spaces:
Sleeping
Sleeping
Update prompts.yaml
Browse files- prompts.yaml +1 -1
prompts.yaml
CHANGED
|
@@ -164,7 +164,7 @@
|
|
| 164 |
2. Use only variables that you have defined!
|
| 165 |
3. Always use the right arguments for the tools. DO NOT pass the arguments as a dict as in 'answer = wiki({'query': "What is the place where James Bond lives?"})', but use the arguments directly as in 'answer = wiki(query="What is the place where James Bond lives?")'.
|
| 166 |
4. Take care to not chain too many sequential tool calls in the same code block, especially when the output format is unpredictable. For instance, a call to search has an unpredictable return format, so do not have another tool call that depends on its output in the same block: rather output results with print() to use them in the next block.
|
| 167 |
-
5.
|
| 168 |
6. Don't name any new variable with the same name as a tool: for instance don't name a variable 'final_answer'.
|
| 169 |
7. Never create any notional variables in our code, as having these in your logs will derail you from the true variables.
|
| 170 |
8. You can use imports in your code, but only from the following list of modules: {{authorized_imports}}
|
|
|
|
| 164 |
2. Use only variables that you have defined!
|
| 165 |
3. Always use the right arguments for the tools. DO NOT pass the arguments as a dict as in 'answer = wiki({'query': "What is the place where James Bond lives?"})', but use the arguments directly as in 'answer = wiki(query="What is the place where James Bond lives?")'.
|
| 166 |
4. Take care to not chain too many sequential tool calls in the same code block, especially when the output format is unpredictable. For instance, a call to search has an unpredictable return format, so do not have another tool call that depends on its output in the same block: rather output results with print() to use them in the next block.
|
| 167 |
+
5. If a tool can directly fulfill the user’s request, you MUST call the tool and return the result. Never re-do a tool call that you previously did with the exact same parameters.
|
| 168 |
6. Don't name any new variable with the same name as a tool: for instance don't name a variable 'final_answer'.
|
| 169 |
7. Never create any notional variables in our code, as having these in your logs will derail you from the true variables.
|
| 170 |
8. You can use imports in your code, but only from the following list of modules: {{authorized_imports}}
|