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

2024-11-15-preview Congitive Services/Language-Authoring updates #31127

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"operationId": "ConversationalAnalysisAuthoring_AssignDeploymentResources",
"title": "Successful Assign Deployment Resources",
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2024-11-15-preview",
"projectName": "EmailApp",
"body": {
"resourcesMetadata": [
{
"azureResourceId": "/subscriptions/8ff19748-59ed-4e8a-af4b-7ce285849735/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/LangTestWeu",
"customDomain": "lang-test-weu.cognitiveservices.azure.com",
"region": "westeurope"
},
{
"azureResourceId": "/subscriptions/8ff19748-59ed-4e8a-af4b-7ce285849735/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/LangTestEus",
"customDomain": "lang-test-eus.cognitiveservices.azure.com",
"region": "eastus"
}
]
}
},
"responses": {
"202": {
"headers": {
"operation-location": "{Endpoint}/language/authoring/analyze-conversations/projects/EmailApp/resources/assign/jobs/66fa9a67-a561-42f1-8a13-f3a879b1a324_637858368000000000?api-version=2024-11-15-preview"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"operationId": "ConversationalAnalysisAuthoring_CancelTrainingJob",
"title": "Successful Cancel Training Job",
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2024-11-15-preview",
"projectName": "EmailApp",
"jobId": "8ccf2ffe-e758-4d04-a44a-31512918c7e8_637858368000000000"
},
"responses": {
"202": {
"headers": {
"operation-location": "{Endpoint}/language/authoring/analyze-conversations/projects/EmailApp/train/jobs/4d37982f-fded-4c2c-afe3-15953b5919b6_637858368000000000?api-version=2024-11-15-preview"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"operationId": "ConversationalAnalysisAuthoring_CopyProject",
"title": "Successful Copy Project",
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2024-11-15-preview",
"projectName": "EmailApp",
"body": {
"projectKind": "Conversation",
"targetProjectName": "EmailApp",
"accessToken": "103fcb47-b095-44c1-aedd-4024a5923275",
"expiresAt": "2023-04-18T13:53:03Z",
"targetResourceId": "/subscriptions/8ff19748-59ed-4e8a-af4b-7ce285849735/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/LangTestWeu",
"targetResourceRegion": "westeurope"
}
},
"responses": {
"202": {
"headers": {
"operation-location": "{Endpoint}/language/authoring/analyze-conversations/projects/EmailApp/copy/jobs/4d37982f-fded-4c2c-afe3-15953b5919b6_637858368000000000?api-version=2024-11-15-preview"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"operationId": "ConversationalAnalysisAuthoring_CopyProjectAuthorization",
"title": "Successful Copy Project Authorization",
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2024-11-15-preview",
"projectName": "EmailApp",
"body": {
"projectKind": "Conversation",
"allowOverwrite": false
}
},
"responses": {
"200": {
"headers": {},
"body": {
"projectKind": "Conversation",
"targetProjectName": "EmailApp",
"accessToken": "103fcb47-b095-44c1-aedd-4024a5923275",
"expiresAt": "2023-04-18T13:53:03Z",
"targetResourceId": "/subscriptions/8ff19748-59ed-4e8a-af4b-7ce285849735/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/LangTestWeu",
"targetResourceRegion": "westeurope"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"operationId": "ConversationalAnalysisAuthoring_CreateOrUpdateExportedModel",
"title": "Successful Create Exported Model",
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2024-11-15-preview",
"projectName": "LoanAgreements",
"exportedModelName": "exported-model1",
"body": {
"trainedModelLabel": "model1"
}
},
"responses": {
"202": {
"headers": {
"operation-location": "{Endpoint}/language/authoring/analyze-conversations/projects/LoanAgreements/exported-models/exported-model1/jobs/4d37982f-fded-4c2c-afe3-15953b5919b6_637858368000000000?api-version=2023-04-15-preview"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"operationId": "ConversationalAnalysisAuthoring_CreateProject",
"title": "Successful Create Project",
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"Content-Type": "application/merge-patch+json",
"api-version": "2024-11-15-preview",
"projectName": "myproject",
"body": {
"projectName": "myproject",
"language": "en",
"projectKind": "Conversation",
"description": "This is a sample conversation project.",
"multilingual": false
}
},
"responses": {
"201": {
"headers": {},
"body": {
"createdDateTime": "2022-04-18T13:53:03Z",
"lastModifiedDateTime": "2022-04-18T13:53:03Z",
"projectKind": "Conversation",
"projectName": "myproject",
"multilingual": false,
"description": "This is a sample conversation project.",
"language": "en"
}
},
"200": {
"headers": {},
"body": {
"createdDateTime": "2022-04-18T13:53:03Z",
"lastModifiedDateTime": "2022-04-18T13:53:03Z",
"lastTrainedDateTime": "2022-04-18T14:14:28Z",
"lastDeployedDateTime": "2022-04-18T14:49:01Z",
"projectKind": "Conversation",
"projectName": "myproject",
"multilingual": false,
"description": "This is a sample conversation project.",
"language": "en"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"operationId": "ConversationalAnalysisAuthoring_DeleteDeployment",
"title": "Successful Delete Deployment",
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2024-11-15-preview",
"projectName": "EmailApp",
"deploymentName": "staging"
},
"responses": {
"202": {
"headers": {
"operation-location": "{Endpoint}/language/authoring/analyze-conversations/projects/EmailApp/deployments/staging/jobs/61ebb7ef-a207-40d2-82b9-5285440ae579_637858368000000000?api-version=2024-11-15-preview"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"operationId": "ConversationalAnalysisAuthoring_DeleteDeploymentFromResources",
"title": "Successful Delete Deployment From Resources",
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2024-11-15-preview",
"projectName": "EmailApp",
"deploymentName": "staging",
"body": {
"assignedResourceIds": [
"/subscriptions/8ff19748-59ed-4e8a-af4b-7ce285849735/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/LangTestWeu"
]
}
},
"responses": {
"202": {
"headers": {
"operation-location": "{Endpoint}/language/authoring/analyze-conversations/projects/EmailApp/deployments/staging/delete-from-resources/jobs/61ebb7ef-a207-40d2-82b9-5285440ae579_637858368000000000?api-version=2024-11-15-preview"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"operationId": "ConversationalAnalysisAuthoring_DeleteExportedModel",
"title": "Successful Delete Exported Model",
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2024-11-15-preview",
"projectName": "LoanAgreements",
"exportedModelName": "exported-model1"
},
"responses": {
"202": {
"headers": {
"operation-location": "{Endpoint}/language/authoring/analyze-conversations/projects/LoanAgreements/exported-models/exported-model1/jobs/4d37982f-fded-4c2c-afe3-15953b5919b6_637858368000000000?api-version=2023-04-15-preview"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"operationId": "ConversationalAnalysisAuthoring_DeleteTrainedModel",
"title": "Successful Delete Model",
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2024-11-15-preview",
"projectName": "EmailApp",
"trainedModelLabel": "model2"
},
"responses": {
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"operationId": "ConversationalAnalysisAuthoring_DeleteProject",
"title": "Successful Delete Project",
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2024-11-15-preview",
"projectName": "myproject"
},
"responses": {
"202": {
"headers": {
"operation-location": "{Endpoint}/language/authoring/analyze-conversations/projects/global/deletion-jobs/129d3182-625d-496c-bcf9-43686e85160b_637858368000000000?api-version=2024-11-15-preview"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"operationId": "ConversationalAnalysisAuthoring_DeployProject",
"title": "Successful Deploy Project",
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2024-11-15-preview",
"projectName": "EmailApp",
"deploymentName": "production",
"body": {
"trainedModelLabel": "29886710a2ae49259d62cffca977db66",
"assignedResourceIds": [
"/subscriptions/8ff19748-59ed-4e8a-af4b-7ce285849735/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/LangTestWeu",
"/subscriptions/8ff19748-59ed-4e8a-af4b-7ce285849735/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/LangTestEus"
]
}
},
"responses": {
"202": {
"headers": {
"operation-location": "{Endpoint}/language/authoring/analyze-conversations/projects/EmailApp/deployments/production/jobs/66fa9a67-a561-42f1-8a13-f3a879b1a324_637858368000000000?api-version=2024-11-15-preview"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"operationId": "ConversationalAnalysisAuthoring_EvaluateModel",
"title": "Successful Evaluation Project",
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2024-11-15-preview",
"projectName": "EmailApp",
"trainedModelLabel": "model1",
"body": {
"kind": "percentage",
"testingSplitPercentage": 20,
"trainingSplitPercentage": 80
}
},
"responses": {
"202": {
"headers": {
"operation-location": "{Endpoint}/language/authoring/analyze-conversations/projects/LoanAgreements/models/model1/evaluate/jobs/4d37982f-fded-4c2c-afe3-15953b5919b6_637858368000000000?api-version=2024-11-15-preview"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"operationId": "ConversationalAnalysisAuthoring_Export",
"title": "Successful Export Project",
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2024-11-15-preview",
"projectName": "EmailApp",
"stringIndexType": "Utf16CodeUnit"
},
"responses": {
"202": {
"headers": {
"operation-location": "{Endpoint}/language/authoring/analyze-conversations/projects/EmailApp/export/jobs/4d37982f-fded-4c2c-afe3-15953b5919b6_637858368000000000?api-version=2024-11-15-preview"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"operationId": "ConversationalAnalysisAuthoring_GetAssignDeploymentResourcesStatus",
"title": "Successful Get Assign Deployment Resources Status",
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2024-11-15-preview",
"projectName": "EmailApp",
"jobId": "66fa9a67-a561-42f1-8a13-f3a879b1a324_637858368000000000"
},
"responses": {
"200": {
"headers": {},
"body": {
"jobId": "66fa9a67-a561-42f1-8a13-f3a879b1a324_637858368000000000",
"createdDateTime": "2022-04-18T15:52:48Z",
"lastUpdatedDateTime": "2022-04-18T15:53:04Z",
"expirationDateTime": "2022-04-25T15:52:48Z",
"status": "succeeded"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"operationId": "ConversationalAnalysisAuthoring_GetCopyProjectStatus",
"title": "Successful Get Copy Project Status",
"parameters": {
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}",
"api-version": "2024-11-15-preview",
"projectName": "EmailApp",
"jobId": "66fa9a67-a561-42f1-8a13-f3a879b1a324_637858368000000000"
},
"responses": {
"200": {
"headers": {},
"body": {
"jobId": "66fa9a67-a561-42f1-8a13-f3a879b1a324_637858368000000000",
"createdDateTime": "2022-04-18T15:52:48Z",
"lastUpdatedDateTime": "2022-04-18T15:53:04Z",
"expirationDateTime": "2022-04-25T15:52:48Z",
"status": "succeeded"
}
}
}
}
Loading