-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdomain.yml
87 lines (75 loc) · 1.5 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
intents:
- greet:
triggers: utter_greet
- goodbye:
triggers: utter_goodbye
- confirm
- deny
- order
- thanks
- inform_size
- unknown_intent
- ask_for_disease_symptom
- ask_for_symptom_disease
- ask_for_disease_cause
- ask_for_disease_acompany
- ask_for_disease_noteat
- ask_for_disease_doeat
- ask_for_food_not_disease
- ask_for_food_do_disease
- ask_for_disease_drug
- ask_for_drug_disease
- ask_for_disease_check
- ask_for_check_disease
- ask_for_disease_prevent
- ask_for_disease_lasttime
- ask_for_disease_cureway
- ask_for_disease_cureprob
- ask_for_easyget
- ask_for_disease_desc
actions:
- utter_greet
- utter_ask_for_what
- utter_affirm
- utter_change_what
- utter_goodbye
- utter_charge
- utter_default # action_default_fallback自动返回的就是这个动作,可以改写
- search_medicaldb
- utter_reply_disease_symptom
entities:
- type
- size
- Check
- Department
- Disease
- Drug
- Food
- Producer
- Symptom
slots:
type:
type: text
size:
type: text
Disease:
type: text
templates:
utter_greet:
- text: "你好"
utter_ask_for_what:
- text: "您想询问那些问题?"
utter_ask_size:
- text: "想要什么规格的呢?"
utter_affirm:
- text: "确认下这些对吗"
utter_change_what:
- text: "那么想要换点什么呢?"
utter_goodbye:
- text: "再见~祝您健康"
utter_default:
- text: "听不太懂你在说啥呢,我们重新来一遍"
utter_charge:
- text: ""
utter_reply_disease_symptom:
- text: "测试返回"