ameen-shaik commited on
Commit
ece8605
·
verified ·
1 Parent(s): 583b3c7

Update prompts.yaml

Browse files

updated 'CityTemparatureTool'

Files changed (1) hide show
  1. prompts.yaml +9 -10
prompts.yaml CHANGED
@@ -141,19 +141,18 @@
141
  final_answer(pope_current_age)
142
  ```<end_code>
143
 
144
- Task: "Get the current temperature for a given city using the CityTemperatureTool."
145
-
146
- Thought: >
147
- I will call the `CityTemperatureTool` to get the current temperature in Fahrenheit.
148
- This tool uses the Open-Meteo API, first geocoding the city to coordinates and then fetching the current temperature.
149
- It returns the temperature as a string, for example '72°F'.
150
-
151
- Code: |
152
  city_name = "Columbus"
153
  temperature = CityTemperatureTool(city=city_name)
154
  print(f"The current temperature in {city_name} is {temperature}.")
155
-
156
- Observation: "The current temperature in Columbus is 72°F."
157
 
158
  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:
159
  {%- for tool in tools.values() %}
 
141
  final_answer(pope_current_age)
142
  ```<end_code>
143
 
144
+ ---
145
+ Task: "Get the current temperature for a given city using the CityTemperatureTool."
146
+
147
+ Thought: I will call the `CityTemperatureTool` to get the current temperature in Fahrenheit. This tool uses the Open-Meteo API, first geocoding the city to coordinates and then fetching the current temperature. It returns the temperature as a string, for example '72°F'.
148
+
149
+ Code:
150
+ ```py
 
151
  city_name = "Columbus"
152
  temperature = CityTemperatureTool(city=city_name)
153
  print(f"The current temperature in {city_name} is {temperature}.")
154
+ ```<end_code>
155
+ Observation: "The current temperature in Columbus is 72°F."
156
 
157
  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:
158
  {%- for tool in tools.values() %}