Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add May Preview and May GA Api for Analyze Conversations in Cognitive Services Language #1

Closed
wants to merge 211 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
211 commits
Select commit Hold shift + click to select a range
9082b57
Adding example TypeSpec definition for CLU (#24309)
Zach-King2 Jun 6, 2023
18e41df
Adding Models to Typespec for CLU (#24376)
Zach-King2 Jun 26, 2023
007a013
Adding Path Object to Typespec for CLU (#24597)
Zach-King2 Jul 14, 2023
da77a3a
Model Changes in TypeSpec for CLU (#24866)
Zach-King2 Jul 18, 2023
787a5bf
TypeSpec updates for SDK generation (#24973)
Zach-King2 Aug 1, 2023
6f9f95d
Added @convientAPI decorator for SDK Generation (#25179)
Zach-King2 Aug 7, 2023
ec4880e
Removed discriminator from AnalyzeConversationTaskResult model (#25250)
Zach-King2 Aug 23, 2023
8503637
Added 2023-04-01 and 2023-04-15-preview version models to TypeSpec fo…
Zach-King2 Sep 18, 2023
1780465
moved to nonstandard LRO and general fixes
quentinRobinson Sep 25, 2023
a38e426
fixed tsp
quentinRobinson Sep 25, 2023
65f6967
added AnalyzeConversationPiiTask
quentinRobinson Sep 25, 2023
f934ea7
first commit for text analytics tsp
quentinRobinson Sep 25, 2023
74d1acf
second commit
quentinRobinson Sep 27, 2023
a7f65a7
fixed refactoring errors
quentinRobinson Sep 27, 2023
74b4de7
refactor analyzetext
quentinRobinson Sep 27, 2023
55615ec
fixed routes
quentinRobinson Sep 27, 2023
62598c7
added 2023-04-01 ga version
quentinRobinson Sep 28, 2023
1896a9b
cleanup
quentinRobinson Oct 3, 2023
08c6eba
Cleanup
quentinRobinson Oct 3, 2023
77fa983
general fixes
quentinRobinson Oct 9, 2023
155783f
Merge branch 'qrobinson/feature-cognitiveserviecs-langueage.Conversat…
quentinRobinson Oct 9, 2023
8c42ce1
updated tsp config and eng folder to match main
quentinRobinson Oct 11, 2023
ed5cdf4
Merge remote-tracking branch 'origin/qrobinson/feature-cognitiveservi…
quentinRobinson Oct 11, 2023
c8abc09
Adding example TypeSpec definition for CLU (#24309)
Zach-King2 Jun 6, 2023
d9b8a51
Adding Models to Typespec for CLU (#24376)
Zach-King2 Jun 26, 2023
fa83e97
Adding Path Object to Typespec for CLU (#24597)
Zach-King2 Jul 14, 2023
67fb474
Model Changes in TypeSpec for CLU (#24866)
Zach-King2 Jul 18, 2023
1218f1c
TypeSpec updates for SDK generation (#24973)
Zach-King2 Aug 1, 2023
c928c91
Added @convientAPI decorator for SDK Generation (#25179)
Zach-King2 Aug 7, 2023
e193aa0
Removed discriminator from AnalyzeConversationTaskResult model (#25250)
Zach-King2 Aug 23, 2023
cc74af9
Added 2023-04-01 and 2023-04-15-preview version models to TypeSpec fo…
Zach-King2 Sep 18, 2023
cadb639
moved to nonstandard LRO and general fixes
quentinRobinson Sep 25, 2023
2022c65
fixed tsp
quentinRobinson Sep 25, 2023
3bf92c6
added AnalyzeConversationPiiTask
quentinRobinson Sep 25, 2023
2f84611
first commit for text analytics tsp
quentinRobinson Sep 25, 2023
1bb8de1
second commit
quentinRobinson Sep 27, 2023
376382d
fixed refactoring errors
quentinRobinson Sep 27, 2023
501f222
refactor analyzetext
quentinRobinson Sep 27, 2023
5b8517a
added 2023-04-01 ga version
quentinRobinson Sep 28, 2023
009dfa7
general fixes
quentinRobinson Oct 9, 2023
37d53ef
cleanup
quentinRobinson Oct 3, 2023
22088bc
Cleanup
quentinRobinson Oct 3, 2023
c276271
updated tsp config and eng folder to match main
quentinRobinson Oct 11, 2023
a5056ae
reset som eng/* and package files to main
quentinRobinson Jan 16, 2024
c9800df
Merge branch 'qrobinson/feature-cognitiveserviecs-langueage.AnalyzeTe…
quentinRobinson Jan 16, 2024
55bca80
update eng files
quentinRobinson Jan 16, 2024
c83c984
reset files to main
quentinRobinson Jan 16, 2024
3d48aea
reset codeowners to main
quentinRobinson Jan 16, 2024
5f0d7ba
Add support for version 2023-11-15-preview in Language.AnalyzeText
quentinRobinson Jan 16, 2024
267ff12
Added exmaples and updated added a language interface
quentinRobinson Jan 22, 2024
c3b92ad
Merge remote-tracking branch 'upstream/main' into qrobinson/feature-c…
quentinRobinson Jan 22, 2024
795081e
Add scriptCode property to DetectedLanguage model
quentinRobinson Jan 22, 2024
1dee70e
Fix general Typespec errors
quentinRobinson Jan 22, 2024
d2bc9ae
Remove exampleValidation.txt file
quentinRobinson Jan 22, 2024
a0f72b7
revert file deletions
quentinRobinson Jan 22, 2024
47ffe16
Update entity recognition documentation
quentinRobinson Jan 22, 2024
b9c9130
Fix general typespec errors
quentinRobinson Jan 22, 2024
2e6163c
Update language detection examples
quentinRobinson Jan 22, 2024
2774f4a
removed unused refrences and fix errors
quentinRobinson Jan 22, 2024
a05648e
updated LanguageConversations
quentinRobinson Jan 24, 2024
20323cd
fix openapi pipeline errors
quentinRobinson Jan 24, 2024
8cf03db
fix more pipeline errors
quentinRobinson Jan 24, 2024
b1c7deb
fixed typespec compile warnings
quentinRobinson Jan 25, 2024
e3219de
remove examples from typespec for sdk generation
quentinRobinson Jan 25, 2024
7638286
tsv fixes
quentinRobinson Jan 25, 2024
5e3f791
Update SentimentResponse model and analyzetext.json for document resp…
quentinRobinson Jan 30, 2024
264cf33
Update healthcare and summarization models
quentinRobinson Feb 1, 2024
734c2ae
Update SentimentResponseWithDocumentDetectedLanguage model
quentinRobinson Feb 7, 2024
7aa1224
fixed prettier checks
quentinRobinson Feb 20, 2024
5321f14
Merge remote-tracking branch 'upstream/main' into qrobinson/feature-c…
quentinRobinson Feb 21, 2024
f1adc5e
TSV validation fixes
quentinRobinson Feb 21, 2024
a980a17
Prettier fixes
quentinRobinson Feb 21, 2024
0ce76a5
Rename C# project to AnalyzeText
quentinRobinson Feb 22, 2024
8270d9c
Add query parameter for generating summary
quentinRobinson Feb 27, 2024
4e109e2
Merge branch 'qrobinson/feature-congnitiveservices-language.AnalyzeTe…
quentinRobinson Feb 27, 2024
ed429a1
Merge remote-tracking branch 'upstream/main' into qrobinson/feature-c…
quentinRobinson Mar 11, 2024
5832e6c
ypeSpec Validation fixes
quentinRobinson Mar 11, 2024
d209329
fixed server endpoint
quentinRobinson Mar 12, 2024
3c1eb23
fixed missing comma
quentinRobinson Mar 12, 2024
91f7dc4
Remove x-ms-examples from analyzeconversations.json and analyzetext.json
quentinRobinson Mar 12, 2024
be36504
Merge branch 'main' into qrobinson/feature-congnitiveservices-languag…
quentinRobinson Mar 13, 2024
39976bc
mitigate some breaking changes
quentinRobinson Mar 13, 2024
d1034e3
Merge branch 'qrobinson/feature-congnitiveservices-language.AnalyzeTe…
quentinRobinson Mar 13, 2024
64bc0f7
fixed some breaking changes
quentinRobinson Mar 13, 2024
87d43a6
breaking change fix
quentinRobinson Mar 13, 2024
e63180d
more breaking change fixes
quentinRobinson Mar 13, 2024
7d3bb8f
fixed more breaking changes
quentinRobinson Mar 13, 2024
bd40ac7
fixed breaking changes
quentinRobinson Mar 14, 2024
a76b869
fixed more breaking changes
quentinRobinson Mar 14, 2024
6257d55
fixed breaking change
quentinRobinson Mar 14, 2024
fa1c4a3
breaking changes
quentinRobinson Mar 14, 2024
4f60c8f
reset unintended changes
quentinRobinson Mar 14, 2024
6a5f856
added examples back
quentinRobinson Mar 18, 2024
6749545
tsv fixes
quentinRobinson Mar 18, 2024
2c46e04
fixed examples
quentinRobinson Mar 18, 2024
a91b659
Update Language.Conversations version 2023-11-15-preview doc
quentinRobinson Mar 19, 2024
806a48a
fixed models and removed unneeded file
quentinRobinson Mar 20, 2024
d2b65be
fixed breaking changes
quentinRobinson Mar 21, 2024
ce02026
fix breaking change
quentinRobinson Mar 21, 2024
75bf0c9
more breaking changes
quentinRobinson Mar 21, 2024
7c698bb
fix breaking changes
quentinRobinson Mar 21, 2024
80519fd
breaking chagnes fix
quentinRobinson Mar 27, 2024
c8dc905
commented examples due to not working with autorest
quentinRobinson Mar 27, 2024
2d31a6d
quote autorest flavor
quentinRobinson Mar 28, 2024
0a4e535
removed flavor
quentinRobinson Mar 28, 2024
b67a2b1
add clientname for Association
quentinRobinson Mar 28, 2024
d5d64e4
rename for csharp
quentinRobinson Mar 28, 2024
44ad42d
rename for csharp
quentinRobinson Mar 28, 2024
c8c22cc
bug fix on TemporalSpanMetadata
quentinRobinson Mar 28, 2024
5ad1cec
removed invalid extends
quentinRobinson Mar 29, 2024
025d309
fix more bad extends
quentinRobinson Mar 29, 2024
fb2a40d
Merge branch 'main' into qrobinson/feature-congnitiveservices-languag…
quentinRobinson Mar 29, 2024
2923f9c
Merge branch 'main' into qrobinson/feature-congnitiveservices-languag…
quentinRobinson Apr 1, 2024
c14f70f
Add docs for common.models.tsp
Apr 5, 2024
bcc5bee
Updated for entities and language
Apr 9, 2024
3c633af
remove the base object Record<Unknown>
Apr 9, 2024
29253dc
tsv fixes
quentinRobinson Apr 10, 2024
abc885b
Merge branch 'main' into qrobinson/feature-congnitiveservices-languag…
quentinRobinson Apr 10, 2024
8b704b4
spell check and projectedName to encodedName
quentinRobinson Apr 10, 2024
ecac1b9
Merge branch 'qrobinson/feature-congnitiveservices-language.AnalyzeTe…
quentinRobinson Apr 10, 2024
71dda18
fixed encodedname
quentinRobinson Apr 10, 2024
a149469
add docs to healthcare tsp
Dezzley Apr 10, 2024
bb4c207
Few more missing docs
Apr 10, 2024
148b336
Merge branch 'qrobinson/feature-congnitiveservices-language.AnalyzeTe…
Apr 10, 2024
884610a
fix tsv errors
quentinRobinson Apr 10, 2024
eaacd89
tsv fixes
quentinRobinson Apr 10, 2024
928117a
Merge pull request #2 from Dezzley/dmitryvislov/replace-suppress-with…
quentinRobinson Apr 10, 2024
534993e
Some more missing docs
Apr 10, 2024
c72799b
spec
Apr 10, 2024
105d565
Merge branch 'qrobinson/feature-congnitiveservices-language.AnalyzeTe…
Apr 10, 2024
edbfed4
missing docs
Apr 10, 2024
513b8c3
fixing typespec validation
Apr 10, 2024
7de482c
tsv fixes
quentinRobinson Apr 10, 2024
66a1409
Merge branch 'main' into qrobinson/feature-congnitiveservices-languag…
bidisha-c Apr 10, 2024
0d9d82a
Fix swagger spell check errors
Apr 10, 2024
3ca889a
fix type validation
Apr 10, 2024
079fa26
typo in /common.models.tsp
Apr 10, 2024
d77f7ef
Add @doc decorators to the Summarization typespec file
moabba Apr 10, 2024
06878ae
More
moabba Apr 10, 2024
0956274
Add Keyphrase and sentiment
moabba Apr 11, 2024
a0074ff
.
moabba Apr 11, 2024
7785470
Update custom-words.txt to contain picometers
quentinRobinson Apr 11, 2024
2280efd
Merge pull request #3 from moabba/moaba/summ_docs
quentinRobinson Apr 11, 2024
6b8b96a
Fix tsv error
Apr 11, 2024
53b83f4
Rename the operation IDs in the examples to match
Apr 11, 2024
91adeb3
Merge branch 'main' into qrobinson/feature-congnitiveservices-languag…
bidisha-c Apr 11, 2024
14881d0
Update examples for analyze-conversations
Apr 11, 2024
40117fe
tsv compile
Apr 11, 2024
49d162c
Merge branch 'qrobinson/feature-congnitiveservices-language.AnalyzeTe…
Apr 11, 2024
166d48f
fix exclude parameter
Apr 11, 2024
f9e336a
Merge branch 'main' into qrobinson/feature-congnitiveservices-languag…
bidisha-c Apr 11, 2024
9ff53c8
run tsv compile
Apr 11, 2024
1e36c2e
Merge branch 'main' into qrobinson/feature-congnitiveservices-languag…
bidisha-c Apr 12, 2024
6f4ea00
Address comments
Apr 12, 2024
df3b5e1
Some more changes
Apr 12, 2024
df70a98
Add examples and api version for May GA and Preview
Mar 20, 2024
6f5774c
Add Aspect related tsp changes
Apr 5, 2024
78758f6
Some API version corrections
Apr 8, 2024
96128ff
Remove Custom Conv Summarization examples from May GA examples
Apr 8, 2024
04eea23
minor api adjustments for other custom conv summarization attributes
Apr 9, 2024
b3170f3
minor fix
Apr 10, 2024
f34c35a
Add an example and specifications for entity tags (#1)
nithya4 Apr 10, 2024
9ecd999
compile fixes
Apr 12, 2024
e8b2b3e
Add examples
Apr 12, 2024
09542ce
Examples changes
Apr 12, 2024
4c343f0
remove 2023-04-15-preview
Apr 12, 2024
99d39bb
remove @needsRoute
Apr 12, 2024
8ee4c3e
Merge branch 'qrobinson/feature-congnitiveservices-language.AnalyzeTe…
Apr 12, 2024
586a6ce
Remove readme
Apr 12, 2024
99ea6ae
addressed PR comments
quentinRobinson Apr 14, 2024
684efd8
removed @clientname from models
quentinRobinson Apr 14, 2024
15e78ac
revert removing QnA from analyze-conversations
Apr 15, 2024
832c341
Merge branch 'main' into qrobinson/feature-congnitiveservices-languag…
bidisha-c Apr 15, 2024
7cd14f9
Add some docs
Apr 15, 2024
6656ea5
Address doc comments
Apr 15, 2024
432fec2
fix spellcheck
Apr 15, 2024
0bed559
Remove Record<Unknown>
Apr 16, 2024
1c8c5a5
small change
Apr 16, 2024
2228d89
Merge branch 'main' into qrobinson/feature-congnitiveservices-languag…
bidisha-c Apr 16, 2024
693fe34
fix analyze-conv sync
Apr 16, 2024
ede7e22
Merge branch 'qrobinson/feature-congnitiveservices-language.AnalyzeTe…
Apr 16, 2024
27cbb0f
fix km
Apr 16, 2024
4bd6198
removing unnecessary QnA reference from analyze-conversations
Apr 16, 2024
8ecebec
Update specification/cognitiveservices/Language.Conversations/main.tsp
bidisha-c Apr 16, 2024
0a3dd9b
Update specification/cognitiveservices/Language.AnalyzeText/client.tsp
bidisha-c Apr 16, 2024
955f374
Address comments
Apr 16, 2024
c06c441
Add client.tsp
Apr 16, 2024
bb1f431
Merge branch 'qrobinson/feature-congnitiveservices-language.AnalyzeTe…
Apr 16, 2024
78692b2
fx tsp
Apr 16, 2024
30bed50
tsv compile
Apr 16, 2024
d2c7c15
Merge branch 'main' into qrobinson/feature-congnitiveservices-languag…
bidisha-c Apr 16, 2024
8a0530c
remove extra impor
Apr 16, 2024
890b3ad
Update specification/cognitiveservices/Language.AnalyzeText/tspconfig…
bidisha-c Apr 16, 2024
b460f9e
Merge branch 'qrobinson/feature-congnitiveservices-language.AnalyzeTe…
Apr 16, 2024
25f3f0c
make enable?:true
Apr 16, 2024
9b3895e
fix tsp
Apr 17, 2024
79dccfa
Merge branch 'main' into qrobinson/feature-congnitiveservices-languag…
Apr 17, 2024
3a61473
address comment
Apr 17, 2024
03436a0
remaining comments
Apr 17, 2024
e371520
use Azure.Core.Foundations.ErrorResponse
Apr 17, 2024
d5adb61
Merge branch 'main' into qrobinson/feature-congnitiveservices-languag…
bidisha-c Apr 17, 2024
ae84639
Address comments of LuisResult
Apr 17, 2024
1b91a0c
Merge branch 'qrobinson/feature-congnitiveservices-language.AnalyzeTe…
Apr 17, 2024
dcd8481
Merge branch 'main' into qrobinson/feature-congnitiveservices-languag…
bidisha-c Apr 17, 2024
3409c2a
Update doc comments
Apr 17, 2024
4689173
Merge branch 'qrobinson/feature-congnitiveservices-language.AnalyzeTe…
Apr 17, 2024
bf90d18
tsv compile
Apr 17, 2024
8138775
Merge branch 'qrobinson/feature-congnitiveservices-language.AnalyzeTe…
Apr 23, 2024
ef7ff79
Changes to remove older preview API version in Analyze conversations
Apr 23, 2024
0d7de0c
Merge branch 'main' into aurghob/maypreviewga
aurghob Apr 23, 2024
9e0e41c
Fix compile error and add compiled swagger json
Apr 24, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ model SentimentConfidenceScores {
}

/** Enum that defines the length of the output summaries. */
@added(Versions.v2023_11_15_preview)
@added(Versions.v2024_05_01)
union SummaryLengthBucket {
string,

Expand All @@ -567,7 +567,7 @@ model AbstractiveSummarizationTaskParametersBase {
stringIndexType?: StringIndexType = StringIndexType.TextElements_v8;

/** (NOTE: Recommended to use summaryLength over sentenceCount) Controls the approximate length of the output summaries. */
@added(Versions.v2023_11_15_preview)
@added(Versions.v2024_05_01)
summaryLength?: SummaryLengthBucket;
}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"operationId": "AnalyzeConversations",
"title": "SuccessfulAnalyzeConversations",
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"Content-Type": "application/json",
"api-version": "2024-05-01",
"body": {
"kind": "Conversation",
"analysisInput": {
"conversationItem": {
"id": "1",
"participantId": "1",
"text": "play In the air tonight from Phil Collins"
}
},
"parameters": {
"projectName": "{project-name}",
"deploymentName": "{deployment-name}",
"stringIndexType": "TextElement_V8"
}
}
},
"responses": {
"200": {
"headers": {},
"body": {
"kind": "ConversationResult",
"result": {
"query": "play In the air tonight from Phil Collins",
"prediction": {
"topIntent": "PlayMusic",
"projectKind": "Conversation",
"intents": [
{
"category": "PlayMusic",
"confidenceScore": 1
},
{
"category": "SearchCreativeWork",
"confidenceScore": 0
},
{
"category": "AddToPlaylist",
"confidenceScore": 0
}
],
"entities": [
{
"category": "Media.Artist",
"text": "Phil Collins",
"offset": 29,
"length": 12,
"confidenceScore": 1
}
]
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"operationId": "AnalyzeConversations",
"title": "SuccessfulAnalyzeConversationsArbitration",
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"Content-Type": "application/json",
"api-version": "2024-05-01",
"body": {
"kind": "Conversation",
"analysisInput": {
"conversationItem": {
"participantId": "1",
"id": "1",
"modality": "text",
"language": "en-GB",
"text": "How do I integrate QnA Maker and LUIS?"
}
},
"parameters": {
"projectName": "{project-name}",
"deploymentName": "{deployment-name}",
"verbose": true,
"isLoggingEnabled": false,
"stringIndexType": "TextElement_V8"
}
}
},
"responses": {
"200": {
"headers": {},
"body": {
"kind": "ConversationResult",
"result": {
"query": "trains from London",
"prediction": {
"topIntent": "Rail",
"projectKind": "Orchestration",
"intents": {
"Rail": {
"confidenceScore": 1,
"targetProjectKind": "Conversation",
"result": {
"query": "trains from London",
"prediction": {
"topIntent": "Timetable",
"projectKind": "Conversation",
"intents": [
{
"category": "Timetable",
"confidenceScore": 0.99968535
},
{
"category": "Locomotive",
"confidenceScore": 0.000314623
}
],
"entities": []
}
}
},
"Tree": {
"confidenceScore": 0.2641529,
"targetProjectKind": "QuestionAnswering"
},
"None": {
"confidenceScore": 0,
"targetProjectKind": "NonLinked"
}
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
{
"operationId": "AnalyzeConversations",
"title": "SuccessfulAnalyzeConversationsArbitrationDirectTarget",
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"Content-Type": "application/json",
"api-version": "2024-05-01",
"body": {
"kind": "Conversation",
"analysisInput": {
"conversationItem": {
"text": "Ports and connectors",
"participantId": "1",
"id": "1"
}
},
"parameters": {
"projectName": "prj1",
"deploymentName": "dep1",
"directTarget": "qnaProject",
"targetProjectParameters": {
"qnaProject": {
"targetProjectKind": "QuestionAnswering",
"callingOptions": {
"context": {
"previousUserQuery": "Meet Surface Pro 4",
"previousQnaId": 4
},
"top": 1,
"question": "App Service overview"
}
}
}
}
}
},
"responses": {
"200": {
"headers": {},
"body": {
"kind": "ConversationResult",
"result": {
"query": "Ports and connectors",
"prediction": {
"projectKind": "Orchestration",
"topIntent": "qnaTargetApp",
"intents": {
"qnaTargetApp": {
"targetProjectKind": "QuestionAnswering",
"confidenceScore": 1,
"result": {
"answers": [
{
"questions": [
"App Service overview"
],
"answer": "The compute resources you use are determined by the *App Service plan* that you run your apps on.",
"confidenceScore": 0.7384000000000001,
"id": 1,
"source": "https://docs.microsoft.com/en-us/azure/app-service/overview",
"metadata": {},
"dialog": {
"isContextOnly": false,
"prompts": []
}
}
]
}
}
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"operationId": "AnalyzeConversationsCancelJob",
"title": "SuccessfulAnalyzeConversationsJobsCancelRequest",
"parameters": {
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2024-05-01",
"Endpoint": "{Endpoint}",
"jobId": "c0f2a446-05d9-48fc-ba8f-3ef4af8d0b18"
},
"responses": {
"202": {
"headers": {
"Operation-Location": "{Endpoint}/language/analyze-conversations/jobs/{jobId}?api-version=2024-05-01"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"operationId": "AnalyzeConversationsSubmitJob",
"title": "SuccessfulConversationPIIExclusionSubmit",
"parameters": {
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2024-05-01",
"Endpoint": "{Endpoint}",
"jobId": "{Job ID}",
"body": {
"displayName": "Redacting PII data from transcribed audio",
"analysisInput": {
"conversations": [
{
"id": "1",
"language": "en",
"modality": "transcript",
"domain": "generic",
"conversationItems": [
{
"participantId": "1",
"id": "1",
"text": "Good morning John Doe.",
"itn": "good morning john doe",
"maskedItn": "good morning john doe",
"lexical": "good morning john doe",
"wordLevelTimings": [
{
"word": "good",
"offset": 390000,
"duration": 2700000
},
{
"word": "morning",
"offset": 4500000,
"duration": 920000
},
{
"word": "john",
"offset": 590000,
"duration": 2700000
},
{
"word": "doe",
"offset": 6300000,
"duration": 920000
}
]
}
]
}
]
},
"tasks": [
{
"taskName": "Conversation PII",
"kind": "ConversationalPIITask",
"parameters": {
"modelVersion": "latest",
"excludePiiCategories": [
"Person"
],
"redactionSource": "lexical",
"redactAudioTiming": true
}
}
]
}
},
"responses": {
"202": {
"headers": {
"Operation-Location": "{Endpoint}/language/analyze-conversation/jobs/{jobId}?api-version=2024-05-01"
}
}
}
}
Loading