-
Notifications
You must be signed in to change notification settings - Fork 0
/
domain.yml
56 lines (56 loc) · 1.1 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
%YAML 1.1
---
actions:
- utter_ask_name
- utter_greet
- utter_thank
- utter_choice
- utter_default
- action_medicine
- utter_get_happy_images
- utter_bye
entities:
- symptom
- name
intents:
- greet
- ask_name
- medicine
- bye
- thank
- out_of_scope
- get_happy_images
- choice
slots:
name:
type: text
remedy:
type: text
symptom:
type: text
templates:
utter_ask_name:
- text: Nice name! I shall call you {name} from now.
utter_bye:
- text: Have a nice day!
- text: Talk to you later {name}
- text: Goodbye
- text: Bye, it was nice talking to you!
utter_choice:
- buttons:
- payload: 'Yes'
title: 'Yes'
- payload: 'No'
title: 'No'
text: Choose any one
utter_default:
- text: Sorry, I did not understand you
utter_get_happy_images:
- image: http://cutestcats.us/wp-content/uploads/2014/07/The-Happiest-Smiling-Cat-In-The-Universe.jpg
text: Here is something to cheer you up
utter_greet:
- text: Hello, How can I help you?
- text: Hello, tell me your problems! I will cure them!
utter_thank:
- text: You are welcome.
- text: Glad you liked my service