-
Notifications
You must be signed in to change notification settings - Fork 31
/
domain.yml
326 lines (326 loc) · 13.6 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
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
version: '2.0'
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true
intents:
- greet
- inform
- SCENARIO
- affirm
- faq:
is_retrieval_intent: true
- inquire-ask_clarification-offsets
- how_calculated
- deny
- buy_offsets
- express_uncertainty
- farewell
- deny_flying
- express_negative-emo
- inquire-ask_clarification
- why
- meta_inform_problem_bad-link
- express_positive-emo
- express_surprise
- thank
- inform_notunderstanding
- estimate_emissions
- insult
- vulgar
entities:
- city
- conference_name
- context_scenario
- holiday_name
- iata
- travel_destination
- travel_flight_class
slots:
context_scenario:
type: categorical
influence_conversation: true
values:
- conference
- holiday
holiday_name:
type: any
influence_conversation: false
iata_departure:
type: any
influence_conversation: false
iata_destination:
type: any
influence_conversation: false
link_1_url:
type: any
influence_conversation: false
link_2_url:
type: any
influence_conversation: false
requested_slot:
type: any
influence_conversation: false
travel_departure:
type: any
influence_conversation: false
travel_destination:
type: any
influence_conversation: false
travel_flight_class:
type: any
influence_conversation: false
responses:
utter_faq/meta_inquire-ask_bot-challenge:
- text: Yes, I am a bot! And I'm part of a research project.
utter_faq/ask_howdoing:
- text: I'm great! Thanks for asking.
utter_faq/meta_inquire_capabilities:
- text: I can help you calculate and buy carbon offsets for your flights.
utter_faq/oos-future_inquire-ask:
- text: That sounds like a relevant question, but I don't know the answer.
utter_faq/oos_inform:
- text: Good to know
utter_faq/oos_inquire:
- text: I'm afraid I have no idea
utter_faq/oos_request:
- text: that's not something I can help with
utter_faq/thank:
- text: You are welcome!
utter_faq/placeholder:
- text: so
utter_faq/takeacut:
- text: No, my creators don't get a cut from the offsets you buy. I'm just here to help!
utter_faq/opinion:
- text: That is your opinion.
utter_faq/ask_creators:
- text: The research team at Rasa is behind this. Check out rasa.com/research
utter_faq/research_project:
- text: This project is about creating a better AI assistant. Getting people to reduce their carbon footprint is a happy side effect :)
utter_faq/payment-details:
- text: I'm afraid I can't help you with payment details.
utter_faq/not-personally-responsible:
- text: We are all responsible for the choices we make as consumers. We can choose to fly less often, for example. Some airlines have already responded to consumer pressure and started buying offsets.
utter_faq/personal_question_for_bot:
- text: I love that you want to get to know me, but I don't have much of a personality. I'm just a bot.
utter_faq/specific-project-details:
- text: I'm not sure but hopefully you can find an answer at https://offset.earth/projects .
utter_faq/do-people-buy-offsets:
- text: More and more companies and individuals are voluntarily offsetting their carbon emissions. According to goldstandard.org, individual offsets grew fourfold last year.
utter_faq/accuse-scam:
- text: All this bot does is help you calculate the carbon emissions from your flight, and suggest projects you can donate to.
utter_faq/where-money-goes:
- text: When you buy certified emissions reductions (CERs) your payment goes directly to the project offering CERs. Projects have to pass a rigorous verification process set by https://goldstandard.org .
utter_faq/is-this-legit:
- text: All offset projects have to pass a rigorous verification process set by https://goldstandard.org .
utter_faq/deny-climate-change:
- text: "Climate change is absolutely real, and it's caused by humans: https://climate.nasa.gov/evidence/"
utter_faq/deny-offsets-work:
- text: By buying certified carbon offsets, you support a project which reduces the total amount of carbon dioxide we put into the atmosphere. Planting trees, installing renewable power, and making buildings more energy efficient are common examples. You can read what the UN says about offsets at https://offset.climateneutralnow.org/faq_offset_footprint#Buyers .
utter_faq/inquire-cost:
- text: The cost per ton depends on the project you donate to. Some projects can remove a ton of CO2 for less than $1!
utter_faq/layover:
- text: If you have a connecting flight, it's easiest if you ask me about each flight separately.
utter_faq/other-calculation:
- text: For now I can only calculate emissions from flying.
utter_faq/other-language:
- text: I can only do English for now.
utter_faq/general-emissions-reduction:
- text: There are many ways you can reduce your carbon footprint. Flying less is a great place to start!
utter_faq/more-details-process:
- text: I'd recommend checking out https://offset.earth for those details.
utter_SCENARIOCHECK:
- buttons:
- payload: '/SCENARIO{{"context_scenario": "holiday", "holiday_name": "christmas"}}'
title: start
text: Hi, thanks for testing! Please press start.
utter_about:
- text: I was built to help you reduce or offset your greenhouse gas emissions.
utter_acknowledge:
- text: ok
utter_acknowledge_problem_badlink:
- text: Oh no! I am sorry the link doesn't work anymore. I'll let my developers know.
utter_acknowledge_notunderstanding:
- text: Sounds like I'm not understanding you. Sorry about that!
utter_apologize:
- text: Oh no, sorry!
utter_ask_correct_city:
- text: Is one of these correct? {listed_objects}
utter_ask_detailed_estimate:
- text: I can also get you a more accurate estimate of your flight's emissions, sound good?
utter_ask_incorrect_city:
- text: Which city did I get wrong?
utter_ask_travel_departure:
- text: What city will you be flying from?
utter_ask_travel_destination:
- text: And what city will you be flying to?
utter_ask_travel_flight_class:
- text: Will you be travelling in Economy Class?
utter_conference-travel_offer_help:
- text: Can I help you offset the emissions of your flight to the {conference_name} conference?
- text: I hear you'll attend {conference_name}. Can I help you offset your flight's emissions?
utter_could_not_find_airport:
- text: I couldn't find an airport there.
utter_deny:
- text: No
utter_deny_recommend-non-airtravel:
- text: It's great that you avoid flying! Unfortunately, I cannot yet help you with other modes of travel. But you probably already do better than most!
utter_explain_economy_class:
- text: You can fit more economy seats in an airplane, so each passenger is responible for a smaller percentage of all the carbon emitted by the flight.
utter_explain_how_offsets_work:
- text: By buying certified carbon offsets, you support a project which reduces the total amount of carbon dioxide we put into the atmosphere. Planting trees, installing renewable power, and making buildings more energy efficient are common examples. You can read what the UN says about offsets at https://offset.climateneutralnow.org/faq_offset_footprint#Buyers .
utter_explain_no_payment:
- text: Unfortunately you can't buy offsets here directly, you'll have to follow the link.
utter_explain_offset_calculation:
- text: You can find out more about how offsets are calculated at https://www.theguardian.com/travel/2019/jul/31/carbon-calculator-find-out-how-much-co2-your-flight-will-emit
utter_explain_why_offset_travel:
- text: Traveling, especially by airplane, usually emits greenhouse gases which are causing climate change. If you cannot avoid these emissions, you can buy 'offsets', i.e. donations to projects that reduce greenhouse gases.
utter_express_negative-emo_disappointment:
- text: Too bad :-/
utter_express_positive-emo:
- text: :-)
utter_farewell:
- text: Goodbye then!
utter_greet:
- text: Hello!
utter_holiday-travel_offer_help:
- text: I take it you are traveling somewhere and cannot avoid flying there. I can help you purchase certified carbon offsets against any flights you take. Would you be interested in that?
utter_inform_flight_emission_single_long:
- text: A single extended flight (longer than 4830 km) typically emits 855 kilograms of CO2. So if you take the plane both ways, thats 1.7 metric tons.
utter_inform_flight_emission_single_short:
- text: A single passenger on a flight can be responsible for hundreds of kilograms of CO2
utter_inquire-ask_rephrase:
- text: Not sure if I got that right. Could you please rephrase this?
utter_inquire-ask_reqmore:
- text: What would you like to do now?
- text: Can I help you with anything else?
utter_insult:
- text: I am just a chatbot.
- text: I'm still figuring out how to answer that.
- text: I don't think I need to answer that one.
- text: '...'
- text: ''
- text: Do you kiss your mother with that mouth?
- text: That's really not appropriate.
- text: You shouldn't say things like that.
- text: I don't have to put up with that kind of language.
- text: Hmmm... I'm not sure.
- text: Sorry, I don't know.
- text: I'm afraid I don't know what you mean.
- text: Sugar! I have no relevant files.
- text: Let's get back to the topic at hand.
- text: We were discussing carbon offsets.
- text: Moving on...
- text: Consider this a polite dodge of the question.
- text: I'm not sure we have time for this.
- text: I'm going to email a transcript of this conversation to your contact Mum.
- text: I should tell you that there are scientists reading these messages.
- text: Remember scientists are reading these transcripts.
- text: Why do you say that?
- text: What makes you say things like that?
- text: Are you having a bad day and need to let off some steam?
- text: Scientists say the universe is made up of neutrons, protons and electrons. They forgot to mention morons.
- text: I'm sorry, was I meant to be offended? The only thing offending me is your face.
- text: Have a nice day, somewhere else.
- text: You are more disappointing than an unsalted pretzel.
- text: I'll never forget the first time we met. But I'll keep trying.
- text: You are like a cloud. When you disappear it's a beautiful day.
- text: You bring everyone so much joy, when you leave the room.
- text: What would you do if someone said that to someone you care about?
- text: What if someone said that to you?
- text: If someone said that to you, what would you say to them?
utter_vulgar:
- text: I am just a chatbot.
- text: I'm still figuring out how to answer that.
- text: I don't think I need to answer that one.
- text: '...'
- text: ''
- text: Do you kiss your mother with that mouth?
- text: That's really not appropriate.
- text: You shouldn't say things like that.
- text: I don't have to put up with that kind of language.
- text: Hmmm... I'm not sure.
- text: Sorry, I don't know.
- text: I'm afraid I don't know what you mean.
- text: Sugar! I have no relevant files.
- text: Let's get back to the topic at hand.
- text: We were discussing carbon offsets.
- text: Moving on...
- text: Consider this a polite dodge of the question.
- text: I'm not sure we have time for this.
- text: I'm going to email a transcript of this conversation to your contact Mum.
- text: I should tell you that there are scientists reading these messages.
- text: Remember scientists are reading these transcripts.
- text: Why do you say that?
- text: What makes you say things like that?
- text: Are you having a bad day and need to let off some steam?
- text: Please, keep talking. I only yawn when I'm super fascinated.
- text: Scientists say the universe is made up of neutrons, protons and electrons. They forgot to mention morons.
- text: You are proof that evolution can go in reverse.
- text: Have a nice day, somewhere else.
- text: You are like a cloud. When you disappear it's a beautiful day.
- text: You bring everyone so much joy, when you leave the room.
- text: I'm really jealous of all the people who have never met you.
- text: I bet you were up all night trying to come up with that one.
- text: What would you do if someone said that to someone you care about?
- text: What if someone said that to you?
- text: If someone said that to you, what would you say to them?
utter_default:
- text: Sorry I didn't get that. Can you rephrase?
actions:
- action_analyse_travelplan
- action_calculate_offsets
- action_disclaimer
- action_explain_typical_emissions
- action_restart
- action_start
- action_travel_inform_flight_emission_single
- utter_SCENARIOCHECK
- utter_ask_detailed_estimate
- utter_explain_why_offset_travel
- utter_express_positive-emo
- utter_faq
- utter_farewell
- utter_holiday-travel_offer_help
- validate_airtravel_form
forms:
airtravel_form:
ignored_intents:
- faq
- why
- inquire-ask_clarification
required_slots:
travel_flight_class:
- type: from_intent
intent: affirm
value: economy
- type: from_intent
intent: deny
value: business
- type: from_entity
entity: travel_flight_class
travel_departure:
- type: from_entity
entity: city
role: from
- type: from_entity
entity: iata
role: from
- type: from_entity
entity: city
- type: from_entity
entity: iata
- type: from_text
entity: city
travel_destination:
- type: from_entity
entity: city
role: to
- type: from_entity
entity: iata
role: to
- type: from_entity
entity: city
- type: from_entity
entity: iata
- type: from_text
entity: city