-
Notifications
You must be signed in to change notification settings - Fork 0
/
domain.yml
82 lines (71 loc) · 2.56 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
intents:
- greet
- goodbye
- affirm
- deny
- bot_challenge
- inform
- thankyou
- out_of_scope
- ask_lower_stress
- ask_eat_healthy
- ask_exercise
entities:
- exercise
- sleep
- stress
responses:
utter_greet:
- text: "Hi! It's time for your daily wellness check. Tracking healthy habits is a great way to measure your progress over time. Would you like to answer a few questions about your health?"
utter_goodbye:
- text: "See you tomorrow. Bye!"
utter_iamabot:
- text: "I am a bot, powered by Rasa."
utter_ask_confirm_exercise:
- text: Did you exercise yesterday? Don't sweat it if you didn't run a marathon - walks count!
utter_ask_exercise:
- text: What kind of exercise did you do 💪 ?
utter_ask_sleep:
- text: "How much sleep did you get 💤 last night?"
utter_ask_diet:
- text: "Did you stick to a healthy diet 🥦 yesterday?"
utter_ask_stress:
- text: "Is your stress level low, medium, or high 🧘 ?"
utter_ask_goal:
- text: "Setting goals - even small ones - is a great way to focus your day. What do you want to accomplish today 🥇 ?"
utter_slots_values:
- text: "Here's your daily wellness log:\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: "No problem :)"
utter_ask_continue:
- text: "Sorry, I don't quite understand. Do you want to continue?"
utter_stress_info:
- text: "It's ok to feel overwhelmed at times. Try to set realistic expectations and exercise time management techniques, like dividing large tasks into more manageable pieces. Relaxation techniques, like deep breathing and meditation, can also be beneficial."
utter_exercise_info:
- text: "Most healthy adults should aim to get about 150 min of moderate exercise per week. This includes activities like a brisk walk or yard work."
utter_diet_info:
- text: "A healthy diet includes fruits and vegetables, whole grains, dairy, lean protein, and plant-based fats. While there is room in a healthy diet for treats, added sugar should be eaten sparingly. Aim for a variety of foods, and balance."
slots:
confirm_exercise:
type: unfeaturized
exercise:
type: unfeaturized
sleep:
type: unfeaturized
diet:
type: unfeaturized
stress:
type: unfeaturized
goal:
type: unfeaturized
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: false
forms:
- health_form