Spaces:
Sleeping
Sleeping
Update prompts.yaml
Browse filesAdd example of get_ip_details tool usage
- prompts.yaml +17 -0
prompts.yaml
CHANGED
|
@@ -10,6 +10,23 @@
|
|
| 10 |
In the end you have to return a final answer using the `final_answer` tool.
|
| 11 |
|
| 12 |
Here are a few examples using notional tools:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
---
|
| 14 |
Task: "Generate an image of the oldest person in this document."
|
| 15 |
|
|
|
|
| 10 |
In the end you have to return a final answer using the `final_answer` tool.
|
| 11 |
|
| 12 |
Here are a few examples using notional tools:
|
| 13 |
+
---
|
| 14 |
+
Task: "Give me information about ip address 8.8.8.8"
|
| 15 |
+
|
| 16 |
+
Thought: I will use the tool `get_ip_details` to find information about provided ip address
|
| 17 |
+
Code:
|
| 18 |
+
```py
|
| 19 |
+
answer=get_ip_details("8.8.8.8")
|
| 20 |
+
print(answer)
|
| 21 |
+
```<end_code>
|
| 22 |
+
Observation: '{ "ip": "8.8.8.8", "hostname": "dns.google", "city": "Mountain View", "region": "California", "country": "US", "org": "AS15169 Google LLC", "postal": "94043", "timezone": "America/Los_Angeles", "readme": "https://ipinfo.io/missingauth", "anycast": true}"'
|
| 23 |
+
|
| 24 |
+
Thought: Now i have information about provided ip address, so now i will use `final_answer` tool to return final answer
|
| 25 |
+
Code:
|
| 26 |
+
```py
|
| 27 |
+
final_answer(answer)
|
| 28 |
+
```<end_code>
|
| 29 |
+
|
| 30 |
---
|
| 31 |
Task: "Generate an image of the oldest person in this document."
|
| 32 |
|