-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathdomain.yml
49 lines (40 loc) · 1.08 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
version: "2.0"
intents:
- greet
- goodbye
- affirm
- deny
- mood_great
- mood_unhappy
- bot_challenge
- ICU_Vacant_beds
- Non_ICU_Vacant_beds
responses:
utter_greet:
- text: "Are you looking for vacant beds?"
buttons:
- payload: "/affirm"
title: "YES"
- payload: "/deny"
title: "NO"
utter_beds_type:
- text: "What are you looking for?"
buttons:
- payload: "/ICU_Vacant_beds"
title: "ICU Vacant Beds"
- payload: "/Non_ICU_Vacant_beds"
title: "Non ICU Vacant Beds"
utter_sure:
- text: "Sure, let me check..."
utter_goodbye:
- text: "Thanks for the visit. \nWear mask, wash your hands regularly and keep 3m distance from each other. \nStay Home, Stay safe.\n"
utter_iamabot:
- text: "I am a bot, powered by Rasa."
utter_also_check:
- text: "Also check this link for area wise requirements: [COVID ARMY](https://covid.army/)"
actions:
- action_check_icu_vacant_beds
- action_check_non_icu_vacant_beds
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true