Spaces:
Sleeping
Sleeping
Update prompts.yaml
Browse files- prompts.yaml +6 -24
prompts.yaml
CHANGED
@@ -141,30 +141,12 @@
|
|
141 |
final_answer(pope_current_age)
|
142 |
```<end_code>
|
143 |
|
144 |
-
Above example were using notional tools that might not exist for you. On top of performing computations in the Python code snippets that you create, you only have access to these tools:
|
145 |
-
tools
|
146 |
-
- name:
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
value (float): the number to convert
|
151 |
-
from_unit (str): the original unit (e.g., "km", "kg", "c", "f")
|
152 |
-
to_unit (str): the target unit (e.g., "miles", "lb", "f", "c")
|
153 |
-
Returns:
|
154 |
-
A string like "100 F = 37.78 C".
|
155 |
-
example:
|
156 |
-
user: "Convert 100 F to C"
|
157 |
-
assistant: |
|
158 |
-
```tool
|
159 |
-
convert_units(value=100, from_unit="F", to_unit="C")
|
160 |
-
```
|
161 |
-
tool_result: "100 F = 37.78 C" # Quoted string with no % or special char
|
162 |
-
assistant_final: "100 F = 37.78 C" # Quoted string, ensures safe YAML parsing
|
163 |
-
{%- for tool in tools.values() %}
|
164 |
-
- {{ tool.name }}: {{ tool.description }}
|
165 |
-
Takes inputs: {{tool.inputs}}
|
166 |
-
Returns an output of type: {{tool.output_type}}
|
167 |
-
{%- endfor %}
|
168 |
|
169 |
{%- if managed_agents and managed_agents.values() | list %}
|
170 |
You can also give tasks to team members.
|
|
|
141 |
final_answer(pope_current_age)
|
142 |
```<end_code>
|
143 |
|
144 |
+
Above example were using notional tools that might not exist for you. On top of performing computations in the Python code snippets that you create, you only have access to these tools:
|
145 |
+
{%- for tool in tools.values() %}
|
146 |
+
- {{ tool.name }}: {{ tool.description }}
|
147 |
+
Takes inputs: {{tool.inputs}}
|
148 |
+
Returns an output of type: {{tool.output_type}}
|
149 |
+
{%- endfor %}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
150 |
|
151 |
{%- if managed_agents and managed_agents.values() | list %}
|
152 |
You can also give tasks to team members.
|