-
Notifications
You must be signed in to change notification settings - Fork 5k
/
SuccessfulConversationSummarySubmit.json
61 lines (61 loc) · 1.57 KB
/
SuccessfulConversationSummarySubmit.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
{
"parameters": {
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2022-10-01-preview",
"Endpoint": "{Endpoint}",
"jobId": "{Job ID}",
"body": {
"displayName": "Analyze conversations from Contoso meeting",
"analysisInput": {
"conversations": [
{
"id": "20220101meeting",
"language": "en",
"modality": "text",
"domain": "generic",
"conversationItems": [
{
"participantId": "user",
"role": "customer",
"id": "1",
"text": "Hi!"
},
{
"participantId": "agent",
"role": "agent",
"id": "2",
"text": "Hello, how can I help you?"
},
{
"participantId": "user",
"role": "customer",
"id": "3",
"text": "I am having trouble issuing a return of a game on my xbox: call of duty"
}
]
}
]
},
"tasks": [
{
"taskName": "analyze 1",
"kind": "ConversationalSummarizationTask",
"parameters": {
"modelVersion": "latest",
"summaryAspects": [
"issue",
"resolution"
]
}
}
]
}
},
"responses": {
"202": {
"headers": {
"Operation-Location": "{Endpoint}/language/analyze-conversation/jobs/{jobId}?api-version=2022-10-01-preview"
}
}
}
}