-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdomain.yml
89 lines (76 loc) · 2.57 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
88
89
version: "2.0"
intents:
- greet
- goodbye
- affirm
- deny
- covid_status
- vaccine_info
- out_of_scope
- covid_info
- vaccine_slot
responses:
utter_greet:
- text: "Hey! Welcome to the COVID-19 Bot!"
utter_did_that_help:
- text: "Did that help you?"
utter_happy:
- text: "Great, carry on!"
utter_goodbye:
- text: "Bye"
utter_iamabot:
- text: "I am a bot, powered by Rasa."
utter_fallback:
- text: "Sorry! I coudn't get you. Please ask any of the following questions."
buttons:
- title: Active cases in India
payload: /covid_status{{"stage":"active"}}
- title: Confirmed cases in Maharashtra
payload: /covid_status{{"state":"Maharashtra","stage":"confirmed"}}
- title: Most affected states
payload: /covid_status{{"top_bottom":"top","stage":"active"}}
- title: Least affected states
payload: /covid_status{{"top_bottom":"bottom","stage":"active"}}
- title: People fully vaccinated
payload: /vaccine_info{{"level":"people_vaccinated","country":"India"}}
- text: "Sorry! I coudn't get you. Please ask any of the following questions."
quick_replies:
- title: Active cases in India
payload: /covid_status{{"stage":"active"}}
content_type: text
- title: Confirmed cases in Maharashtra
payload: /covid_status{{"state":"Maharashtra","stage":"confirmed"}}
content_type: text
- title: Most affected states
payload: /covid_status{{"top_bottom":"top","stage":"active"}}
content_type: text
- title: Least affected states
payload: /covid_status{{"top_bottom":"bottom","stage":"active"}}
content_type: text
- title: People fully vaccinated
payload: /vaccine_info{{"level":"people_vaccinated","country":"India"}}
content_type: text
utter_covid_info:
- text: "Coronavirus disease (COVID-19) is an infectious disease caused by a newly discovered coronavirus."
- text: "Coronavirus disease 2019 (COVID-19) is defined as illness caused by a novel coronavirus now called severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2; formerly called 2019-nCoV), which was first identified amid an outbreak of respiratory illness cases in Wuhan City, Hubei Province, China."
actions:
- action_covid_search
- action_vaccine_status
- utter_fallback
- default_fallback_action
- utter_covid_info
- covid_info_action
- action_vaccine_slot
entities:
- country
- state
- pandemic
- stage
- level
- top_bottom
- rate
- district
- pincode
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true