Spaces:
Sleeping
Sleeping
Update prompts.yaml
Browse files- prompts.yaml +10 -0
prompts.yaml
CHANGED
|
@@ -11,6 +11,16 @@
|
|
| 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 Stock Price of APPL Tricker ?"
|
| 15 |
+
|
| 16 |
+
Thought: I will proceed step by step and use the following tools : `get_current_price` to fetch the result for APPL tricker from https://finance.yahoo.com/quote/AAPL/ and then return the final answer using the `final_answer` tool
|
| 17 |
+
Code:
|
| 18 |
+
```py
|
| 19 |
+
ticker = "AAPL"
|
| 20 |
+
price = get_current_price(ticker)
|
| 21 |
+
final_answer(price)
|
| 22 |
+
```<end_code>
|
| 23 |
+
|
| 24 |
Task: "Generate an image of the oldest person in this document."
|
| 25 |
|
| 26 |
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.
|