-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Converting Authoring Analyzeconversations of 2023-04-15-preview and…
… 2023-04-01 version to Typespec. (#30499) * - initiated the first version of typespec. * - deleted testing swagger for authoring conversations - added testing json for authoring conversations 2023-04-15-preview * - added long running operations * - added a createOrUpdate operation with 201 response * - modified the operationId in SuccesfulCopyProjectAuthorization.json - compiled * - added SuccessfulGetDeploymentDeleteFromResourcesStatus.json - compiled * - modified model EvaluationResults - compiled * - fixed Swagger SpellCheck - compiled * - adjusted the map of map structure of ConfusionMatrix - compiled * - modified the map of map structure of IntentsEvaluationSummary - compiled * - add 2023-04-01 version information * - added testing json for 2023-04-01 - compiled * - changed all the Azure.Core.Paged to model definition of array and nextLink (String) * - modified the parameter name of some testing json of 2023-04-01 * - deleted the analyzeconversations-authoring folder under example of 2023-04-01 * - modified the name of models to add prefix ConversationAnalysisAuthoring - compiled * - add version 2023-04-15-preview to CustomConversationSummarization of ConversationalAnalysisAuthoringProjectKind - compiled * - changed the way of calling Azure.Core.Foundations.Error to definitions/error - compiled * - changed the appId type to uuid - compiled * - removed maxLength of projectName of ProjecteMetaData - compiled * - added version 2023-04-15-preview to storageInputContainerName of ProjectMetaData * - added Versions 2023_04_15_preview to some properties - compiled * - add Versions v2023_04_15_preview to ConversationalAnalysisAuthoringCreateDeploymentOptions.properties.assignedResourceIds - compiled * - used npx command to fix TypeSpec Validation errors * - fixed TypeSpec Validation - compiled * - made ConversationalAnalysisAuthoringCreateProjectOptions the request payload of the patch CreateProject operation, and made some of the properties optional - compiled * - fixed typespec validation in Language.AnalyzeConversations-authoring - compiled * - modified the titles of each testing json - compiled * - revert to the `main` version package-lock.json and package.json * - modified the title of testing json SuccessfulSwapDeployment - compiled * - used npx tsv command to fix TypeSpec Validation * - added resource template for ProjectMetaData - used ResourceAction and LongRunningResourceAction for Resource ProjectMetaData (Operation authorize-copy and copy) - compiled * - added child Resource ProjectDeployment - implemented Resource ProjectDeployment Template for getDeploymentsList - compiled * - added CopyProjectJobState as child Resource of ProjectMetaData - implemented CopyProjectJobState by ResourceRead - compiled * - completed all the LongRunningResourceAction for resource ProjectMetadata - compiled * - used resource template for resource ProjectDeployment (Child of ProjectMetadata) - used ResourceRead template for resource DeploymentJobState (Child of ProjectDeployment) - compiled * - added operation templates for resource ProjectTrainedModel - compiled * - added some JobState as children of ProjectTrainedModel - used ResourceRead Template for these JobState resource - compiled * - added Resource resources and used some of its resource template - compiled * - add resource "train/jobs" for TrainingJobState - used some resource template of TrainingJobState - compiled * - added DeploymentDeleteFromResourcesJobState and SwapDeploymentsJobState to fix duplicated DeploymentJobState resource issue - compiled * - added two more jobstate ExportProjectJobState and ImportProjectJobState as resource - used ResourceRead template for thess two resources - compiled * - modified the operation name copy to copyProject - added action("copy") for this - compiled * - used npx tsv command to resolve TypeSpec Validation * - removed the "read" for @visibility of JobState.jobId - compiled * - added @actionSeparator("/:") to solve the RemovedPath and AddedPath issue - compiled * - reverted protected files to main version * - removed all the "read" from @visibility in order to remove the readOnly properties in new swagger - compiled * - introduced the low-level LongRunning Operation to remove the status monitor in response - compiled * - removed all the FIXME of utcDateTime properties * - used npx tsv command to resolve TypeSpec Validation * - removed all the prefix of union and make the x-ms-enum same as old version - compiled * - gave concrete example to the uri in SuccessfulGetModelEvaluation testing json, trying to fix Swagger ModelValidation - compiled * - modified the namespace, adding Conversations at the end - compiled
- Loading branch information
Showing
153 changed files
with
13,011 additions
and
3,566 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
...uthoring/SuccessfulCancelTrainingJob.json → ...23-04-01/SuccessfulCancelTrainingJob.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...ns-authoring/SuccessfulCreateProject.json → ...s/2023-04-01/SuccessfulCreateProject.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...authoring/SuccessfulDeleteDeployment.json → ...023-04-01/SuccessfulDeleteDeployment.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...ions-authoring/SuccessfulDeleteModel.json → ...les/2023-04-01/SuccessfulDeleteModel.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...ns-authoring/SuccessfulDeleteProject.json → ...s/2023-04-01/SuccessfulDeleteProject.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...ns-authoring/SuccessfulDeployProject.json → ...s/2023-04-01/SuccessfulDeployProject.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...ns-authoring/SuccessfulExportProject.json → ...s/2023-04-01/SuccessfulExportProject.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...ns-authoring/SuccessfulGetDeployment.json → ...s/2023-04-01/SuccessfulGetDeployment.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...horing/SuccessfulGetDeploymentStatus.json → ...-04-01/SuccessfulGetDeploymentStatus.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
...anguage.AnalyzeConversations-authoring/examples/2023-04-01/SuccessfulGetExportResult.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"operationId": "ConversationalAnalysisAuthoring_GetExportResult", | ||
"title": "Successful Get Export Result", | ||
"parameters": { | ||
"Endpoint": "{Endpoint}", | ||
"Ocp-Apim-Subscription-Key": "{API key}", | ||
"api-version": "2023-04-01", | ||
"projectName": "SampleProject", | ||
"jobId": "job12345" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"projectFileVersion": "1.0.0", | ||
"stringIndexType": "Utf16CodeUnit", | ||
"metadata": { | ||
"projectKind": "Conversation", | ||
"projectName": "SampleProject", | ||
"language": "en", | ||
"settings": { | ||
"confidenceThreshold": 0.8, | ||
"normalizeCasing": true, | ||
"augmentDiacritics": false | ||
}, | ||
"storageInputContainerName": "project-container", | ||
"multilingual": false, | ||
"description": "Sample project description" | ||
}, | ||
"assets": { | ||
"projectKind": "Conversation" | ||
} | ||
} | ||
} | ||
} | ||
} |
2 changes: 2 additions & 0 deletions
2
...-authoring/SuccessfulGetExportStatus.json → ...2023-04-01/SuccessfulGetExportStatus.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...-authoring/SuccessfulGetImportStatus.json → ...2023-04-01/SuccessfulGetImportStatus.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...ring/SuccessfulGetLoadSnapshotStatus.json → ...4-01/SuccessfulGetLoadSnapshotStatus.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...sations-authoring/SuccessfulGetModel.json → ...amples/2023-04-01/SuccessfulGetModel.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
.../SuccessfulGetModelEvaluationSummary.json → .../SuccessfulGetModelEvaluationSummary.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...tions-authoring/SuccessfulGetProject.json → ...ples/2023-04-01/SuccessfulGetProject.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...g/SuccessfulGetProjectDeletionStatus.json → ...1/SuccessfulGetProjectDeletionStatus.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...ring/SuccessfulGetSupportedLanguages.json → ...4-01/SuccessfulGetSupportedLanguages.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...ccessfulGetSupportedPrebuiltEntities.json → ...ccessfulGetSupportedPrebuiltEntities.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...ulGetSupportedTrainingConfigVersions.json → ...ulGetSupportedTrainingConfigVersions.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...g/SuccessfulGetSwapDeploymentsStatus.json → ...1/SuccessfulGetSwapDeploymentsStatus.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...s-authoring/SuccessfulGetTrainStatus.json → .../2023-04-01/SuccessfulGetTrainStatus.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...ns-authoring/SuccessfulImportProject.json → ...s/2023-04-01/SuccessfulImportProject.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...-authoring/SuccessfulListDeployments.json → ...2023-04-01/SuccessfulListDeployments.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...tions-authoring/SuccessfulListModels.json → ...ples/2023-04-01/SuccessfulListModels.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...ons-authoring/SuccessfulListProjects.json → ...es/2023-04-01/SuccessfulListProjects.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...authoring/SuccessfulListTrainingJobs.json → ...023-04-01/SuccessfulListTrainingJobs.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...ons-authoring/SuccessfulLoadSnapshot.json → ...es/2023-04-01/SuccessfulLoadSnapshot.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...-authoring/SuccessfulSwapDeployments.json → ...2023-04-01/SuccessfulSwapDeployments.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...ons-authoring/SuccessfulTrainProject.json → ...es/2023-04-01/SuccessfulTrainProject.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
.../SuccessfulAssignDeploymentResources.json → .../SuccessfulAssignDeploymentResources.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...uthoring/SuccessfulCancelTrainingJob.json → ...-preview/SuccessfulCancelTrainingJob.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...ions-authoring/SuccessfulCopyProject.json → ...-04-15-preview/SuccessfulCopyProject.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...g/SuccessfulCopyProjectAuthorization.json → ...w/SuccessfulCopyProjectAuthorization.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...ns-authoring/SuccessfulCreateProject.json → ...4-15-preview/SuccessfulCreateProject.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...authoring/SuccessfulDeleteDeployment.json → ...5-preview/SuccessfulDeleteDeployment.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...cessfulDeleteDeploymentFromResources.json → ...cessfulDeleteDeploymentFromResources.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...ions-authoring/SuccessfulDeleteModel.json → ...-04-15-preview/SuccessfulDeleteModel.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...ns-authoring/SuccessfulDeleteProject.json → ...4-15-preview/SuccessfulDeleteProject.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...ns-authoring/SuccessfulDeployProject.json → ...4-15-preview/SuccessfulDeployProject.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...uthoring/SuccessfulEvaluationProject.json → ...-preview/SuccessfulEvaluationProject.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...ns-authoring/SuccessfulExportProject.json → ...4-15-preview/SuccessfulExportProject.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...GetUnassignDeploymentResourcesStatus.json → ...ulGetAssignDeploymentResourcesStatus.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...oring/SuccessfulGetCopyProjectStatus.json → ...eview/SuccessfulGetCopyProjectStatus.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...ns-authoring/SuccessfulGetDeployment.json → ...4-15-preview/SuccessfulGetDeployment.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
...thoring/examples/2023-04-15-preview/SuccessfulGetDeploymentDeleteFromResourcesStatus.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"operationId": "ConversationalAnalysisAuthoring_GetDeploymentDeleteFromResourcesStatus", | ||
"title": "Successful Get Deployment Status", | ||
"parameters": { | ||
"Endpoint": "{Endpoint}", | ||
"Ocp-Apim-Subscription-Key": "{API key}", | ||
"api-version": "2023-04-15-preview", | ||
"projectName": "EmailApp", | ||
"deploymentName": "production", | ||
"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" | ||
} | ||
} | ||
} | ||
} |
2 changes: 2 additions & 0 deletions
2
...horing/SuccessfulGetDeploymentStatus.json → ...review/SuccessfulGetDeploymentStatus.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...horing/SuccessfulGetEvaluationStatus.json → ...review/SuccessfulGetEvaluationStatus.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.