-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdomain.yml
65 lines (65 loc) · 1.36 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
version: '3.1'
intents:
- account_documents
- ask_balance
- check_status
- create_account
- goodbye
- greet
- order_product
- transfer_money
- view_account_details
- view_transactions
entities:
- recipient
- source
- amount
- product
slots:
amount:
type: float
mappings:
- type: from_entity
entity: amount
recipient:
type: text
mappings:
- type: from_entity
entity: recipient
product:
type: text
mappings:
- type: from_entity
entity: product
source:
type: text
mappings:
- type: from_entity
entity: source
responses:
utter_greet:
- text: Hello! How can I assist you today?
utter_create_account:
- text: 'Sure! To create an account, please visit this URL: [Sign Up](http://127.0.0.1:8000/inscription)'
utter_goodbye:
- text: Goodbye!
utter_balance:
- text: Your current balance is {balance}.
actions:
- action_transfer_money
- utter_greet
- display_documents_list
- utter_create_account
- action_check_balance
- action_view_transactions
- action_view_account_details
- action_order_product
- action_check_status
templates:
utter_greet:
- text: Hello! How can I assist you today?
utter_create_account:
- text: 'Sure! To create an account, please visit this URL: [Sign Up](http://127.0.0.1:8000/inscription)'
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true