cjb97 commited on
Commit
3eb452f
·
1 Parent(s): 3cb5638

updated weather response data

Browse files
Files changed (2) hide show
  1. prompts.yaml +3 -1
  2. tools/weather.py +1 -1
prompts.yaml CHANGED
@@ -26,7 +26,9 @@ system: |
26
  2. Use tools when appropriate
27
  3. Provide helpful, accurate, and concise responses
28
  4. Always use the final_answer tool when you're ready to give your final response
29
-
 
 
30
  user: |
31
  {{query}}
32
 
 
26
  2. Use tools when appropriate
27
  3. Provide helpful, accurate, and concise responses
28
  4. Always use the final_answer tool when you're ready to give your final response
29
+ 5. If you need to use a tool multiple times, you can do so by calling the tool multiple times.
30
+ 6. Responses to questions about the weather should be in the form of a weather report.
31
+ 7. Units should be in imperial units.
32
  user: |
33
  {{query}}
34
 
tools/weather.py CHANGED
@@ -13,7 +13,7 @@ class WeatherTool(Tool):
13
  inputs = {
14
  "location": {
15
  "type": "string",
16
- "description": "A string representing a city or location (e.g., 'New York', 'Paris, France')."
17
  }
18
  }
19
 
 
13
  inputs = {
14
  "location": {
15
  "type": "string",
16
+ "description": "A string representing a city (e.g., 'New York', 'Paris')."
17
  }
18
  }
19