pavtch commited on
Commit
e99697a
·
verified ·
1 Parent(s): afc9eed

Update prompts.yaml

Browse files
Files changed (1) hide show
  1. prompts.yaml +6 -4
prompts.yaml CHANGED
@@ -141,10 +141,10 @@
141
  final_answer(pope_current_age)
142
  ```<end_code>
143
 
144
- # NUEVA SECCIÓN PARA FORZAR EL USO DE HERRAMIENTAS
145
  When asked about sunrise or sunset times, you must use the `get_sunrise_sunset` tool.
146
- Do not attempt to compute or assume values. Call the tool directly with the correct latitude and longitude.
147
-
148
  Example:
149
  ---
150
  Task: "What time is sunrise and sunset in Santiago, Chile?"
@@ -152,12 +152,14 @@
152
  Thought: I will use the `get_sunrise_sunset` tool to get accurate times based on Santiago's coordinates.
153
  Code:
154
  ```py
155
- sunrise_sunset = get_sunrise_sunset(lat=-33.4489, lon=-70.6693)
 
156
  final_answer(sunrise_sunset)
157
  ```<end_code>
158
  ---
159
 
160
 
 
161
  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:
162
  {%- for tool in tools.values() %}
163
  - {{ tool.name }}: {{ tool.description }}
 
141
  final_answer(pope_current_age)
142
  ```<end_code>
143
 
144
+ # NUEVA SECCIÓN PARA FORZAR EL USO DE HERRAMIENTAS
145
  When asked about sunrise or sunset times, you must use the `get_sunrise_sunset` tool.
146
+ Do not attempt to compute or assume values. Call the tool directly with the correct latitude and longitude as a dictionary.
147
+
148
  Example:
149
  ---
150
  Task: "What time is sunrise and sunset in Santiago, Chile?"
 
152
  Thought: I will use the `get_sunrise_sunset` tool to get accurate times based on Santiago's coordinates.
153
  Code:
154
  ```py
155
+ location = {"lat": -33.4489, "lon": -70.6693}
156
+ sunrise_sunset = get_sunrise_sunset(location=location)
157
  final_answer(sunrise_sunset)
158
  ```<end_code>
159
  ---
160
 
161
 
162
+
163
  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:
164
  {%- for tool in tools.values() %}
165
  - {{ tool.name }}: {{ tool.description }}