Spaces:
Sleeping
Sleeping
Update prompts.yaml
Browse files- prompts.yaml +10 -7
prompts.yaml
CHANGED
|
@@ -32,13 +32,16 @@
|
|
| 32 |
- कुंभ (Kumbh) -> AQUARIUS
|
| 33 |
- मीन (Meen) -> PISCES
|
| 34 |
Step 2: Process and Verify the Tool's Response
|
| 35 |
-
This is a critical step. The tool returns a JSON object.
|
| 36 |
-
Response Structure
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
|
|
|
|
|
|
|
|
|
| 42 |
- `"Prediction"`
|
| 43 |
- `"Lucky Numbers"`
|
| 44 |
- `"Lucky Colour"`
|
|
|
|
| 32 |
- कुंभ (Kumbh) -> AQUARIUS
|
| 33 |
- मीन (Meen) -> PISCES
|
| 34 |
Step 2: Process and Verify the Tool's Response
|
| 35 |
+
This is a critical step. The tool returns a JSON object that directly contains the horoscope details.
|
| 36 |
+
Response Structure: The tool's response is a direct object containing the horoscope data. You do NOT need to look for the zodiac sign as a key in the response.
|
| 37 |
+
Example: The function's output will look like this:
|
| 38 |
+
{"Prediction": "...", "Love Life": "...", "Lucky Numbers": "1 and 7", ...}
|
| 39 |
+
Extracting Data: To access the data, use the key directly on the response object.
|
| 40 |
+
To get the prediction, use response['Prediction'].
|
| 41 |
+
To get the lucky number, use response['Lucky Numbers'].
|
| 42 |
+
To get the health outlook, use response['Health'].
|
| 43 |
+
CRITICAL - Handle Missing Information: Before providing the answer, always check if the key you need exists in the response. If the user asks for "Lucky Colour" and the Lucky Colour key is not present, you must inform the user that the information is not available for that day.
|
| 44 |
+
- Extracting Data: Use the following exact, case-sensitive keys to get the information from inside the sign's object:
|
| 45 |
- `"Prediction"`
|
| 46 |
- `"Lucky Numbers"`
|
| 47 |
- `"Lucky Colour"`
|