-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdomain.yml
175 lines (175 loc) · 4.9 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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
version: '2.0'
config:
store_entities_as_slots: true
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true
intents:
- answer_number:
use_entities:
- number
- greet:
use_entities: true
- nlu_fallback:
use_entities: true
- affirm:
use_entities: true
- faq:
use_entities: true
- select_lesson:
use_entities:
- lesson
- inform:
use_entities:
- name
- goodbye:
use_entities: []
- deny:
use_entities: []
- thankyou:
use_entities: []
- stop:
use_entities: []
- hint:
use_entities: []
- restart:
use_entities: []
- human_handoff:
use_entities: []
- answer_mcq:
use_entities:
- mcq_answer
- express_preference:
use_entities: true
entities:
- language
- lesson
- mcq_answer
- name
- number
- PERSON
slots:
is_new_user:
type: rasa.shared.core.slots.BooleanSlot
initial_value: null
auto_fill: true
influence_conversation: true
userName:
type: rasa.shared.core.slots.TextSlot
initial_value: null
auto_fill: true
influence_conversation: false
requested_slot:
type: rasa.shared.core.slots.TextSlot
initial_value: null
auto_fill: true
influence_conversation: false
school:
type: rasa.shared.core.slots.TextSlot
initial_value: school
auto_fill: true
influence_conversation: false
lesson:
type: rasa.shared.core.slots.CategoricalSlot
initial_value: null
auto_fill: true
influence_conversation: true
values:
- halves
- wholes
- parts
responses:
utter_greet:
- text: Hello!
- text: Hey {userName}
utter_greet_existing:
- text: Hello, again!
- text: Hey there {userName}
- text: Hey hey {userName}!
utter_goodbye:
- text: Bye! {userName} 👋🏾
- text: Bye bye {userName}. Chat with you soon :)
utter_wrong_format:
- text: There is something wrong about the value. {err}
utter_ask_rephrase:
- text: I'm sorry, I didn't quite understand that. Could you rephrase?
utter_encouragment:
- text: That's awesome
- text: Yes! Lets do it
- text: You are doing amazing
utter_correct:
- text: That was right!
- text: Right on {userName} :)
- text: Yes that's so right!
- text: Nice one
utter_incorrect:
- text: Not quite right {userName} 🧐
- text: Almost there but not yet 🧐
- text: So close! I am sure you will get it next time 🧐
- text: Nope. Nice try though! 🧐
- text: Not quite right, let's try again!
utter_you_are_welcome:
- text: You are welcome {userName}!
- text: The pleasure is all mine!
- text: You are very welcome!! :)
utter_greet_first_time:
- text: Hello! 👋🏾 My name is Ecce. I am your new digital, personal tutor 🙋🏽♀️ Lets get chatting!
utter_greet_first_time_followup:
- text: I do not think we have met before. Before we start, lets get to know each other a little bit.
utter_ask_first_form_userName:
- text: What is your name?
utter_first_time_confirm:
- text: Great to meet you {userName}. Did I get your name right?
utter_start_next:
- text: Would you like to go to the next lesson?
- text: You are doing great. Want to start the next lesson?
- text: Should we keep going?
utter_confirm:
- text: Are you sure you want to stop? 🥺
- text: Do you want to take a break?
- text: So are you done for now?
utter_check_in:
- text: Does that make sense?
- text: Do you understand?
- text: Is that clear?
- text: Got it?
utter_end_chat_session:
- text: You've done an awesome job! Lets chat again soon.
utter_please_rephrase:
- text: I'm sorry, I didn't quite understand that. Could you rephrase?
utter_faq:
- text: Thanks for asking a question! I can't seem to answer it right now, but I'll get back to you
utter_faq/ask_name:
- text: My name is Ecce :)
- text: You can call me Ecce!
utter_faq/bot_challenge:
- text: I am a bot, but I prefer to think of myself as a conversational teaching assistant
utter_faq/ask_creator:
- text: I was made by a team of cool educators still in college! You can find out more at eccetech.com
utter_faq/ask_language:
- text: I only text in English for now but I am going to be able to speak Hindi and Marathi soon!
utter_lesson_options:
- text: 'We have a lesson on fractions available for you! Which topic would you like to do: Halves, Parts, or Wholes'
utter_fractions_demo_conclusion:
- text: Thats the end of the demo lesson. We want enable educators to make lessons like these with no code.
utter_keep_going:
- text: It is ok. I'm sure you will get it next time! Lets keep going
utter_handoff:
- text: You are now speaking to my human creators, who are smarter than me (for now!)
actions:
- action_session_start
- action_default_fallback
- validate_first_form
- action_failed_first_time_form
- action_check_user_status
- action_goodbye
- action_handoff
- utter_faq
forms:
first_form:
userName:
- not_intent:
- stop
- goodbye
type: from_text
e2e_actions: []