forked from zqhZY/_rasa_chatbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mobile_domain.yml
67 lines (63 loc) · 1.57 KB
/
mobile_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
slots:
item:
type: text
time:
type: text
phone_number:
type: text
price:
type: text
intents:
- greet
- confirm
- goodbye
- thanks
- inform_item
- inform_package
- inform_time
- request_management
- request_search
- deny
- inform_current_phone
- inform_other_phone
entities:
- item
- time
- phone_number
- price
templates:
utter_greet:
- "您好!,我是机器人小热,很高兴为您服务。"
- "你好!,我是小热,可以帮您办理流量套餐,话费查询等业务。"
- "hi!,人家是小热,有什么可以帮您吗。"
utter_goodbye:
- "再见,为您服务很开心"
- "Bye, 下次再见"
utter_default:
- "您说什么"
- "您能再说一遍吗,我没听清"
utter_thanks:
- "不用谢"
- "我应该做的"
- "您开心我就开心"
utter_ask_morehelp:
- "还有什么能帮您吗"
- "您还想干什么"
utter_ask_time:
- "你想查哪个时间段的"
- "你想查几月份的"
utter_ask_package:
- "我们现在支持办理流量套餐:套餐一:二十元包月三十兆;套餐二:四十元包月八十兆,请问您需要哪个?"
- "我们有如下套餐供您选择:套餐一:二十元包月三十兆;套餐二:四十元包月八十兆,请问您需要哪个?"
utter_ack_management:
- "已经为您办理好了{item}"
actions:
- utter_greet
- utter_goodbye
- utter_default
- utter_thanks
- utter_ask_morehelp
- utter_ask_time
- utter_ask_package
- utter_ack_management
- bot.ActionSearchConsume