-
Notifications
You must be signed in to change notification settings - Fork 4
/
domain.yml
102 lines (94 loc) · 3.14 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
version: "3.1"
intents:
- greet
- goodbye
- affirm
- deny
entities:
- name
- date_of_birth
- address
forms:
open_savings_account:
required_slots:
- name
- address
- date_of_birth
slots:
name:
type: text
mappings:
- type: from_text
conditions:
- active_loop: open_savings_account
requested_slot: name
date_of_birth:
type: text
mappings:
- type: from_entity
entity: date_of_birth
conditions:
- active_loop: open_savings_account
requested_slot: date_of_birth
address:
type: text
mappings:
- type: from_entity
entity: address
conditions:
- active_loop: open_savings_account
requested_slot: address
responses:
utter_ask_name:
- text: Sure! I'd be happy to help you open a savings account. Let me collect some details first. What is your full name?
utter_ask_address:
- text: Please enter your current address
utter_ask_date_of_birth:
- text: What is your date of birth?
utter_explain_address:
- text: Your address is required for us to complete our know your customer (KYC) due diligence checks as required by law.
utter_greet:
- text: "Hey! How are you?"
utter_goodbye:
- text: "Bye"
utter_out_of_scope:
- text: "Sorry, but I can't help you with that."
metadata:
allow_variation: true
utter_faq_0:
- text: You can use Zelle from within our app to send money for free.
utter_faq_1:
- text: 'Please follow the instructions [here](https://example.com) to link your card to the app. '
utter_faq_2:
- text: Our live exchange rates are available online, 24/7 [here](https://example.com)
utter_faq_3:
- text: A cash withdrawal may be pending if the funds are not yet available in your
account or if the ATM requires additional verification
utter_faq_4:
- text: We currently offer 24 currencies, including USD, EUR, GBP, JPY, CAD, AUD,
and more!
utter_faq_5:
- text: Absolutely! We offer a feature that allows you to set up automatic transfers
to your account while you're away. Would you like to learn more about this feature?
utter_faq_6:
- text: You can contact our customer service team to have your PIN unblocked. You
can reach them by calling our toll-free number at 1-800-555-1234.
utter_faq_7:
- text: We charge a $5 fee to send or receive a wire transfer. Premium customers
get 3 free wire transfers per month.
utter_faq_8:
- text: You can apply directly [here](https://example.com) for a loan to help you with your home renovations.
utter_faq_9:
- text: We offer personal loans for a variety of purposes. Would you like to know
more about our personal loan options?
utter_faq_10:
- text: If you'd like to add someone as an authorized user on your credit card,
please visit us in your local branch. You'll both need to bring ID.
utter_faq_11:
- text: If you aren't able to visit your local branch, please call our toll-free
number at 1-800-555-1234 and we'll see how we can help
utter_faq_12:
- text: sorry, I can't help you with that.
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true