-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdomain.yml
75 lines (60 loc) · 1.87 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
version: "2.0"
intents:
- greet
- goodbye
- query_knowledge_base
- ask_bot_role
- bot_challenge
- positive_feedback
- unhelpful_feedback
- seek_help
- ask_repotting_advice
- how_to_repot
- how_to_water
- ask_for_plant
entities:
- object_type
- mention
- attribute
- plant
slots:
object_type:
type: text
influence_conversation: false
mention:
type: any
influence_conversation: false
attribute:
type: any
influence_conversation: false
plant:
type: text
influence_conversation: false
responses:
utter_greet:
- text: "Hello! Happy to assist you today."
utter_bot_role:
- text: "I can advise you how to care for certain houseplants and provide you with guidelines on knowing when it's time to water and re-pot your plants."
utter_further_assistance:
- text: "Happy to continue answering your plant-care questions."
utter_disappointment:
- text: "I'm sorry I couldn't be much of assistance today."
utter_repotting_advice:
- text: "Check the bottom of your pot - if you can see the roots of your plant growing through the drainage holes, your plant needs to be repotted in a larger growth pot."
utter_watering_advice:
- text: "Try the finger dip test: dip your index finger in soil up to 2nd knuckle. If the finger is dry, it's time to give your plant a drink."
utter_how_to_repot:
- text: "You can find a step-by-step guide in this video: https://www.youtube.com/watch?v=J-TpZ0Gwm2M"
utter_goodbye:
- text: "Bye"
utter_iamabot:
- text: "I am a bot, powered by Rasa."
utter_ask_rephrase:
- text: "Sorry, I'm not sure I understand. Could you rephrase it?"
- text: "Could you please rephrase your message? I didn't quite get that."
actions:
- action_query_knowledge_base
- search_objects
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true