riokorb commited on
Commit
9995c82
·
verified ·
1 Parent(s): a90da51

Update prompts.yaml

Browse files
Files changed (1) hide show
  1. prompts.yaml +24 -6
prompts.yaml CHANGED
@@ -141,12 +141,30 @@
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.
 
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: convert_units
147
+ description: |
148
+ Converts between common units (length, weight, temperature).
149
+ Args:
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"
162
+ assistant_final: "100 F = 37.78 C"
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.