Skip to content

Commit 40f5247

Browse files
AmirGeorgeheaths
andauthored
Language Authoring 2022-10-01-preview (#21068)
* Adding Language Authoring 2022-10-01-preview to the specification folder * fixes for PR checks * prettier fixes * PR comments * Update specification/cognitiveservices/data-plane/Language/preview/2022-10-01-preview/analyzeconversations-authoring.json * Update specification/cognitiveservices/data-plane/Language/preview/2022-10-01-preview/analyzeconversations-authoring.json Co-authored-by: Heath Stewart <heaths@outlook.com>
1 parent 42b3481 commit 40f5247

File tree

76 files changed

+2216
-82
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+2216
-82
lines changed

specification/cognitiveservices/data-plane/Language/preview/2022-10-01-preview/analyzeconversations-authoring.json

Lines changed: 818 additions & 8 deletions
Large diffs are not rendered by default.

specification/cognitiveservices/data-plane/Language/preview/2022-10-01-preview/analyzetext-authoring.json

Lines changed: 830 additions & 14 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"parameters": {
3+
"Endpoint": "{Endpoint}",
4+
"Ocp-Apim-Subscription-Key": "{API key}",
5+
"api-version": "2022-10-01-preview",
6+
"projectName": "EmailApp",
7+
"body": {
8+
"resourcesMetadata": [
9+
{
10+
"azureResourceId": "/subscriptions/8ff19748-59ed-4e8a-af4b-7ce285849735/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/LangTestWeu",
11+
"customDomain": "lang-test-weu.cognitiveservices.azure.com",
12+
"region": "westeurope"
13+
},
14+
{
15+
"azureResourceId": "/subscriptions/8ff19748-59ed-4e8a-af4b-7ce285849735/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/LangTestEus",
16+
"customDomain": "lang-test-eus.cognitiveservices.azure.com",
17+
"region": "eastus"
18+
}
19+
]
20+
}
21+
},
22+
"responses": {
23+
"202": {
24+
"headers": {
25+
"operation-location": "{Endpoint}/language/authoring/analyze-conversations/projects/EmailApp/resources/assign/jobs/66fa9a67-a561-42f1-8a13-f3a879b1a324_637858368000000000?api-version={api-version}"
26+
}
27+
}
28+
}
29+
}

specification/cognitiveservices/data-plane/Language/preview/2022-10-01-preview/examples/analyzeconversations-authoring/SuccessfulCancelTrainingJob.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"parameters": {
33
"Endpoint": "{Endpoint}",
44
"Ocp-Apim-Subscription-Key": "{API key}",
5-
"api-version": "2022-07-01-preview",
5+
"api-version": "2022-10-01-preview",
66
"projectName": "EmailApp",
77
"jobId": "8ccf2ffe-e758-4d04-a44a-31512918c7e8_637858368000000000"
88
},

specification/cognitiveservices/data-plane/Language/preview/2022-10-01-preview/examples/analyzeconversations-authoring/SuccessfulCreateProject.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"Endpoint": "{Endpoint}",
44
"Ocp-Apim-Subscription-Key": "{API key}",
55
"Content-Type": "application/merge-patch+json",
6-
"api-version": "2022-07-01-preview",
6+
"api-version": "2022-10-01-preview",
77
"projectName": "myproject",
88
"body": {
99
"projectName": "myproject",

specification/cognitiveservices/data-plane/Language/preview/2022-10-01-preview/examples/analyzeconversations-authoring/SuccessfulDeleteDeployment.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"parameters": {
33
"Endpoint": "{Endpoint}",
44
"Ocp-Apim-Subscription-Key": "{API key}",
5-
"api-version": "2022-07-01-preview",
5+
"api-version": "2022-10-01-preview",
66
"projectName": "EmailApp",
77
"deploymentName": "staging"
88
},
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"parameters": {
3+
"Endpoint": "{Endpoint}",
4+
"Ocp-Apim-Subscription-Key": "{API key}",
5+
"api-version": "2022-10-01-preview",
6+
"projectName": "EmailApp",
7+
"deploymentName": "staging",
8+
"body": {
9+
"assignedResourceIds": [
10+
"/subscriptions/8ff19748-59ed-4e8a-af4b-7ce285849735/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/LangTestWeu"
11+
]
12+
}
13+
},
14+
"responses": {
15+
"202": {
16+
"headers": {
17+
"operation-location": "{Endpoint}/language/authoring/analyze-conversations/projects/EmailApp/deployments/staging/delete-from-resources/jobs/61ebb7ef-a207-40d2-82b9-5285440ae579_637858368000000000?api-version={api-version}"
18+
}
19+
}
20+
}
21+
}

specification/cognitiveservices/data-plane/Language/preview/2022-10-01-preview/examples/analyzeconversations-authoring/SuccessfulDeleteModel.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"parameters": {
33
"Endpoint": "{Endpoint}",
44
"Ocp-Apim-Subscription-Key": "{API key}",
5-
"api-version": "2022-07-01-preview",
5+
"api-version": "2022-10-01-preview",
66
"projectName": "EmailApp",
77
"trainedModelLabel": "model2"
88
},

specification/cognitiveservices/data-plane/Language/preview/2022-10-01-preview/examples/analyzeconversations-authoring/SuccessfulDeleteProject.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"parameters": {
33
"Endpoint": "{Endpoint}",
44
"Ocp-Apim-Subscription-Key": "{API key}",
5-
"api-version": "2022-07-01-preview",
5+
"api-version": "2022-10-01-preview",
66
"projectName": "myproject"
77
},
88
"responses": {

specification/cognitiveservices/data-plane/Language/preview/2022-10-01-preview/examples/analyzeconversations-authoring/SuccessfulDeployProject.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@
22
"parameters": {
33
"Endpoint": "{Endpoint}",
44
"Ocp-Apim-Subscription-Key": "{API key}",
5-
"api-version": "2022-07-01-preview",
5+
"api-version": "2022-10-01-preview",
66
"projectName": "EmailApp",
77
"deploymentName": "production",
88
"body": {
9-
"trainedModelLabel": "model1"
9+
"trainedModelLabel": "29886710a2ae49259d62cffca977db66",
10+
"assignedResourceIds": [
11+
"/subscriptions/8ff19748-59ed-4e8a-af4b-7ce285849735/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/LangTestWeu",
12+
"/subscriptions/8ff19748-59ed-4e8a-af4b-7ce285849735/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/LangTestEus"
13+
]
1014
}
1115
},
1216
"responses": {

0 commit comments

Comments
 (0)