-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdomain.yml
More file actions
72 lines (72 loc) · 1.36 KB
/
domain.yml
File metadata and controls
72 lines (72 loc) · 1.36 KB
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
version: '3.1'
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true
entities:
- email
- last_name
- first_name
- full_name
intents:
- greet
- inform
- signup
- bye
- affirm
- deny
- bot_challange
- out_of_scope
slots:
email:
type: any
influence_conversation: false
mappings:
- type: custom
first_name:
type: text
influence_conversation: false
mappings:
- type: custom
last_name:
type: text
influence_conversation: false
mappings:
- type: custom
responses:
utter_bye:
- text: |
Goodbye!
utter_out_of_scope/other:
- text: |
I dont understand sorry!
utter_out_of_scope/non_english:
- text: |
I only speak English :(
utter_bot_challenge:
- text: |
I am a bot!
utter_greet:
- text: |
Hello! How can I help you?
- text: |
Hi!
utter_ask_email:
- text: |
What is your email address?
utter_signedup:
- text: |
Check your inbox at {email} in order to finish signing up on Liberta Casa!
You're all set! Check your inbox at {email} to confirm your registration.
actions:
- '...'
- utter_greet
- utter_signedup
forms:
signup_form:
required_slots:
- email
# - type: from_slot
- first_name
# - type: from_slot
- last_name
# - type: from_slot