-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdomain.yml
72 lines (72 loc) · 2.82 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
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true
intents:
- greet
- goodbye
- affirm
- deny
- mood_great
- mood_unhappy
- bot_challenge
- corona_food_spread
- weather_effect
- corona_spread
- risk
- corona_intro
responses:
utter_greet:
- text: Hey! How are you?
utter_cheer_up:
- image: https://i.imgur.com/nGF1K8f.jpg
text: 'Here is something to cheer you up:'
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_corona_intro:
- text: Coronaviruses are a large family of viruses which may cause illness in animals
or humans. In humans, several coronaviruses are known to cause respiratory
infections ranging from the common cold to more severe diseases such as Middle
East Respiratory Syndrome (MERS) and Severe Acute Respiratory Syndrome (SARS).
The most recently discovered coronavirus causes coronavirus disease COVID-19.
utter_corona_spread:
- text: People can catch COVID-19 from others who have the virus. The disease can
spread from person to person through small droplets from the nose or mouth which
are spread when a person with COVID-19 coughs or exhales. These droplets land
on objects and surfaces around the person. Other people then catch COVID-19
by touching these objects or surfaces, then touching their eyes, nose or mouth.
People can also catch COVID-19 if they breathe in droplets from a person with
COVID-19 who coughs out or exhales droplets. This is why it is important to
stay more than 1 meter (3 feet) away from a person who is sick.
utter_food_spread:
- text: 'There is currently no evidence that people can catch COVID-19 from food
or food packaging. COVID-19 is a respiratory illness and the transmission route
is through person-to-person contact and through direct contact with respiratory
droplets generated when an infected person coughs or sneezes. '
utter_weather_effect:
- text: You can catch COVID-19, no matter how sunny or hot the weather is. Countries
with hot weather have reported cases of COVID-19. To protect yourself, make
sure you clean your hands frequently and thoroughly and avoid touching your
eyes, mouth, and nose.
utter_risk:
- text: While we are still learning about how COVID-2019 affects people, older persons
and persons with pre-existing medical conditions (such as high blood pressure,
heart disease, lung disease, cancer or diabetes) appear to develop serious
illness more often than others.
actions:
- utter_greet
- utter_cheer_up
- utter_did_that_help
- utter_happy
- utter_goodbye
- utter_iamabot
- utter_corona_intro
- utter_corona_spread
- utter_food_spread
- utter_weather_effect
- utter_risk