-
Notifications
You must be signed in to change notification settings - Fork 0
/
skill-Reverse-order-a-pizza.json
392 lines (392 loc) · 9.02 KB
/
skill-Reverse-order-a-pizza.json
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
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
{
"intents": [
{
"intent": "cash_or_card",
"examples": [
{
"text": "Can you pay with cash?"
},
{
"text": "Card or cash?"
},
{
"text": "Cash or card?"
},
{
"text": "Would you like to pay cash or card?"
},
{
"text": "Would you like to pay with a credit card?"
}
],
"description": ""
},
{
"intent": "confirm_time",
"examples": [
{
"text": "around a half an hour"
},
{
"text": "give it about half and hour"
},
{
"text": "give or take 20 minutes"
},
{
"text": "it will be around 20 minutes"
},
{
"text": "that will be 20 minutes"
}
]
},
{
"intent": "delivery_place_greeting",
"examples": [
{
"text": "Dominos Pizza, how can I help you?"
},
{
"text": "Go for Peter."
},
{
"text": "Hello?"
},
{
"text": "Hello, Pizza Hut."
},
{
"text": "Hello, Pizza Hut. How can I help you?"
}
],
"description": ""
},
{
"intent": "get_location",
"examples": [
{
"text": "address please"
},
{
"text": "Address please?"
},
{
"text": "Can I get the address please?"
},
{
"text": "can you tell me where you live?"
},
{
"text": "What's the address?"
},
{
"text": "Where are you located?"
},
{
"text": "where do you live"
},
{
"text": "where do you live/"
},
{
"text": "Where do you live?"
}
],
"description": ""
},
{
"intent": "is_that_all",
"examples": [
{
"text": "Is that all?"
},
{
"text": "Is that it?"
}
],
"description": ""
},
{
"intent": "price_confirmation",
"examples": [
{
"text": "That's a total of 20 euro"
},
{
"text": "That's a total of ten euros"
},
{
"text": "That will be 10 euro and 50 cents"
},
{
"text": "That will be 21 euros and it'll take about 40 min."
},
{
"text": "that will be ten euro and fifty cents"
}
],
"description": ""
},
{
"intent": "type_of_pizza",
"examples": [
{
"text": "What can I get you?"
},
{
"text": "What kind of pizza would you like to order?"
},
{
"text": "What's your order please?"
},
{
"text": "What would you like?"
}
],
"description": ""
}
],
"entities": [],
"metadata": {
"api_version": {
"major_version": "v2",
"minor_version": "2018-11-08"
}
},
"dialog_nodes": [
{
"type": "standard",
"title": "Anything else",
"output": {
"generic": [
{
"values": [
{
"text": "I didn't understand. Can you repeat that please."
},
{
"text": "Can you reword your statement? I'm not understanding."
},
{
"text": "I didn't get your meaning."
}
],
"response_type": "text",
"selection_policy": "sequential"
}
]
},
"metadata": {},
"conditions": "anything_else",
"dialog_node": "Anything else",
"previous_sibling": "node_2_1550944882693"
},
{
"type": "standard",
"output": {
"generic": [
{
"values": [
{
"text": "I'd like a large Hawaiian with extra pineapple on top."
},
{
"text": "I'd like a small personal pepperoni, please."
},
{
"text": "Two large margaritas with some fresh basil please."
}
],
"response_type": "text",
"selection_policy": "random"
}
]
},
"metadata": {},
"conditions": "#type_of_pizza",
"dialog_node": "node_1_1550939629850",
"previous_sibling": "Welcome"
},
{
"type": "standard",
"output": {
"generic": [
{
"values": [
{
"text": "Hi, yes, I'd like to order a pizza please."
},
{
"text": "Hi there, I'd like to order a pizza."
},
{
"text": "Are you guys open already? I'd like to order a pizza."
},
{
"text": "Hi Peter, I'd like to get some pizza."
}
],
"response_type": "text",
"selection_policy": "random"
}
]
},
"metadata": {},
"conditions": "#delivery_place_greeting",
"dialog_node": "node_1_1550941736251",
"previous_sibling": "node_5_1612951494727"
},
{
"type": "standard",
"output": {
"generic": [
{
"values": [
{
"text": "It's Number 4 St. Stephen's green, just down the road from IBM Ireland."
},
{
"text": "55 O'Connell Street."
}
],
"response_type": "text",
"selection_policy": "sequential"
}
]
},
"metadata": {},
"conditions": "#get_location",
"dialog_node": "node_2_1550939751799",
"previous_sibling": "node_1_1550939629850"
},
{
"type": "standard",
"output": {
"generic": [
{
"values": [
{
"text": "Cash please."
},
{
"text": "I'll pay with cash."
},
{
"text": "I'll pay on arrival."
}
],
"response_type": "text",
"selection_policy": "sequential"
}
]
},
"metadata": {},
"conditions": "#cash_or_card",
"dialog_node": "node_2_1550944882693",
"previous_sibling": "node_4_1550940225958"
},
{
"type": "standard",
"output": {
"generic": [
{
"values": [
{
"text": "Yes, that's it. How long will that take?"
},
{
"text": "Yes that's it. Thank you!"
},
{
"text": "Errhm... actually, I'll have a can of coke with that too."
},
{
"text": "You know what? Can I also add add a bottle of Sprite, please?"
}
],
"response_type": "text",
"selection_policy": "random"
}
]
},
"metadata": {},
"conditions": "#is_that_all",
"dialog_node": "node_3_1550939908035",
"previous_sibling": "node_2_1550939751799"
},
{
"type": "standard",
"output": {
"generic": [
{
"values": [
{
"text": "Great. Uhm.. I'll see you soon."
}
],
"response_type": "text",
"selection_policy": "sequential"
}
]
},
"metadata": {},
"conditions": "#price_confirmation",
"dialog_node": "node_4_1550940225958",
"previous_sibling": "node_1_1550941736251"
},
{
"type": "standard",
"title": "Confirm time",
"output": {
"generic": [
{
"values": [
{
"text": "Thank you. Can't wait!"
}
],
"response_type": "text",
"selection_policy": "sequential"
}
]
},
"conditions": "#confirm_time",
"dialog_node": "node_5_1612951494727",
"previous_sibling": "node_3_1550939908035"
},
{
"type": "standard",
"title": "Welcome",
"output": {
"generic": [
{
"values": [
{
"text": "Hi there, I would like to order a pizza for delivery please"
},
{
"text": "Hello, I'd like to order some pizzas for the Node JS Meetup at IBM Ireland"
}
],
"response_type": "text",
"selection_policy": "random"
}
]
},
"metadata": {},
"conditions": "welcome",
"dialog_node": "Welcome"
}
],
"counterexamples": [],
"system_settings": {
"tooling": {
"store_generic_responses": true
}
},
"learning_opt_out": false,
"name": "Reverse order a pizza",
"language": "en",
"description": ""
}