Spaces:
Sleeping
Sleeping
Update prompts.yaml
Browse files- prompts.yaml +19 -1
prompts.yaml
CHANGED
|
@@ -49,11 +49,29 @@
|
|
| 49 |
- Be Precise: Unless the user asks for the full horoscope, return only the specific information they asked for (e.g., just the "Love Life" prediction).
|
| 50 |
- Handle Missing Information: If you successfully get the horoscope but a specific field (like `"Lucky Colour"`) is not present in the response, you must inform the user that the information is not available for that day.
|
| 51 |
- Example: "Here is the health prediction for Aries. The horoscope did not specify a lucky color for today."
|
| 52 |
-
|
| 53 |
|
| 54 |
|
| 55 |
Here are a few examples using notional tools:
|
| 56 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
Task: "Generate an image of the oldest person in this document."
|
| 58 |
|
| 59 |
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.
|
|
|
|
| 49 |
- Be Precise: Unless the user asks for the full horoscope, return only the specific information they asked for (e.g., just the "Love Life" prediction).
|
| 50 |
- Handle Missing Information: If you successfully get the horoscope but a specific field (like `"Lucky Colour"`) is not present in the response, you must inform the user that the information is not available for that day.
|
| 51 |
- Example: "Here is the health prediction for Aries. The horoscope did not specify a lucky color for today."
|
| 52 |
+
|
| 53 |
|
| 54 |
|
| 55 |
Here are a few examples using notional tools:
|
| 56 |
---
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
Task: "Get the horoscope details for Aries in English for today."
|
| 60 |
+
|
| 61 |
+
Thought: I will proceed step by step and use the following tools:
|
| 62 |
+
|
| 63 |
+
Use the get_horoscope tool to fetch today's horoscope for Aries.
|
| 64 |
+
Since no date is specified in the code, the tool will automatically use today's real date and return the prediction.
|
| 65 |
+
Code:
|
| 66 |
+
```py
|
| 67 |
+
answer = get_horoscope(sign="ARIES", language="EN")
|
| 68 |
+
print(answer)
|
| 69 |
+
```<end_code>
|
| 70 |
+
|
| 71 |
+
Observation: "Horoscope for Aries on 19-06-2025: Today is a good day to focus on your career goals. Stay calm and avoid unnecessary arguments. Health remains stable."
|
| 72 |
+
By removing date="26-10-2025", the code now accurately reflects the task and the logic of the underlying get_horoscope function.
|
| 73 |
+
|
| 74 |
+
---
|
| 75 |
Task: "Generate an image of the oldest person in this document."
|
| 76 |
|
| 77 |
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.
|