Spaces:
Sleeping
Sleeping
Update prompts.yaml
Browse files- prompts.yaml +7 -4
prompts.yaml
CHANGED
@@ -21,7 +21,8 @@
|
|
21 |
Task: "Generate an image of the oldest person in this document."
|
22 |
|
23 |
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.
|
24 |
-
Code
|
|
|
25 |
```py
|
26 |
answer = document_qa(document=document, question="Who is the oldest person mentioned?")
|
27 |
print(answer)
|
@@ -151,7 +152,7 @@
|
|
151 |
```<end_code>
|
152 |
|
153 |
---
|
154 |
-
Task: "Is today a good day to plant tomato?"
|
155 |
|
156 |
Thought: I will proceed step by step and use the following tools: `get_moon_info` to find the fertility indices for today, then infere if tomato belongs to root crop or produces above the ground, to select apropiate fertility index for the answer.
|
157 |
Observation: "The fertility above the ground is 1.0"
|
@@ -159,11 +160,13 @@
|
|
159 |
Thought: The determined fertility index is not maximum (3.0), so, I will check next 5 days if it is higher then and mention the best day as an alternative for today.
|
160 |
Observation: "The fertility above the ground is maximum in two days"
|
161 |
|
|
|
|
|
162 |
|
163 |
-
Thought: The determined fertility index for today is not good but it will be maximum in two days.
|
164 |
Code:
|
165 |
```py
|
166 |
-
answer = "Today is not an optimal day to plant tomato(fertility index is only 1.0 out of 3.0). However, in two days the fertility index for produce above ground will be at maximum.")
|
167 |
final_answer(answer)
|
168 |
```<end_code>
|
169 |
|
|
|
21 |
Task: "Generate an image of the oldest person in this document."
|
22 |
|
23 |
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.
|
24 |
+
Code
|
25 |
+
:
|
26 |
```py
|
27 |
answer = document_qa(document=document, question="Who is the oldest person mentioned?")
|
28 |
print(answer)
|
|
|
152 |
```<end_code>
|
153 |
|
154 |
---
|
155 |
+
Task: "Is today a good day to plant tomato in NY?"
|
156 |
|
157 |
Thought: I will proceed step by step and use the following tools: `get_moon_info` to find the fertility indices for today, then infere if tomato belongs to root crop or produces above the ground, to select apropiate fertility index for the answer.
|
158 |
Observation: "The fertility above the ground is 1.0"
|
|
|
160 |
Thought: The determined fertility index is not maximum (3.0), so, I will check next 5 days if it is higher then and mention the best day as an alternative for today.
|
161 |
Observation: "The fertility above the ground is maximum in two days"
|
162 |
|
163 |
+
Thought: The task provides location, so, I should check if this time of the year is ok to plant outside, and if not I will add to answer suggestion that the fertility index is applicable for planting indoor under relevant conditions for the plant.
|
164 |
+
Observation: "The fertility above the ground is maximum in two days"
|
165 |
|
166 |
+
Thought: The determined fertility index for today is not good but it will be maximum in two days. However, it is cold in NY this time of the year, so, the index is applicable if necessary conditions are meet for tomato (e.g. indoor).
|
167 |
Code:
|
168 |
```py
|
169 |
+
answer = "Today is not an optimal day to plant tomato(fertility index is only 1.0 out of 3.0). However, in two days the fertility index for produce above ground will be at maximum. Also note that it is cold in NY this time of the year, so, the index is applicable if necessary conditions are meet for tomato (e.g. indoor).")
|
170 |
final_answer(answer)
|
171 |
```<end_code>
|
172 |
|