-
Notifications
You must be signed in to change notification settings - Fork 1
/
domain.yml
137 lines (137 loc) · 3.12 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
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true
intents:
- greet
- goodbye
- affirm
- deny
- thankyou
- out_of_scope
- dates
- user_inputs_noTickets
- user_inputs_pdName
- user_inputs_pdEmail
- user_inputs_pdNumber
- user_inputs_movieChoice
- movieChoice
- user_inputs_seats
- user_inputs_ticketid
entities:
- movieDate
- movieChoice
- noTickets
- pdName
- pdEmail
- pdNumber
- seats
- ticketID
slots:
movieChoice:
type: text
movieDate:
type: text
noTickets:
type: text
payment_flag:
type: bool
pdEmail:
type: text
pdName:
type: text
pdNumber:
type: text
seats:
type: text
ticketDetails:
type: text
ticketID:
type: text
responses:
utter_greet:
- text: Hey Human!
- text: Hello
- text: Hi
- text: Hi,I hope you're doing well
utter_userBooking_confirmation:
- buttons:
- payload: Yes
title: Yes
- payload: No
title: No
text: Would like me to book tickets for a movie?
utter_user_ticket_retrieval:
- buttons:
- payload: Yes
title: Yes
- payload: No
title: No
text: Would like me to fetch your previously booked ticket?
utter_ask_noTickets:
- text: Please tell me the number of tickets you want me to book for the movie
utter_ask_pdName:
- text: 'Please input your name in the format [name: YOUR NAME] or in a sentence
like "my name is mad".'
utter_ask_pdEmail:
- text: 'Please input your email address in the format [email: YOUR EMAIL] or in
a sentence like "my email is [email protected]"'
utter_ask_pdNumber:
- text: 'Please input your 10 digit phone number without country code in the format
[phone: YOUR PHONE NUMBER] or in a sentence like "my number is 7053001314"'
utter_request_ticketid:
- text: 'Please input your Ticket ID in the format [ID: YOUR TICKET ID] or in a
sentence like "my ticket id is 1158"'
utter_thanks:
- text: Hope to see you soon!
utter_goodbye:
- text: Bye
utter_confirmation_for_booking:
- text: Would you like to continue booking tickets for this movie?
utter_form_deactivated:
- text: Booking cancelled !
utter_movie_confirmation:
- buttons:
- payload: Yes
title: Yes
- payload: No
title: No
text: Continue to book tickets for this movie?
utter_seat_confirmation:
- buttons:
- payload: Yes
title: Yes
- payload: No
title: No
text: Continue to book tickets for this movie with the selected seats?
utter_final_confirmation:
- buttons:
- payload: Yes
title: Yes
- payload: No
title: No
text: Can I finalize and book the tickets ?
actions:
- utter_greet
- utter_userBooking_confirmation
- ask_date
- ask_movieChoice
- print_imdb_movie_details
- utter_ask_noTickets
- utter_ask_pdName
- utter_ask_pdEmail
- utter_ask_pdNumber
- utter_thanks
- utter_goodbye
- utter_confirmation_for_booking
- utter_form_deactivated
- utter_movie_confirmation
- utter_seat_confirmation
- slot_display
- slot_check
- utter_final_confirmation
- personal_details_check
- ticket_generation
- handle_payment
- utter_user_ticket_retrieval
- utter_request_ticketid
- ticket_retrieval