-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdomain.yml
145 lines (138 loc) · 3.77 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
intents:
#add your intents
- greet
- affirm
- affirm_log
- deny
- deny_log
- default
- balance
- transfer
- offers
- describe_loans
- describe_credit
- describe_debit
- input_loginid
- input_receiveracc
- input_transferamt
- input_email
- what_services
- no_account
- creators
slots:
loginId:
type: text
offerName:
type: text
receiverAcc:
type: text
transferAmt:
type: text
mail:
type: text
actions:
- utter_greet
- utter_ask_login_for_services
- utter_goodbye
- utter_goodbye_logout
#- utter_asklogin
- utter_anythingelse
- utter_anythingelse_ext
- utter_default
- utter_success
- utter_fail
- utter_askAccNo
- utter_askAmt
- utter_incompletedata
- utter_wait
- utter_retry
- utter_balance
- utter_login
- utter_loginsuccess
- utter_offers1
- utter_offers2
- utter_loanDesc
- utter_creditCardDesc
- utter_debitCardDesc
- utter_askregister
- utter_confirmregister
- utter_extra
- utter_askmail
- utter_askservice
- utter_optional
- utter_bot_services
- utter_account_help
- utter_bot_details
templates:
#templates the bot should respond with
utter_greet:
- "Hello!"
- "Hey!"
- "Hi!"
utter_ask_login_for_services:
- "To avail my services, you may need to log in to your account. Would you like to log in now?"
utter_optional:
- "(You may also ask me any other question. I'll try my best to answer it.)"
utter_goodbye:
- "Bye! Thank you for using our services."
utter_goodbye_logout:
- "You have been successfully logged out. Thank you for using my services!"
utter_anythingelse:
- "May I help you with anything else?"
utter_anythingelse_ext:
- "Would you like to avail my other services?"
utter_default:
- "Sorry, I didn't understand what you said."
utter_success:
- "Transaction Successful."
utter_fail:
- "Sorry! Transaction Failed."
utter_askAccNo:
- "What is the receiver's account number?"
utter_askAmt:
- "How much amount would you like to transfer?"
utter_incompletedata:
- "Data is incomplete!"
utter_wait:
- "Please wait a moment..."
utter_retry:
- "Please try again"
utter_balance:
- "Your account balance is XXXXX"
utter_login:
- "What is your login ID (account number)?"
utter_loginsuccess:
- "Login Successful!"
utter_offers1:
- text: "Some of the most popular offers are:"
buttons:
- title: "Loan"
payload: "Loan"
- title: "Credit Card"
payload: "Credit Card"
- title: "Debit Card"
payload: "Debit Card"
utter_offers2:
- "Which offer would you like to know more about?"
utter_loanDesc:
- "Home/car/education loan offers"
utter_creditCardDesc:
- "Credit Card Offers"
utter_debitCardDesc:
- "Debit Card Offers"
utter_askregister:
- "Do you wish to register for this offer?"
utter_confirmregister:
- "A memo of registration details will be mailed to you shortly."
utter_extra:
- "Would you like to browse our offers?"
utter_askmail:
- "Please enter your email address to receive offer details."
utter_askservice:
- "What service would you like to avail?"
utter_bot_services:
- "I am chatbot for customer banking support. As of now, I can help you in money transfer, balance checking and offer browsing."
utter_account_help:
- "Sorry! You cannot use my services without an account number. You can still browse our offers if you donot wish to log in."
utter_bot_details:
- "I am a chatbot running on RASA core with a backend of SPACY/tensorflow (powered by Python). I was trained by Gulshan Kumar, Sahil Kumar & Piyush Nandi."