-
Notifications
You must be signed in to change notification settings - Fork 2
/
domain.yml
78 lines (73 loc) · 1.69 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
version: "2.0"
slots:
cuisine:
type: text
people:
type: text
location:
type: text
price:
type: text
info:
type: text
name:
type: text
influence_conversation: False
matches:
type: text
influence_conversation: False
entities:
- location
- info
- people
- price
- cuisine
intents:
- greet
- affirm
- deny
- inform
- thankyou
- request_info
- goodbye
responses:
utter_greet:
- text: "hey there!"
utter_goodbye:
- text: "goodbye"
- text: "Bye-bye"
utter_default:
- text: "I didn't quite get that. Can you repeat?"
utter_ack_dosearch:
- text: "ok let me see what I can find"
utter_ack_findalternatives:
- text: "ok let me see what else there is"
utter_ack_makereservation:
- text: "ok making a reservation for restaurant {name} ({cuisine}, {price}), in {location} location, for {people} people? "
buttons:
- title: "thank you"
payload: "thank you"
utter_ask_cuisine:
- text: "what kind of cuisine would you like?"
utter_ask_howcanhelp:
- text: "how can I help you?"
utter_ask_location:
- text: "where?"
utter_ask_moreupdates:
- text: "if you'd like to modify anything else, please tell me what. This is what I currently have: (location: {location}, price: {price}, cuisine: {cuisine}) for {people} people."
utter_ask_numpeople:
- text: "for how many people?"
utter_ask_price:
- text: "in which price range?"
buttons:
- title: "cheap"
payload: "cheap"
- title: "moderate"
payload: "moderate"
- title: "expensive"
payload: "expensive"
utter_on_it:
- text: "I'm on it"
actions:
- action_search_restaurants
- action_suggest