-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdomain.yml
142 lines (110 loc) · 5.15 KB
/
domain.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
intents:
- greet
- goodbye
- affirm
- deny
- mood_great
- mood_unhappy
- bot_challenge
- ask_mental_health
- ask_anxiety_signs
- ask_cure_depression
- ask_mindfulness
- ask_mood_swings
- ask_sleep
- ask_seek_therapy
- ask_exercise
- ask_self_care
- ask_reduce_stigma
- ask_lower_stress
- ask_eat_healthy
- ask_exercise_amount
- inform
- out_of_scope
- thankyou
slots:
confirm_exercise:
type: unfeaturized
exercise:
type: unfeaturized
sleep:
type: unfeaturized
diet:
type: unfeaturized
stress:
type: unfeaturized
goal:
type: unfeaturized
entities:
- exercise
- sleep
- stress
responses:
utter_greet:
- text: "Hi! Your daily wellness check is now due. Monitoring your healthy behaviors is an excellent approach to gauge your development over time. Would you be willing to provide some health-related information?"
utter_cheer_up:
- text: "Here is something to cheer you up:"
image: "https://i.imgur.com/nGF1K8f.jpg"
utter_did_that_help:
- text: "Did that help you?"
utter_happy:
- text: "Great, carry on!"
utter_goodbye:
- text: "Bye"
utter_iamabot:
- text: "I am a bot, powered by Rasa."
utter_mental_health:
- text: "Mental health refers to the overall well-being of an individual's emotional, psychological, and social state."
utter_anxiety_signs:
- text: "Common signs of anxiety may include restlessness, excessive worry, difficulty concentrating, and physical symptoms like rapid heartbeat or sweating."
utter_cure_depression:
- text: "You can support your friend by actively listening, offering empathy, encouraging them to seek professional help, and being there for them without judgment."
utter_mindfulness:
- text: "Mindfulness is the practice of being fully present in the moment. It can benefit mental health by reducing stress, improving focus, and promoting emotional regulation."
utter_mood_swings:
- text: "Yes, occasional mood swings are a normal part of life. However, if mood swings become severe or frequent, it may be worth seeking professional advice."
utter_sleep:
- text: "To improve sleep, try maintaining a consistent sleep schedule, creating a relaxing bedtime routine, avoiding screens before bed, and keeping your sleep environment comfortable and quiet."
utter_seek_therapy:
- text: "You may consider seeking therapy or counseling if you are struggling to cope with daily life, experiencing persistent distress, or finding it challenging to manage your emotions."
utter_exercise:
- text: "Yes, regular exercise can positively impact mental health by reducing stress, improving mood, and boosting self-esteem."
utter_self_care:
- text: "Engaging in activities like journaling, spending time in nature, practicing hobbies, and connecting with loved ones can be beneficial for mental health."
utter_reduce_stigma:
- text: "You can reduce stigma by educating yourself and others about mental health, speaking openly about your own experiences, and treating individuals with mental health conditions with respect and compassion."
utter_lower_stress:
- text: "To reduce stress: practice deep breathing, exercise regularly, prioritize sleep, set boundaries, seek social support, and engage in hobbies. Limit caffeine and alcohol, manage time effectively, laugh, spend time in nature, and seek professional help if needed."
utter_eat_healthy:
- text: "To stay healthy, maintain a balanced diet rich in fruits, vegetables, whole grains, lean proteins, and healthy fats. Limit processed foods, sugary snacks, and excessive salt. Stay hydrated, practice portion control, and consult a nutritionist if needed."
utter_exercise_amount:
- text: "To stay healthy, aim for at least 150 minutes of moderate-intensity aerobic exercise or 75 minutes of vigorous-intensity exercise per week. Incorporate strength training exercises for major muscle groups at least twice a week. Remember to consult a healthcare professional before starting any new exercise routine, especially if you have health concerns."
utter_ask_confirm_exercise:
- text: "Did you go to the gym yesterday? If you didn't complete a marathon, don't worry—walks still count!"
utter_ask_sleep:
- text: "How much rest did you receive the previous night?"
utter_ask_exercise:
- text: "How did your exercise go?"
utter_ask_diet:
- text: "Did you follow a balanced diet yesterday?"
utter_ask_stress:
- text: "Are you under mild, moderate, or high stress?"
utter_ask_goal:
- text: "Setting goals, no matter how modest, is a terrific way to organize your day. What goals do you have for the next 24 hours?"
utter_slots_values:
- text: "Here's your daily health report: \n
- Exercised?: {confirm_exercise}\n
- Type of exercise: {exercise}\n
- Sleep: {sleep}\n
- Stuck to a healthy diet?: {diet}\n
- Stress level: {stress}\n
- Goal: {goal}"
utter_no_worries:
- text: "Everything's fine..."
utter_ask_continue:
- text: "I'm sorry, but I don't quite get it. Do you wish to proceed?"
forms:
- health_form
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true