-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdomain.yml
225 lines (201 loc) · 6.42 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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
version: "3.1"
intents:
- greet
- goodbye
- affirm
- deny
- bot_challenge
- request_for_idea
- request_for_idea_details
- tell_idea
- tell_skills
- inquire_bot_abilities
- affirm_proceed_with_idea
- deny_proceed_with_idea
- tell_competitors_positive
- tell_competitors_negative
- tell_customers_positive
- tell_customers_negative
- choose_skill_basis
- choose_investment_basis
- choose_all_basis
- tell_investment_high
- tell_investment_low
- tell_investment_med
entities:
- idea
slots:
idea:
type: list
mappings:
- type: from_entity
entity: idea
intent: tell_idea
- type: from_entity
entity: idea
intent: request_for_idea_details
- type: from_entity
entity: idea
intent: tell_skills
has_customers:
type: bool
influence_conversation: false
mappings:
- type: from_intent
intent: tell_customers_positive
value: true
- type: from_intent
intent: tell_customers_negative
value: false
has_competitors:
type: bool
influence_conversation: false
mappings:
- type: from_intent
intent: tell_competitors_positive
value: true
- type: from_intent
intent: tell_competitors_negative
value: false
investment_level:
type: text
influence_conversation: false
mappings:
- type: from_intent
intent: tell_investment_high
value: high
- type: from_intent
intent: tell_investment_low
value: low
- type: from_intent
intent: tell_investment_med
value: med
# proceed_with_idea:
# type: bool
# initial_value: false
# mappings:
# - type: from_intent
# value: true
# intent: affirm_proceed_with_idea
responses:
utter_ask_investment:
- text: "How much money can you invest into your business?"
buttons:
- title: "less than 50000"
payload: "/tell_investment_low"
- title: "50000-100000"
payload: "/tell_investment_med"
- title: "more than 100000"
payload: "/tell_investment_high"
utter_ask_basis:
- text: "Do you want to see ideas based on how much to invest or based on your skills?"
buttons:
- title: "Based on investment"
payload: "/choose_investment_basis"
- title: "Based on skills"
payload: "/choose_skill_basis"
# - title: "Show me all ideas"
# payload: "/choose_all_basis"
utter_ask_idea:
- text: "Do you have any other idea in mind?"
buttons:
- title: "Cooking"
payload: '/tell_idea{"idea":"cooking"}'
- title: "Teaching"
payload: '/tell_idea{"idea":"teaching"}'
- text: "No problem... tell me what you would like to talk about?"
buttons:
- title: "Cooking"
payload: '/tell_idea{"idea":"cooking"}'
- title: "Teaching"
payload: '/tell_idea{"idea":"teaching"}'
- text: "Ah that's okay... what would you like to talk about?"
buttons:
- title: "Cooking"
payload: '/tell_idea{"idea":"cooking"}'
- title: "Teaching"
payload: '/tell_idea{"idea":"teaching"}'
- text: "That's no problem! tell me what you want to talk about"
buttons:
- title: "Cooking"
payload: '/tell_idea{"idea":"cooking"}'
- title: "Teaching"
payload: '/tell_idea{"idea":"teaching"}'
utter_greet:
- text: "Hey! What can I do for you?"
buttons:
- title: "Give me business ideas"
payload: "/request_for_idea"
- title: "What can you do for me?"
payload: "/inquire_bot_abilities"
- title: "who are you?"
payload: "/bot_challenge"
utter_ask_skills:
- text: "Tell me about your skills, so I can suggest you ideas"
buttons:
- title: "I am good at cooking"
payload: '/tell_skills{"idea":"cooking"}'
- title: "I am good at raring"
payload: '/tell_skills{"idea":"raring"}'
- title: "I can do teaching"
payload: '/tell_skills{"idea":"teaching"}'
utter_goodbye:
- text: "I hope I could help! All the best, gelathi!"
- text: "I wish you all the best in your journey, gelathi!"
- text: "Alright gelathi! good luck and I hope I was of some help :)"
- text: "Okayy! Best of luck, gelathi! I hope you make a lot of money :)"
utter_iamabot:
- text: "I am a bot trying to help you figure out a business idea. What can I do for you ?"
utter_bot_abilities:
- text: "You can start by asking me suggestions for a business idea or asking me to talk about any idea that you have in mind :)"
buttons:
- title: "Okay tell me some ideas"
payload: "/request_for_idea"
utter_okay_idea:
- text: "Great! Lets talk about {idea}!"
utter_ask_competitors:
- text: "How many competitors might be there around you?"
buttons:
- title: "Yes, competitors are there"
payload: "/tell_competitors_positive"
- title: "No, not many competitors are there"
payload: "/tell_competitors_negative"
utter_ask_investment_returns_finalization:
- text: "so, are the investment details okay with you?"
- text: "will you be able to invest your time, effort and money into this?"
utter_ask_customers:
- text: "How many potential customers would you be able to get?"
buttons:
- title: "Yes, customers are there"
payload: "/tell_customers_positive"
- title: "No, not many customers are there"
payload: "/tell_customers_negative"
- text: "Are there a lot of customers around there? How many do you think you can get?"
buttons:
- title: "Yes, customers are there"
payload: "/tell_customers_positive"
- title: "No, not many customers are there"
payload: "/tell_customers_negative"
- text: "Consider the amount of customers for your business around that area? are there any? are there many?"
buttons:
- title: "Yes, customers are there"
payload: "/tell_customers_positive"
- title: "No, not many customers are there"
payload: "/tell_customers_negative"
utter_test:
- text: "This is the slot values : {proceed_with_idea}"
utter_proceed_with_idea_or_not:
- text: "Would you like to talk more about this? If no choose another topic to talk about"
buttons:
- title: "Proceed with idea"
payload: "/affirm_proceed_with_idea"
- title: "No tell me something else"
payload: "/deny_proceed_with_idea"
actions:
- action_show_ideas
- action_take_idea_forward
- action_tell_investment_returns
- action_summarize
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true