forked from RasaHQ/rasa-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
domain.yml
198 lines (194 loc) Β· 6.21 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
entities:
- jobfunction
- company
- email
- name
- amount-of-money
- number
intents:
- enter_data: {use_entities: false}
- mood_confirm
- contact_sales
- signup_newsletter
- greet
- human_handoff
- deny
- ask_builder
- ask_weather
- ask_howdoing
- ask_whatspossible
- ask_whatisrasa
- out_of_scope
- thank
- ask_whoisit
- bye
- canthelp
slots:
budget:
type: text
company_name:
type: text
email:
type: text
job_function:
type: text
person_name:
type: text
subscribed:
type: bool
use_case:
type: text
data_stored:
type: bool
templates:
utter_ask_budget:
- text: "What's your annual budget for conversational AI? πΈ"
utter_ask_businessmail:
- text: "What's your business email?"
utter_ask_company:
- text: "What company do you work for?"
utter_great:
- text: "Great! π"
- text: "That's great! π"
- text: "Awesome! π"
- text: "Cool, let's do it π"
utter_ask_email:
- text: "What's your email address?"
utter_awesome:
- text: "Awesome, thanks! π"
- text: "Sweet, thank you! π"
- text: "Thanks! π"
- text: "Cool, thank you!"
utter_ask_goal:
- text: "Do you want more Rasa in your life? You can subscribe to our newsletter or you can talk to our nice sales team π§β"
utter_ask_jobfunction:
- text: "What's your job? π΄"
utter_ask_usecase:
- text: "What kind of bot do you want to build with Rasa?"
utter_confirm_salesrequest:
- text: "Thanks a bunch, we'll be in touch soon! βοΈ"
utter_confirmationemail:
- text: "We sent a confirmation email to {email}."
utter_docu:
- text: "If you want some more awesome Rasa content, check out our forum:
https://forum.rasa.com/"
utter_greet:
- text: "Hey there, welcome to Rasa!"
utter_inform_privacypolicy:
- text: "Before we start chatting, please read and accept our privacy policy https://rasa.com/privacy-policy/.
Do you accept?"
buttons:
- title: "Accept"
payload: "/mood_confirm"
- title: "Decline"
payload: "/deny"
utter_moreinformation:
- text: "Sure! Let's get to know each other first π"
utter_sales_contact:
- text: "Thanks, now I need to know how we can reach you."
utter_ask_name:
- text: "What's your name?"
utter_already_subscribed:
- text: "Looks like {email} is already subscribed - good choice!
If you haven't received a newsletter in a while, maybe check your spam folder π"
utter_contact_email:
- text: "You canβt speak to a human directly in this chat, but you can email us at [email protected]."
utter_no_speak:
- text: "I'm afraid we can't chat then π’"
utter_ask_whatspossible:
- text: "You can book a sales call or subscribe to our newsletter."
utter_ask_weather:
- text: "I don't know about where you live, but in my world it's always sunny βοΈ"
- text: "Honestly it's a bit too hot these days π
"
- text: "Blue skies and sun shine!"
- text: "Let's just say it hasn't rained in weeks βοΈ"
utter_ask_builder:
- text: "The engineers at Rasa π "
- text: "One of the smart engineers at Rasa! π§ "
utter_ask_howdoing:
- text: "I'm great! Thanks for asking."
- text: "I'm good, thanks!"
- text: "A little bit too warm, otherwise fine."
utter_ask_whatisrasa:
- text: "Rasa is a framework to build bots! You can read more about it here in the docs or on our website (https://rasa.com/)."
utter_out_of_scope:
- text: "Sorry, I canβt deal with that request."
- text: "I'm sorry, I can't handle that request."
- text: "I can't help you with that, I'm sorry."
- text: "Even a Rasa bot is not completely perfect - it seems like I can't handle that request."
utter_possibilities:
- text: "You can either book a sales call or subscribe to our newsletter."
utter_ask_whoisit:
- text: "I'm the Rasa bot! π€"
utter_change_mind:
- text: "You can still change your mind below though."
utter_must_accept:
- text: "We can't speak until you accept."
utter_noworries:
- text: "No worries!"
- text: "You're welcome!"
- text: "I'm happy to help."
utter_bye:
- text: "Goodbye!"
- text: "Bye!"
- text: "Ciao!"
- text: "Bye, was nice talking to you!"
utter_default:
- text: "Sorry, I didn't get that π€·π»β. Could you please rephrase?"
- text: "I didn't understand, could you rephrase that?"
- text: "I'm sorry, but I didn't understand you. Could you please rephrase what you just said?"
- text: "I'm afraid I didn't get what you just said. Could you rephrase that?"
- text: "I didn't quite get that, could you rephrase your message?"
- text: "Could you rephrase your message? I didn't get it, I'm sorry."
utter_thank_usecase:
- text: "Cool, thank you!"
utter_canthelp:
- text: "I'm sorry I couldn't help you. If you have general questions about the Stack, please head to https://forum.rasa.com/, otherwise contact us at [email protected] for anything else."
utter_nohelp:
- text: "I'm afraid I can't help you then! For now I only have two skills:"
utter_thumbsup:
- text: "π"
utter_cantsignup:
- text: "I can't sign you up if you don't provide your email π"
actions:
- utter_greet
- utter_ask_usecase
- utter_ask_businessmail
- utter_ask_jobfunction
- utter_ask_email
- utter_ask_budget
- utter_ask_company
- utter_ask_goal
- utter_inform_privacypolicy
- utter_moreinformation
- utter_confirm_salesrequest
- utter_docu
- utter_confirmationemail
- utter_sales_contact
- utter_already_subscribed
- utter_contact_email
- utter_no_speak
- utter_out_of_scope
- utter_possibilities
- utter_ask_name
- utter_change_mind
- utter_must_accept
- utter_noworries
- utter_bye
- utter_awesome
- utter_great
- utter_thank_usecase
- utter_canthelp
- utter_nohelp
- utter_thumbsup
- utter_cantsignup
- demo.actions.ActionSubscribeNewsletter
- demo.actions.ActionStoreSalesInfo
- demo.actions.ActionStoreBudget
- demo.actions.ActionStoreUsecase
- demo.actions.ActionChitchat
- demo.actions.ActionStoreName
- demo.actions.ActionStoreCompany
- demo.actions.ActionStoreJob
- demo.actions.ActionStoreEmail
- demo.actions.ActionPause