forked from dhrubach/nlp_bot_restaurant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
domain.yml
138 lines (134 loc) · 3.3 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
intents:
- affirm
- ask_budget
- ask_email
- ask_restaurant
- bye
- deny
- goodbye
- greet
- out_of_scope
- thank
entities:
- budget
- cuisine
- email
- location
slots:
budget:
type: text
cuisine:
type: text
cuisine_validity:
type: categorical
values:
- valid
- invalid
email:
type: text
email_message:
type: text
location:
type: text
location_validity:
type: categorical
values:
- valid
- invalid
search_validity:
type: categorical
values:
- valid
- invalid
templates:
utter_bye:
- text: See you again!
- text: goodbye, hope i was of help today
- text: Bye-bye
- text: Bye!
utter_ask_budget:
- text: What would be your preferred budget?
buttons:
- title: Lesser than Rs. 300
payload: '/ask_budget{"budget": "299"}'
- title: Rs. 300 to 700
payload: '/ask_budget{"budget": "700"}'
- title: More than Rs. 700
payload: '/ask_budget{"budget": "701"}'
utter_ask_cuisine:
- text: what kind of cuisine would you like?
buttons:
- title: Chinese
payload: Chinese
- title: Mexican
payload: Mexican
- title: Italian
payload: Italian
- title: American
payload: American
- title: South Indian
payload: South Indian
- title: North Indian
payload: North Indian
utter_ask_cuisine_retry:
- text: Will you like to search for some other cuisine?
- text: Can I help you look for some other cuisine today?
utter_ask_details:
- text: Would you like me to send an email with details of restaurants?
utter_ask_email:
- text: Please provide your email id.
utter_ask_location:
- text: Which city would you like to get the details of?
- text: In what location?
- text: Which city are you looking for?
- text: Can you tell me the location you are looking for?
utter_ask_location_retry:
- text: Will you like to search for some other location?
- text: Can I help you look for a restaurant at some other location?
utter_confirm_email:
- text: An email has been sent to you.
utter_cuisine_invalid:
- text: Sorry. We do not serve the requested cuisine.
utter_did_that_help:
- text: Did that help you?
utter_deny:
- text: Sorry, hope to serve you better next time.
utter_greet:
- text: Hey there! How can i help you today?
- text: Howdy! Is there anything i can help you with?
utter_happy:
- text: Great carry on!
utter_location_invalid:
- text: Sorry, we do not serve at the requested location.
utter_out_of_scope:
- text: Sorry, I do not understand this. Please be specific.
utter_search_invalid:
- text: Sorry, we do not have any restaurants which match your requirements. Hope to serve you better next time!
utter_thanks_response:
- text: You are welcome!
- text: You are most welcome! Is there anything else that i can help you with?
actions:
- action_cuisine_valid
- action_location_valid
- action_restart
- action_restaurant
- action_send_email
- action_slot_reset
- utter_ask_budget
- utter_ask_cuisine
- utter_ask_cuisine_retry
- utter_ask_details
- utter_ask_email
- utter_ask_location
- utter_ask_location_retry
- utter_bye
- utter_confirm_email
- utter_cuisine_invalid
- utter_deny
- utter_did_that_help
- utter_greet
- utter_happy
- utter_location_invalid
- utter_out_of_scope
- utter_search_invalid
- utter_thanks_response