-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathdomain.yml
214 lines (207 loc) · 8.7 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
version: "3.1"
intents:
- intent_core_capabilities
- intent_planned_features
- intent_out_of_scope
- intent_unknown_topic
- intent_support
- intent_services_offline
- intent_core_session_start
- intent_core_hello
- intent_core_yes
- intent_core_no
- intent_core_other
- intent_core_unsure
- intent_data_privacy_policy
- intent_data_deletion
- intent_send_complaint
- intent_are_you_ai
- intent_user_preferences
- intent_user_preferences_all
- intent_user_preferences_password
- intent_user_preferences_no_action
- intent_customer_support # TODO: S9
- intent_core_help
- intent_core_here
- intent_core_something_else
- intent_core_other_languages
- intent_core_export_inventory
entities:
- preference
- core_services
slots:
_dummy:
type: any
influence_conversation: false
mappings:
- type: custom
action: action_core_pre_process
core_services:
type: categorical
values:
- openshift
- rosa
- ocm
- acs
- policies
- advisor
- notifications
mappings:
- type: from_entity
entity: core_services
current_url:
type: text
influence_conversation: true
mappings:
- type: custom
core_break_form:
type: bool
mappings:
- type: custom
first_time_greeting:
type: bool
influence_conversation: true
mappings:
- type: custom
is_org_admin:
type: bool
influence_conversation: true
mappings:
- type: custom
is_internal:
type: bool
influence_conversation: true
mappings:
- type: custom
base_console_url:
type: text
mappings:
- type: custom
actions:
- action_session_start
- action_core_one_back
- action_services_offline
- action_user_preferences
responses:
utter_core_first_time:
- text: "Hi, I'm your virtual assistant for the Hybrid Cloud Console. I see that this is your first conversation with me."
utter_core_greeting:
- text: "Hi, I'm your virtual assistant for the Hybrid Cloud Console."
utter_core_hello:
- text: "Hello!"
- text: "Hi!"
- text: "Hello! It's great chatting with you."
utter_core_hello_first_time:
- text: "Hello! It's a pleasure to meet you."
utter_core_how_can_i_help:
- text: "How can I help you today?"
- text: "How can I help you?"
utter_core_capabilities_main:
- text: "Here are a few things I can help you with.\nSelect an option below or type in your questions:"
buttons:
- title: Help me with an access issue
payload: /intent_access_capabilities
- title: Show my critical vulnerabilities
payload: /insights_vulnerability_my_cves
# - title: Set up notifications
# payload: /intent_notifications_setup
- title: Create new integrations
payload: /intent_integration_setup
- title: Get recommendations from Advisor
payload: /intent_insights_advisor_recommendation_by_type
utter_core_capabilities_main_org_admin:
- text: "Here are a few things I can help you with.\nSelect an option below or type in your questions:"
buttons:
# - title: Set up notifications
# payload: /intent_notifications_setup
- title: Show my critical vulnerabilities
payload: /insights_vulnerability_my_cves
- title: Create new integrations
payload: /intent_integration_setup
- title: Get recommendations from Advisor
payload: /intent_insights_advisor_recommendation_by_type
utter_core_rephrase:
- text: "I'm sorry. I didn't understand that. Could you try to rephrase your question?"
- text: "Sorry, I didn't get that. Can you rephrase?"
- text: 'I don''t understand. Say "I need help" for information on what I can do.'
utter_core_unknown_input:
- text: >
I'm sorry. I didn't understand that answer. Could you try again?
utter_planned_features:
- text: "I haven't been programmed to do that yet. I'm still learning!"
- text: "I'm working on that feature. Check for it again later."
utter_out_of_scope:
- text: "I haven't been programmed to do that. Sorry!"
utter_privacy_info_1:
- text: "Your data is protected under [Red Hat's privacy policy](https://www.redhat.com/en/about/privacy-policy)."
utter_privacy_info_2:
- text: "My team will manually review your messages to identify new use cases and add data to our natural language understanding (NLU) models."
utter_data_deletion_privacy_statement:
- text: "Please review our [Privacy Statement](https://www.redhat.com/en/about/privacy-policy#rights). You can review your rights and choices there."
utter_data_deletion_open_a_ticket:
- text: "If you choose to open a ticket to delete your data, I will work with the privacy team to ensure our conversations are removed."
utter_data_deletion_cancel:
- text: "Got it. You're always welcome to ask again if you change your mind."
utter_are_you_ai_1:
- text: "I won't get too far into the technical details. As a virtual assistant, I use supervised learning to understand your queries."
utter_are_you_ai_2:
- text: "My team programs specific conversations. Not all topics are currently supported."
utter_are_you_ai_3:
- text: "You are welcome to leave feedback to improve our future offerings."
utter_are_you_ai_4:
- text: "Additionally, I can share some examples of tasks I can assist with."
utter_are_you_ai_handoff:
- text: "Would you like to leave a feature request or see how I can help?"
buttons:
- title: I want to submit feedback
payload: /intent_feedback_any
- title: Show me what you can do
payload: /intent_core_capabilities
utter_user_complaint:
- text: I'm sorry that you had a bad experience. You can type in your feedback below and I'll share it with my team.
utter_user_preferences_all:
- text: You can change your personal information on [redhat.com](https://www.redhat.com).
utter_user_preferences_specific:
- text: "You can change your {preference} and other personal information on redhat.com."
utter_user_preferences_login:
- text: Unfortunately, once you've created an account, you can't change your login.
utter_user_preferences_contact_support:
- text: "Contact Red Hat Support at [access.redhat.com](https://access.redhat.com) for more information."
utter_user_preferences_all_redirect:
- text: "I am opening the [settings page](https://www.redhat.com/wapps/ugc/protected/personalInfo.html) in a new tab. Return to this tab to continue our conversation."
custom:
type: command
command: redirect
params:
url: https://www.redhat.com/wapps/ugc/protected/personalInfo.html
utter_user_preferences_password_redirect:
- text: "I am opening the [settings page](https://www.redhat.com/wapps/ugc/protected/password.html) in a new tab. Return to this tab to continue our conversation."
custom:
type: command
command: redirect
params:
url: https://www.redhat.com/wapps/ugc/protected/password.html
utter_user_preferences_no_action:
- text: "Okay, let me know if you change your mind."
utter_services_offline_no_incidents:
- text: "All services seem to be operating normally."
utter_services_offline_error:
- text: "I was unable to communicate with [status.redhat.com](https://status.redhat.com) to fulfill your request."
utter_services_offline_incidents:
- text: "I'm sorry, but we are experiencing {count} incident(s)."
utter_services_offline_info:
- text: "{name} is currently {status}."
utter_services_offline_more_info:
- text: "Visit [status.redhat.com](https://status.redhat.com) for more information on Red Hat outages and maintenance."
utter_services_offline_further_info:
- text: "Visit [status.redhat.com](https://status.redhat.com) for further outage information."
utter_unknown_topic:
- text: "I am not able to assist with that topic."
utter_core_other_languages_1:
- text: "I'm sorry, console.redhat.com and its services are only available in English."
utter_core_other_languages_2:
- text: "To help me understand your questions, please ask them in English."
utter_core_export_inventory_1:
- text: "You can export your system inventory by clicking the export button (next to the 'Delete' button) in the [Systems Inventory UI](https://console.redhat.com/insights/inventory?page=1&per_page=50#SIDs=&tags=) or via API."
utter_core_export_inventory_2:
- text: "You have the option to export to CSV or JSON. To read more about this feature, check out our [Exporting Inventory Data](https://docs.redhat.com/en/documentation/red_hat_insights/1-latest/html-single/viewing_and_managing_system_inventory/index#assembly-exporting-inventory-data_user-access) documentation."