-
Notifications
You must be signed in to change notification settings - Fork 18
/
transfer_money.yml
52 lines (49 loc) · 1.5 KB
/
transfer_money.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
version: "3.1"
actions:
- check_transfer_funds
- execute_transfer
slots:
transfer_money_transfer_successful:
type: bool
mappings:
- type: custom
action: execute_transfer
transfer_money_has_sufficient_funds:
type: bool
mappings:
- type: custom
action: check_transfer_funds
transfer_money_recipient:
type: text
mappings:
- type: from_llm
transfer_money_amount_of_money:
type: text
mappings:
- type: from_llm
transfer_money_final_confirmation:
type: text
mappings:
- type: from_llm
responses:
utter_transfer_money_insufficient_funds:
- text: You don't have so much money on your account!
utter_transfer_failed:
- text: something went wrong transferring the money.
utter_out_of_scope:
- text: Sorry, I'm not sure how to respond to that. Type "help" for assistance.
utter_ask_transfer_money_amount_of_money:
- text: How much money do you want to transfer?
utter_ask_transfer_money_recipient:
- text: Who do you want to transfer money to?
utter_transfer_complete:
- text: Successfully transferred {transfer_money_amount_of_money} to {transfer_money_recipient}.
utter_transfer_cancelled:
- text: Transfer cancelled.
utter_ask_transfer_money_final_confirmation:
- buttons:
- payload: yes
title: "Yes"
- payload: no
title: "No, cancel the transaction"
text: Would you like to transfer {transfer_money_amount_of_money} to {transfer_money_recipient}?