krrishkh12 commited on
Commit
b6ab269
·
verified ·
1 Parent(s): 185b4fe

Update prompts.yaml

Browse files
Files changed (1) hide show
  1. 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- The data for the requested sign is **nested inside a key that is the uppercase sign itself**.
37
- - Example: A call for "ARIES" will return a structure like: `{"ARIES": {"Prediction": "...", "Lucky Colour": "...", ...}}`
38
- - To access the prediction, you must use `response['ARIES']['Prediction']`.
39
- CRITICAL - Verify the Sign: Before answering, you **must** check if the main key in the response matches the sign you requested.
40
- - If there is a mismatch (e.g., you requested "CAPRICORN" but the response contains a key for "ARIES"), you must state that you received data for the wrong sign and cannot provide the answer. **Do not use the incorrect data.**
41
- - Extracting Data: Use the following exact, case-sensitive keys to get the information from inside the sign's object:
 
 
 
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"`