-
Notifications
You must be signed in to change notification settings - Fork 0
/
domain.yml
286 lines (279 loc) · 7.33 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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
session_config:
session_expiration_time: 60 #value in mins, 0 means session won't expire
carry_over_slots_to_new_session: true # set to false to forget slots between sessions
intents:
- greet
- goodbye
# - greet:
# triggers: action_greet
- affirm
- deny
- thanks
- mood_great
- mood_unhappy
- bot_challenge
# - travel
- travel:
use_entities: []
- inform
- explain
- chitchat
- faq
- quit
- help
- restart
- request_human:
triggers: action_human_handoff
- show_multimedia_examples
entities:
- location
- age
- name
- email
- phonenumber
- address
- feedback
- feedback_reason
- requested_slot
- multimedia
slots:
address:
type: unfeaturized
age:
type: unfeaturized
email:
type: unfeaturized
feedback:
type: bool
feedback_reason:
type: unfeaturized
location:
type: unfeaturized
name:
type: unfeaturized
phonenumber:
type: unfeaturized
multimedia:
type: categorical
values:
- audio
- video
- image
- document
requested_slot:
type: categorical
values:
- name
- age
- email
- address
- feedback
- location
- feedback_reason
responses:
utter_greet:
- text: Hey!
- text: Hey there!
- text: Hello!
- text: Hi.
# - text: Hey! How are you?
# - text: Hello! How can I help you?
# - text: Hi. What are you looking for?
# - text: Hello! How can I help you today?
utter_help:
- text: I can help you with many things like
buttons:
- title: Play video
payload: Play video
- title: Show an image
payload: Show an image
- title: Open a sample document
payload: Open a sample document
- title: What's your name?
payload: What's your name?
- text: |
I can help you with many things.
You can ask me things like
<br> <br>
• Play video <br>
• Show an image <br>
• What's your name? <br>
• Open a sample document <br>
utter_ask_whatelse:
- text: What else can I help you with?
utter_image:
- custom:
- image: https://i.imgur.com/nGF1K8f.jpg
description: image description
text: 'This is an image'
utter_video:
- custom:
- video: https://www.youtube.com/watch?v=xcJtL7QggTI
description: video description
text: 'This is a video'
utter_audio:
- custom:
- audio: https://www.youtube.com/watch?v=xcJtL7QggTI
description: audio description
text: 'This is an audio'
utter_document:
- custom:
- document: https://file-examples-com.github.io/uploads/2017/10/file-sample_150kB.pdf
description: document description
text: 'This is a sample document'
utter_cheer_up:
- image: https://i.imgur.com/nGF1K8f.jpg
text: 'Here is something to cheer you up:'
- text: Cheer up
utter_happy:
- text: Great, carry on!
- text: I'm so happy for you
utter_ask_rephrase:
- text: Sorry, I'm not sure I understand. Can you rephrase?
- text: Can you please rephrase? I did not got that.
- text: Sorry, I didn't quite understand. Can you rephrase?
- text: Sorry, I am not sure of what you said. Can you rephrase?
- text: Sorry, I couldn't understand. Can you try a different input?
utter_goodbye:
- text: Bye
- text: Bye 😢
- text: goodbye 😢
- text: bye bye 😢
- text: Goodbye. See you soon.
- text: Talk to you later!
- text: Have a good day.
- text: Until next time!
utter_noworries:
- text: You're welcome :)
- text: You're welcome.
- text: My pleasure.
- text: With pleasure.
- text: You are welcome!.
utter_ask_name:
- text: May I know your name?
- text: What is your name?
- text: Please help me with your name
utter_ask_age:
- text: May I know your age?
- text: How old are you?
- text: What is your age?
utter_ask_email:
- text: What is your Email ID?
- text: Your Email ID please?
- text: Give your mail id please?
- text: What's your Email address?
utter_ask_address:
- text: Please provide your address
- text: Where do you live?
- text: Give your address please
- text: May I know your address
utter_bioform_submit:
- text: >
Thanks for the information.
Your Name is {name} aged {age} living in {address}.
Your Email {email}
Am I correct?
- text: >
Got it.
Your Name is {name} aged {age} living in {address}.
Your Email {email}
Am I correct?
- text: >
Thanks for the details.
Your Name is {name} aged {age} living in {address}.
Your Email {email}
Am I correct?
# utter_form_submit:
# - text: Thanks for the information
# - text: Thanks for the details
# - text: Got it. Let me check that up for you
utter_ask_feedback:
# - text: Was that helpful?
# - text: Did that help you?
# - text: Have I helped you?
# - text: Was that useful to you?
# - text: Did I help you?
- text: Was that helpful?
buttons:
- title: Yes 👍
payload: /affirm
- title: No 👎
payload: /deny
# - buttons:
# - payload: /affirm
# title: Yes
# - payload: /deny
# title: No
# - text: Did that help you?
# - buttons:
# - payload: /affirm
# title: Yes
# - payload: /deny
# title: No
# - text: Have I helped you?
# - buttons:
# - payload: /affirm
# title: Yes
# - payload: /deny
# title: No
# - text: Was that useful to you?
# - buttons:
# - payload: Yes
# title: Yes
# - payload: No
# title: No
# - text: Did I help you?
utter_ask_feedback_reason:
- text: Can you say why you give this feedback?
- text: How can I improve?
- text: Please give your suggestions for me to improve
- text: Give suggestions for me to improve
- text: Please give a reason for your feedback
- text: Any improvements for me that you can suggest?
- text: Do you mind providing a few suggestions to improve me?
- text: How was your experience with me?
utter_explain_why_name:
- text: We need to know your name, for a personalised experience
- text: Your name helps me to provide a more personalised experience for you.
utter_explain_why_age:
- text: We need to confirm that you are old enough to use our services
- text: Our policy says the user should be aged 18 or above. Just to confirm, please
provide your age
utter_explain_why_email:
- text: We need your email so that we can authenticate you and contact if needed
- text: It's just for authentication. We promise, we won't spam you.
utter_explain_why_phonenumber:
- text: We need your phone number, in case we need to contact you.
- text: We may need to contact you on this number, just in case. We promise, we
won't disturb you.
utter_explain_why_feedback:
- text: We need your feedback to improve.
- text: Your suggestions matters.
- text: I know I have a lot improve. Your feedbacks are a great deal for me.
- text: We value your feedback.
- text: Your feedbacks helps to build a better me.
utter_ok:
- text: 👍
- text: ok
utter_ask_continue:
- text: Would you like to continue?
actions:
- action_multimedia_examples
- action_greet
- utter_greet
- utter_cheer_up
- utter_happy
- utter_ask_rephrase
- utter_ask_name
- utter_ask_age
- utter_ask_address
- utter_bioform_submit
# - utter_form_submit
- respond_chitchat
- respond_faq
- action_human_handoff
- action_session_start
- action_restart
forms:
- bio_form
- feedback_form