-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdomain.yml
58 lines (47 loc) · 1.11 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
intents:
- greet
- request_room
- inform
- faq
actions:
- respond_faq
entities:
- number
- date
- days
- room_type
forms:
- hotel_form
slots:
number_of_persons:
type: float
nights:
type: text
date:
type: text
room_type:
type: categorical
values:
- Junior
- Senior
responses:
utter_greet:
- text: "Herzlich Willkommen! Ich bin der Chatbot des Hotels 'Zum sprechenden Bot'. Wie kann ich helfen?"
utter_ask_number_of_persons:
- text: "Wie viele Personen werdet ihr sein?"
utter_ask_date:
- text: "Wann wollt ihr zu uns kommen?"
utter_ask_nights:
- text: "Wie lange werdet ihr bei uns sein?"
utter_ask_room_type:
- text: "In welchen Zimmer wollt ihr schlafen. In einer Junior oder Senior Suite?"
buttons:
- title: "Junior Suite"
payload: '/choose{"room_type": "Junior"}'
- title: "Senior Suite"
payload: '/choose{"room_type": "Senior"}'
utter_submit:
- text: "Die Reservierung für eine {room_type} Suite ist bei uns eingegangen."
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true