-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdomain.yml
94 lines (87 loc) · 2.75 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
90
91
92
93
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true
intents:
- greet
- affirm
- deny
- express_positive_feeling
- express_negative_feeling
- express_vague_feeling
- express_need
- explain
- contact_details
entities:
- positive_feeling
- negative_feeling
- need
responses:
utter_greet:
- text: Hey! What do you need?
utter_cheer_up:
- image: https://i.imgur.com/nGF1K8f.jpg
text: 'Here is something to cheer you up:'
utter_financial_support:
- text: 'Try this new tool to see if you can get support: https://regelingen-check.tno.nl/'
utter_proof:
- text: 'You can get your proof here: https://uittreksels.nl . It is free and easy!'
utter_did_that_help:
- text: Did that help you?
utter_cant_help:
- text: I feel sad I don't know how to help you with that...
utter_happy:
- text: Happy i could help you. Anything else you need?
utter_sorry:
- text: Sorry I am of no use for you. Maybe you could try contact a real person.
utter_goodbye:
- text: Bye
utter_iamabot:
- text: I am Blue Fairy, powered by Rasa.
utter_ask_howyoufeel:
- text: How are you feeling today?
- text: How are you feeling now?
- text: What are you feeling now?
- text: What are you feeling today?
- text: How do you feel in this moment?
- text: How are you feeling in this moment?
utter_positive_confirm:
- text: That's great!
utter_negative_confirm:
- text: I imagine that's though
utter_anything_else:
- text: Can I help you with anything else?
utter_confirm_negative_feeling:
- text: "So, you are feeling {negative_feeling}?"
utter_confirm_positive_feeling:
- text: "So, you are feeling {positive_feeling}?"
utter_confirm_need:
- text: "So, you have a need for {need}?"
utter_positive_deny:
- text: I misunderstood, can you elaborate?
utter_negative_deny:
- text: I'm sorry I misunderstood, can you elaborate?
utter_elaborate:
- text: "I don't quite get it, can you elaborate?"
utter_ask_for_need:
- text: "What do you need that would help you feel better?"
utter_thank_you_for_need:
- text: Thank you for expressing your need
utter_ask_contact_details:
- text: If you would like to, please leave contact details with me if you would like to be helped with this need.
utter_ask_howcomeyoufeel:
- text: How come you feel this way?
utter_ask_contact_for_offer:
- text: If you would like to help someone else feel this way, please leave your contact details.
utter_thanks_for_leaving_details:
- text: Thanks for leaving your details. Do you have more feelings you would like to express?
slots:
positive_feeling:
type: text
negative_feeling:
type: text
need:
type: text
actions:
- utter_confirm_positive_feeling
- utter_confirm_negative_feeling
- utter_confirm_need