forked from rishier827/HR_Bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
domain.yml
60 lines (56 loc) · 1.63 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
intents:
- askLeaveBalance
- askLeaveTypes
- whereToApplyLeaves
- chitchat
actions:
- respond_chitchat
- utter_askLeaveBalance
- utter_askLeaveTypes
- utter_whereToApplyLeaves
- action_greet_user
templates:
utter_askLeaveBalance:
- text: "here is your leave balance details"
custom:
payload: chart
data:
title: Leaves
labels:
- Sick Leave
- Casual Leave
- Earned Leave
- Flexi Leave
backgroundColor:
- "#36a2eb"
- "#ffcd56"
- "#ff6384"
- "#009688"
- "#c45850"
chartsData:
- 5
- 10
- 22
- 3
chartType: pie
displayLegend: 'true'
utter_askLeaveTypes:
- text: "You can apply for below leaves"
custom:
payload: "collapsible"
data:
- title: Sick Leave
description: Sick leave is time off from work that workers can use to stay home
to address their health and safety needs without losing pay.
- title: Earned Leave
description: 'Earned Leaves are the leaves which are earned in the previous year
and enjoyed in the preceding years. '
- title: Casual Leave
description: Casual Leave are granted for certain unforeseen situation or were you
are require to go for one or two days leaves to attend to personal matters and
not for vacation.
- title: Flexi Leave
description: Flexi leave is an optional leave which one can apply directly in system
at lease a week before.
utter_whereToApplyLeaves:
- text: "You can apply leave here at abc..."