You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cognitive-services/language-service/summarization/includes/quickstarts/rest-api.md
+37-63Lines changed: 37 additions & 63 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -183,73 +183,47 @@ curl -i -X POST https://your-language-endpoint-here/language/analyze-conversatio
183
183
-d \
184
184
'
185
185
{
186
+
"jobId": "738120e1-7987-4d19-af0c-89d277762a2f",
187
+
"lastUpdatedDateTime": "2022-05-31T16:52:59Z",
188
+
"createdDateTime": "2022-05-31T16:52:51Z",
189
+
"expirationDateTime": "2022-06-01T16:52:51Z",
190
+
"status": "succeeded",
191
+
"errors": [],
186
192
"displayName": "Analyze conversations from 123",
187
-
"analysisInput": {
188
-
"conversations": [
193
+
"tasks": {
194
+
"completed": 1,
195
+
"failed": 0,
196
+
"inProgress": 0,
197
+
"total": 1,
198
+
"items": [
189
199
{
190
-
"modality": "text",
191
-
"id": "conversation1",
192
-
"language": "en",
193
-
"conversationItems": [
194
-
{
195
-
"text": "Hello, you’re chatting with Rene. How may I help you?",
196
-
"id": "1",
197
-
"role": "Agent",
198
-
"participantId": "Agent_1"
199
-
},
200
-
{
201
-
"text": "Hi, I tried to set up wifi connection for Smart Brew 300 espresso machine, but it didn’t work.",
202
-
"id": "2",
203
-
"role": "Customer",
204
-
"participantId": "Customer_1"
205
-
},
206
-
{
207
-
"text": "I’m sorry to hear that. Let’s see what we can do to fix this issue. Could you please try the following steps for me? First, could you push the wifi connection button, hold for 3 seconds, then let me know if the power light is slowly blinking on and off every second?",
208
-
"id": "3",
209
-
"role": "Agent",
210
-
"participantId": "Agent_1"
211
-
},
212
-
{
213
-
"text": "Yes, I pushed the wifi connection button, and now the power light is slowly blinking.",
214
-
"id": "4",
215
-
"role": "Customer",
216
-
"participantId": "Customer_1"
217
-
},
218
-
{
219
-
"text": "Great. Thank you! Now, please check in your Contoso Coffee app. Does it prompt to ask you to connect with the machine?",
220
-
"id": "5",
221
-
"role": "Agent",
222
-
"participantId": "Agent_1"
223
-
},
224
-
{
225
-
"text": "No. Nothing happened.",
226
-
"id": "6",
227
-
"role": "Customer",
228
-
"participantId": "Customer_1"
229
-
},
230
-
{
231
-
"text": "I’m very sorry to hear that. Let me see if there’s another way to fix the issue. Please hold on for a minute.",
"text": "Customer tried to set up wifi connection for Smart Brew 300 machine, but it didnt work"
212
+
},
213
+
{
214
+
"aspect": "resolution",
215
+
"text": "Asked customer to try the following steps | Asked customer for the power light | Checked if the app is prompting to connect to the machine | Transferred the call to a tech support"
0 commit comments