-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdomain.yml
110 lines (110 loc) · 2.78 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
version: '2.0'
config:
store_entities_as_slots: true
session_config:
session_expiration_time: 300
carry_over_slots_to_new_session: true
intents:
- greet:
use_entities: true
- goodbye:
use_entities: true
- affirm:
use_entities: true
- deny:
use_entities: true
- mood_great:
use_entities: true
- mood_unhappy:
use_entities: true
- bot_challenge:
use_entities: true
- stock_price:
use_entities: true
- inquire:
use_entities: true
- waste:
use_entities: true
- ask_function:
use_entities: true
- ask_historical_data_stock:
use_entities: true
- select_historical_data_time:
use_entities: true
- ask_stock_price:
use_entities: true
- select_historical_time:
use_entities: true
entities:
- stock
- date_message
slots:
stock:
type: rasa.shared.core.slots.TextSlot
initial_value: null
auto_fill: true
influence_conversation: true
date_message:
type: rasa.shared.core.slots.TextSlot
initial_value: null
auto_fill: true
influence_conversation: true
responses:
utter_greet:
- text: Greetings! I can help you with stock information. How can I help you ?
- text: Hello, I'm your stock assistant. May I help you ?
- text: hey, how's going ? what can I do for you today ?
utter_intro:
- text: It's such an honor to take your service.
utter_function_menu:
- text: Currently I can help you with 1. checkout the price of stocks 2. Get historical data 3. Give you some advice.4. Bragging !!
utter_did_that_help:
- text: Did that help you?
utter_happy:
- text: Great, carry on!
- text: Awesome, thanks! 👍
- text: Sweet, thank you! 😄
- text: Thanks! 👌
- text: Cool, thank you
utter_goodbye:
- text: Bye.See you!!
- text: Good to see you!!
utter_iamabot:
- text: I'm your stock assistant.
utter_ask_stock:
- text: Which stock price you want?
- text: For What Stock ?
- text: Can you tell me the Stock name in order to get the price?
utter_ask_historical_data_time:
- text: Which time of data you want to query ?
utter_affirm:
- text: Done !!
- text: Great !!
utter_waster:
- text: GOOD, good.. umm... make-up words, you can total play with me, It's not silly at all I guess.
utter_default:
- text: Oh, Maybe I should give you a Manual before you talk to me, Cause I'm still a baby, you know.
utter_can_do:
- text: Sure thing!
- text: Can do!
- text: You got it.
utter_historical_result:
- image: '{image}'
text: Here are the historical Figure of {stock} from {start_time} to {end_time}
actions:
- utter_greet
- utter_did_that_help
- utter_happy
- utter_goodbye
- utter_iamabot
- action_stock_price
- utter_ask_stock
- utter_affirm
- utter_intro
- utter_default
- action_historical_price
- utter_historical_result
- utter_cheer_up
- utter_waster
forms: {}
e2e_actions: []