-
Notifications
You must be signed in to change notification settings - Fork 0
/
domain.yml
99 lines (92 loc) · 2.36 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
version: "2.0"
forms:
restaurant_form:
ignored_intents:
- greet
- goodbye
required_slots:
seats:
- type: from_entity
entity: seats
not_intent: time
section:
- type: from_entity
entity: section
actions:
- validate_restaurant_form
- utter_greeting
- utter_goodbye
- utter_booking_confirmation
- utter_unclear
- utter_ask_time
- utter_ask_section
- utter_ask_seats
entities:
- time
- section
- seats
intents:
- greet:
use_entities: []
- time:
use_entities:
- time
- book:
use_entities:
- time
- section
- seats
- section:
use_entities:
- section
- seats:
use_entities:
- seats
- goodbye:
use_entities: []
- faq
- nlu_fallback
slots:
time:
type: unfeaturized
influence_conversation: False
section:
type: categorical
values:
- AC
- Non-AC
influence_conversation: False
seats:
type: float
influence_conversation: False
responses:
utter_greeting:
- text: "Hello! Welcome to Atreya's Multi-cuisine restaurant. How can I help you?"
utter_goodbye:
- text: "Thank you for using our services. See you again!"
utter_ask_time:
- text: "At what time would you like to book a reservation?"
utter_unclear:
- text: "Sorry, I could not understand. Could you please frame your query in a different way?"
utter_ask_seats:
- text: "How many seats would you like to reserve?"
utter_ask_section:
- text: "Which section would you like to book?"
buttons:
- title: "AC"
payload: '/section{{"section":"AC"}}'
- title: "Non-AC"
payload: '/section{{"section":"Non-AC"}}'
utter_booking_confirmation:
- text: "You have reserved {seats} seat(s) in our {section} section for {time}. Thanks!"
utter_faq/timings:
- text: "The restaurant opens at 7pm and closes at 10pm."
utter_faq/days:
- text: "The restaurant is open each and every day."
utter_faq/cancel:
- text: "To cancel a reservation, simply call us at +91-1234567890 and cancel your reservation."
utter_faq/specials:
- text: "Our chef is a master of the Italian cuisine. Our core speciality is our pasta, which is renowned throughout the city."
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true