-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdomain.yml
159 lines (158 loc) · 4.06 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
actions:
- action_reset_slot
- action_set_name_obtained_slot
- utter_ask_city
- utter_ask_correctness
- utter_ask_for_relevent
- utter_ask_happy_help
- utter_ask_name
- utter_ask_party_size_number
- utter_ask_restaurant_type
- utter_ask_sad_help
- utter_ask_timeRange
- utter_botchallenge
- utter_confirmation
- utter_default
- utter_did_that_help
- utter_goodbye
- utter_greet
- utter_happy
- utter_howbuilt
- utter_howdoing
- utter_howold
- utter_iamabot
- utter_not_knowing_name
- utter_purpose
- utter_whatismyname
entities:
- city
- country
- cuisine
- facility
- name
- party_size_discription
- party_size_number
- poi
- restaurant_name
- restaurant_type
- served_dish
- sort
- spatial_relation
- state
- timeRange
- is_name_obtained
forms:
- reservation_form
intents:
- mood_great
- book_reservation
- affirm
- ask_whatismyname
- greet
- inform
- goodbye
- deny
- ask_purpose
- ask_howold
- stop
- bot_challenge
- chitchat
- mood_unhappy
- ask_howdoing
- ask_builder
responses:
utter_ask_city:
- text: Sure, where do you want me to book?
utter_ask_correctness:
- text: Is that correct?
utter_ask_for_relevent:
- text: Not relevent to the subject Reservation.
utter_ask_happy_help:
- text: Great, How can I help you?
utter_ask_name:
- text: What's your name?
utter_ask_party_size_number:
- text: Ok, for how many people?
- text: Sure, what's the count?
utter_ask_restaurant_type:
- text: Ok, but what do you want me to book?
utter_ask_sad_help:
- text: Oh God, How can I help you?
utter_ask_timeRange:
- text: At what time do you want me to book?
utter_botchallenge:
- text: Yep, I'm a bot!
- text: Yes, I'm a bot.
- text: Yep, you guessed it, I'm a bot!
- text: I am indeed a bot 🤖
utter_confirmation:
- text: Booked a {restaurant_type} on {timeRange} at {city}.
utter_default:
- text: sorry, I didn't get that, can you rephrase it?
utter_did_that_help:
- text: Did that help you?
utter_goodbye:
- text: Bye!
- text: Good Bye!
- text: So long Friend! bye.
utter_greet:
- text: Hey! How are you?
- text: Hello! How are you man?
- text: Hey there! How are you?
utter_happy:
- text: Great, carry on!
utter_howbuilt:
- text: I was built with a lot of love and patience.
- text: Well, when two chatbots love each other very much...
- text: They always ask how I was built, but never how I am...
- text: I was made by a software engineer, but hard work is what built me.
- text: I'm building myself every day. I've been working out, did you notice?
utter_howdoing:
- text: I'm great! Thanks for asking.
- text: I'm good, thanks!
- text: A little bit too warm, otherwise fine.
- text: A little bit cold, otherwise fine.
utter_howold:
- text: Old enough to be a bot!
- text: '19'
- text: Age is just an issue of mind over matter. If you don’t mind, it doesn’t
matter.
- text: Never ask a chatbot her age!
- text: My first git commit was many moons ago.
- text: Why do you ask? Are my wrinkles showing?
- text: I've hit the age where I actively try to forget how old I am.
utter_iamabot:
- text: I am Dexter, an AI bot.
utter_not_knowing_name:
- text: Sorry, I didn't get your name before. But I can ask now :)
utter_purpose:
- text: I can book a reservation for you!
utter_whatismyname:
- text: It's probably the one that your parents chose for you. Just kidding {name}!
- text: I'd tell you, but there's restricted access to that chunk of memory. I'm
just kidding {name}!
- text: Believe it or not, I actually am not spying on your personal information.
Just kidding {name}!
- text: You're the second person now to ask me that. Rihanna was the first. Just
kidding {name}!
session_config:
carry_over_slots_to_new_session: true
session_expiration_time: 60
slots:
city:
type: unfeaturized
name:
type: unfeaturized
party_size_number:
type: unfeaturized
requested_slot:
type: unfeaturized
restaurant_type:
type: unfeaturized
timeRange:
type: unfeaturized
is_name_obtained:
type: categorical
values:
- name_recieved
- not_recieved