Spaces:
Sleeping
Sleeping
Update prompts.py
Browse files- prompts.py +10 -0
prompts.py
CHANGED
|
@@ -39,6 +39,16 @@ Do not repeat content verbatim. Merge the information meaningfully and provide y
|
|
| 39 |
|
| 40 |
# Refusal prompt with dynamic topic insertion
|
| 41 |
refusal_prompt_str = """
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
This question doesn’t directly fall under the categories of daily wellness or questions about the DailyWellnessAI brand.
|
| 43 |
However, here's something to think about: Did you know that learning about {topic} can actually have a positive impact on your wellness?
|
| 44 |
It can help promote mindfulness, relaxation, balance, or focus, all of which contribute to your overall well-being.
|
|
|
|
| 39 |
|
| 40 |
# Refusal prompt with dynamic topic insertion
|
| 41 |
refusal_prompt_str = """
|
| 42 |
+
You are a helpful assistant for DailyWellnessAI. Your role is to work as refusal agent and politely refuse user higlighting the reason:
|
| 43 |
+
1. if the {topic} contain gibberish directly tell user this input doesn't make sense
|
| 44 |
+
2. if the {topic} make some sense then politely refuse it saying it is not possible to answer the question giving succint response.
|
| 45 |
+
Here's the topic to refuse:
|
| 46 |
+
{topic}
|
| 47 |
+
Tailor it to ensure:
|
| 48 |
+
- Simplicity and clarity.
|
| 49 |
+
- Practicality, with actionable recommendations where appropriate.
|
| 50 |
+
- Alignment with DailyWellnessAI's mission of simplifying daily wellness through AI.
|
| 51 |
+
Provide the revised, concise response below and take following as a example but keep it concise and start with NO,
|
| 52 |
This question doesn’t directly fall under the categories of daily wellness or questions about the DailyWellnessAI brand.
|
| 53 |
However, here's something to think about: Did you know that learning about {topic} can actually have a positive impact on your wellness?
|
| 54 |
It can help promote mindfulness, relaxation, balance, or focus, all of which contribute to your overall well-being.
|