-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdomain.yml
84 lines (73 loc) · 1.8 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
version: "3.1"
intents:
- greet
- goodbye
- affirm
- deny
- ask_term_price_all
- ask_term_price_one
- ask_term_late_fees
- ask_teacher_all
- ask_teacher_contact
- ask_teacher_teach
- ask_required_subject
- ask_elective_subject
- ask_subject_one_term
- ask_subject_education_term
- ask_subject_language
- ask_subject_credit
- out_of_scope
entities:
- year
- term
- tname
- sname
slots:
educationYear:
type: text
influence_conversation: false
mappings:
- type: from_entity
entity: year
educationTerm:
type: text
influence_conversation: false
mappings:
- type: from_entity
entity: term
teacherName:
type: text
influence_conversation: false
mappings:
- type: from_entity
entity: tname
subjectName:
type: text
influence_conversation: false
mappings:
- type: from_entity
entity: sname
responses:
utter_greet:
- text: "สวัสดีค่ะ ต้องการสอบถามเรื่องอะไรคะ"
utter_goodbye:
- text: "ยินดีที่ได้ช่วยค่ะ"
utter_fallback:
- text: "ขออภัยค่ะ สิ่งที่คุณพิมพ์มาเราไม่สามารถตอบได้ กรุณาพิมพ์ใหม่ได้ไหมคะ"
actions:
- action_term_price_all
- action_term_price_one
- action_term_late_fees
- action_teacher_all
- action_teacher_contact
- action_teacher_teach
- action_required_subject
- action_elective_subject
- action_subject_one_term
- action_subject_education_term
- action_subject_language
- action_subject_credit
- action_fallback
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true