-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHealthCare_Export.json
311 lines (311 loc) · 8.23 KB
/
HealthCare_Export.json
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
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
{
"metadata": {
"schemaVersion": "1.0",
"importType": "LEX",
"importFormat": "JSON"
},
"resource": {
"name": "HealthCare",
"version": "1",
"intents": [
{
"name": "IBM_End",
"version": "1",
"fulfillmentActivity": {
"type": "ReturnIntent"
},
"sampleUtterances": [
"Bye",
"Thanks",
"Thanks for helping me",
"Great job. Thanks",
"quit",
"stop",
"end",
"Bbyeee"
],
"slots": [],
"conclusionStatement": {
"messages": [
{
"groupNumber": 1,
"contentType": "PlainText",
"content": "Happy to help you!"
},
{
"groupNumber": 1,
"contentType": "PlainText",
"content": "Glad to help you out!"
}
]
}
},
{
"name": "IBM_Doctor_Consultancy",
"version": "5",
"fulfillmentActivity": {
"type": "ReturnIntent"
},
"sampleUtterances": [
"I want to consult a doctor through video",
"video call a doctor",
"online consultation",
"video consultation"
],
"slots": [
{
"sampleUtterances": [],
"slotType": "AMAZON.DATE",
"obfuscationSetting": "NONE",
"slotConstraint": "Required",
"valueElicitationPrompt": {
"messages": [
{
"contentType": "PlainText",
"content": "Sure, on what date would you like me to schedule your online appointment."
}
],
"maxAttempts": 2
},
"priority": 1,
"name": "date"
},
{
"sampleUtterances": [],
"slotType": "AMAZON.TIME",
"obfuscationSetting": "NONE",
"slotConstraint": "Required",
"valueElicitationPrompt": {
"messages": [
{
"contentType": "PlainText",
"content": "At what time do you want to fix your online appointment."
}
],
"maxAttempts": 2
},
"priority": 2,
"name": "time"
}
],
"conclusionStatement": {
"messages": [
{
"groupNumber": 1,
"contentType": "PlainText",
"content": "Okay, let me connect you with a doctor"
}
]
}
},
{
"name": "IBM_Symptoms",
"version": "3",
"fulfillmentActivity": {
"codeHook": {
"uri": "arn:aws:lambda:us-east-1:525041405062:function:healthcare",
"messageVersion": "1.0"
},
"type": "CodeHook"
},
"sampleUtterances": [
"not feeling well",
"please test my symptoms",
"test the disease",
"can you help me",
"I have some symptoms"
],
"slots": [
{
"sampleUtterances": [],
"slotType": "IBM_Symptoms",
"slotTypeVersion": "1",
"obfuscationSetting": "NONE",
"slotConstraint": "Required",
"valueElicitationPrompt": {
"messages": [
{
"contentType": "PlainText",
"content": "What are your symptoms?"
}
],
"maxAttempts": 2
},
"priority": 1,
"name": "IBM_symptom"
},
{
"sampleUtterances": [],
"slotType": "IBM_yon",
"slotTypeVersion": "1",
"obfuscationSetting": "NONE",
"slotConstraint": "Required",
"valueElicitationPrompt": {
"messages": [
{
"contentType": "PlainText",
"content": "Would you like to add another symptom?"
}
],
"maxAttempts": 2
},
"priority": 2,
"name": "IBM_yon"
}
]
},
{
"name": "IBM_Welcome",
"version": "3",
"fulfillmentActivity": {
"type": "ReturnIntent"
},
"sampleUtterances": [
"hi",
"hey",
"Who are you"
],
"slots": [],
"conclusionStatement": {
"messages": [
{
"groupNumber": 1,
"contentType": "PlainText",
"content": "Hey there! I am your personalized Health Assistant! How can I help you today?"
}
]
}
},
{
"name": "IBM_Doctor_visit",
"version": "2",
"fulfillmentActivity": {
"type": "ReturnIntent"
},
"sampleUtterances": [
"doctors near me",
"I want to visit a doctor",
"hospitals near me",
"clinics near me",
"I want to go to a hospital"
],
"slots": [],
"conclusionStatement": {
"messages": [
{
"groupNumber": 1,
"contentType": "PlainText",
"content": "Okay, let me give you location of hospitals near you."
},
{
"groupNumber": 1,
"contentType": "PlainText",
"content": "Here are a few locations of clinics near you."
}
]
}
},
{
"name": "IBM_Xray",
"version": "6",
"fulfillmentActivity": {
"type": "ReturnIntent"
},
"sampleUtterances": [
"I would like to check if any abnormalities are present in my x-ray",
"Check if x-ray is having any abnormalities",
"Like to upload my x-ray",
"Is there anything wrong with this x-ray"
],
"slots": [],
"conclusionStatement": {
"responseCard": "{\"version\":1,\"contentType\":\"application/vnd.amazonaws.card.generic\",\"genericAttachments\":[{\"imageUrl\":\"https://images.ctfassets.net/hrltx12pl8hq/4yCvP6Ic8ihk9EFV0GG9FK/f8b269d74567269b988241e77881a263/01-healthcare-medical_1680967678.jpg\",\"subTitle\":\"WebApp\",\"title\":\"WebApp\",\"buttons\":[{\"text\":\"HomePage\",\"value\":\"HomePage\"}]}]}",
"messages": [
{
"groupNumber": 1,
"contentType": "PlainText",
"content": "Please go to our prediction option on homepage for any x-ray related queries"
}
]
}
}
],
"slotTypes": [
{
"name": "IBM_Symptoms",
"version": "1",
"enumerationValues": [
{
"value": "Stomach ache"
},
{
"value": "Headache"
},
{
"value": "Cough "
},
{
"value": "Runny Nose"
},
{
"value": "Fever "
},
{
"value": "Body ache"
},
{
"value": "Cardiac Pain"
}
],
"valueSelectionStrategy": "ORIGINAL_VALUE"
},
{
"name": "IBM_yon",
"version": "1",
"enumerationValues": [
{
"value": "no",
"synonyms": [
"No",
"NO"
]
},
{
"value": "yes",
"synonyms": [
"Yes",
"YES"
]
},
{
"value": "ok"
}
],
"valueSelectionStrategy": "TOP_RESOLUTION"
}
],
"voiceId": "Kendra",
"childDirected": false,
"locale": "en-US",
"idleSessionTTLInSeconds": 300,
"clarificationPrompt": {
"messages": [
{
"contentType": "PlainText",
"content": "Sorry, can you please repeat that?"
}
],
"maxAttempts": 5
},
"abortStatement": {
"messages": [
{
"contentType": "PlainText",
"content": "Sorry, I could not understand. Goodbye."
}
]
},
"detectSentiment": false,
"enableModelImprovements": true
}
}