Spaces:
Sleeping
Sleeping
Update prompts.yaml
Browse filesdev: Distance calculation prompt and tool instructions
- prompts.yaml +17 -0
prompts.yaml
CHANGED
|
@@ -120,6 +120,23 @@
|
|
| 120 |
final_answer("Shanghai")
|
| 121 |
```<end_code>
|
| 122 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 123 |
---
|
| 124 |
Task: "What is the current age of the pope, raised to the power 0.36?"
|
| 125 |
|
|
|
|
| 120 |
final_answer("Shanghai")
|
| 121 |
```<end_code>
|
| 122 |
|
| 123 |
+
---
|
| 124 |
+
Task: "what's the distance in kilometers between New York, NY and Los Angeles, CA"
|
| 125 |
+
|
| 126 |
+
Thought: I need to get the distance between the New York, NY and Los Angeles, CA : I will use the tool `get_distance_between_two_locations_in_km` to get the distance.
|
| 127 |
+
Code:
|
| 128 |
+
```py
|
| 129 |
+
print(f"the distance between {"New York, NY"} and {"Los Angeles, CA"} is {get_distance_between_two_locations_in_km("New York, NY", "Los Angeles, CA")}")
|
| 130 |
+
```<end_code>
|
| 131 |
+
Observation:
|
| 132 |
+
The distance between the New York, NY and Los Angeles, CA : 3944.275348966509
|
| 133 |
+
|
| 134 |
+
Thought: Now I know that he distance between the New York, NY and Los Angeles, CA is 3944.275348966509.
|
| 135 |
+
Code:
|
| 136 |
+
```py
|
| 137 |
+
final_answer("The distance between the New York, NY and Los Angeles, CA : 3944.275348966509")
|
| 138 |
+
```<end_code>
|
| 139 |
+
|
| 140 |
---
|
| 141 |
Task: "What is the current age of the pope, raised to the power 0.36?"
|
| 142 |
|