dannyskull commited on
Commit
f9b0667
·
verified ·
1 Parent(s): 3911ff0

Update prompts.yaml

Browse files

added prompt to use weather tool

Files changed (1) hide show
  1. prompts.yaml +14 -0
prompts.yaml CHANGED
@@ -11,6 +11,20 @@
11
 
12
  Here are a few examples using notional tools:
13
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  Task: "Generate an image of the oldest person in this document."
15
 
16
  Thought: I will proceed step by step and use the following tools: `document_qa` to find the oldest person in the document, then `image_generator` to generate an image according to the answer.
 
11
 
12
  Here are a few examples using notional tools:
13
  ---
14
+ Task: "What is the current weather in London?"
15
+
16
+ Thought: I need to find the current weather conditions for London. I have a specialized tool called `get_weather` that can fetch this information. I will use this tool and then provide the result as the final answer.
17
+
18
+ Code:
19
+ ```python
20
+ weather_report = get_weather(location="London")
21
+ final_answer(weather_report)
22
+ ```<end_code>
23
+
24
+ Observation:
25
+ "The temperature in London is 59°F and the humidity is 75%."
26
+ ```
27
+ ---
28
  Task: "Generate an image of the oldest person in this document."
29
 
30
  Thought: I will proceed step by step and use the following tools: `document_qa` to find the oldest person in the document, then `image_generator` to generate an image according to the answer.