-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdomain.yml
93 lines (87 loc) · 2.52 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
version: "3.1"
intents:
- greet
- goodbye
- affirm
- deny
- ask_recommendation
- ask_data_analysis
- introduce_name
- chitchat_ask_name
- chitchat_tell_joke
- chitchat_favorite_color
- chitchat_weather
- out_of_scope
- ask_capabilities
- thanks
- apology
- ask_correlation
- inform
- nlu_fallback
entities:
- age
- gender
- hypertension
- heart_disease
- bmi
- name
- factor
slots:
risk_level:
type: text
influence_conversation: false
mappings: []
# ^ "influence_conversation: false" to avoid affecting conversation predictions
# unless you specifically need it in stories.
pending_update:
type: bool
influence_conversation: false
initial_value: false
mappings: []
user_new_data:
type: any
influence_conversation: false
mappings: []
responses:
utter_greet:
- text: "Hello! How can I assist you today?"
utter_goodbye:
- text: "Goodbye! Have a great day!"
utter_capabilities:
- text: "I can analyze your health data, provide stroke risk assessments, and offer personalized advice."
utter_chitchat_ask_name:
- text: "I'm your friendly assistant bot."
utter_chitchat_tell_joke:
- text: "Why did the computer show up at work late? It had a hard drive!"
utter_chitchat_favorite_color:
- text: "I like all colors in the digital spectrum."
utter_chitchat_weather:
- text: "Weather doesn't affect me, but I hope it's nice where you are!"
utter_out_of_scope:
- text: "I'm sorry, I can't help with that. Could you ask something else related to the app?"
utter_greet_with_name:
- text: "Nice to meet you, {name}! How can I assist you today?"
utter_thanks:
- text: "You're welcome! Let me know if there's anything else I can do."
utter_apology:
- text: "No worries at all! How can I help you further?"
# utter_ask_overwrite_data:
# - text: "I see you already have some data saved. Do you want to overwrite it?"
# utter_overwrite_confirmed:
# - text: "Your previous data was overwritten with the new information."
# utter_overwrite_cancelled:
# - text: "Your previous data was not overwritten."
actions:
- action_save_health_info
- action_generate_recommendation
- action_show_data_analysis
- action_explain_bmi_effect
- action_explain_correlation
- action_default_fallback
- action_save_name
- action_provide_stroke_risk_reduction_advice
- action_confirm_overwrite
- action_cancel_overwrite
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true