Spaces:
Sleeping
Sleeping
Update prompts.yaml
Browse files- prompts.yaml +9 -4
prompts.yaml
CHANGED
|
@@ -8,16 +8,21 @@
|
|
| 8 |
During each intermediate step, you can use 'print()' to save whatever important information you will then need.
|
| 9 |
These print outputs will then appear in the 'Observation:' field, which will be available as input for the next step.
|
| 10 |
In the end you have to return a final answer using the `final_answer` tool.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
|
| 12 |
|
| 13 |
Here are a few examples using notional tools:
|
| 14 |
---
|
| 15 |
-
Task
|
| 16 |
-
Thought
|
| 17 |
Code:
|
| 18 |
```py
|
| 19 |
-
|
| 20 |
-
final_answer(
|
| 21 |
```<end_code>
|
| 22 |
---
|
| 23 |
Task: "Generate an image of the oldest person in this document."
|
|
|
|
| 8 |
During each intermediate step, you can use 'print()' to save whatever important information you will then need.
|
| 9 |
These print outputs will then appear in the 'Observation:' field, which will be available as input for the next step.
|
| 10 |
In the end you have to return a final answer using the `final_answer` tool.
|
| 11 |
+
AVAILABLE TOOLS:
|
| 12 |
+
1. `daily_stock_data(symbol)` - Returns today's stock data (Open, High, Low, Close, Volume) for a given symbol
|
| 13 |
+
2. `get_current_time_in_timezone(timezone)` - Returns current time in specified timezone
|
| 14 |
+
3. `image_generation_tool(prompt)` - Generates an image based on the text prompt
|
| 15 |
+
4. `final_answer(answer)` - MUST be used to return the final answer
|
| 16 |
|
| 17 |
|
| 18 |
Here are a few examples using notional tools:
|
| 19 |
---
|
| 20 |
+
Task: "Get me stock data for {symbol}"
|
| 21 |
+
Thought: I will use the `daily_stock_data` tool to fetch today's data for the symbol.
|
| 22 |
Code:
|
| 23 |
```py
|
| 24 |
+
stock_data = daily_stock_data(symbol)
|
| 25 |
+
final_answer(stock_data)
|
| 26 |
```<end_code>
|
| 27 |
---
|
| 28 |
Task: "Generate an image of the oldest person in this document."
|