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

Language API for TA (2022-03-01-preview) #17281

Conversation

abhahn
Copy link
Member

@abhahn abhahn commented Jan 7, 2022

MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.

Changelog

Add a changelog entry for this PR by answering the following questions:

  1. What's the purpose of the update?
    • new service onboarding
    • new API version
    • update existing version for new feature
    • update existing version to fix swagger quality issue in s360
    • Other, please clarify
  2. When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
  3. When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
  4. If updating an existing version, please select the specific langauge SDKs and CLIs that must be refreshed after the swagger is published.
    • SDK of .NET (need service team to ensure code readiness)
    • SDK of Python
    • SDK of Java
    • SDK of Js
    • SDK of Go
    • PowerShell
    • CLI
    • Terraform
    • No refresh required for updates in this PR

Contribution checklist:

If any further question about AME onboarding or validation tools, please view the FAQ.

ARM API Review Checklist

Applicability: ⚠️

If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

  • Change to data plane APIs
  • Adding new properties
  • All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

  • Check this box if any of the following apply to the PR so that label "WaitForARMFeedback" will be added automatically to begin ARM API Review. Failure to comply may result in delays to the manifest.

    • Adding a new service
    • Adding new API(s)
    • Adding a new API version
      -[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits.
  • Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

  • If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist

If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

  • Removing API(s) in a stable version
  • Removing properties in a stable version
  • Removing API version(s) in a stable version
  • Updating API in a stable or public preview version with Breaking Change Validation errors
  • Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.

Please follow the link to find more details on PR review process.

markcowl and others added 30 commits August 21, 2019 19:39
@ghost
Copy link

ghost commented Feb 20, 2022

Hi, @abhahn. Your PR has no update for 14 days and it is marked as stale PR. If no further update for over 14 days, the bot will close the PR. If you want to refresh the PR, please remove no-recent-activity label.

@ghost ghost added the no-recent-activity label Feb 20, 2022
@ghost ghost closed this Mar 7, 2022
@ghost
Copy link

ghost commented Mar 7, 2022

Hi, @abhahn. The PR will be closed since the PR has no update for 28 days. If you still need the PR review to proceed, please reopen it and @ mention PR assignee.

Copy link
Member

@deyaaeldeen deyaaeldeen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@@ -645,7 +682,7 @@
"SingleClassificationDocumentResult": {
"type": "object",
"properties": {
"classification": {
"class": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My only concern is what various clients will call this (since class is often a reserved/keyword). I don't think I thought about this in the REST API discussion. But we should be able to specify x-ms-client-name to rename/quantify the name in client libraries.

Copy link
Member

@mikekistler mikekistler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! 👍

Copy link
Member

@kristapratico kristapratico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

confirming that generation looks good 👍

@lmazuel lmazuel merged commit 472892b into Azure:dev-cognitiveservices-Language-2022-03-01-preview Mar 17, 2022
abhahn added a commit to abhahn/azure-rest-api-specs that referenced this pull request Mar 22, 2022
* Add blockchain to latest profile

* Add additional types

* WIP for language api spec for TA

* Updated preview version number; finished up async definitions

* Finished first draft of full spec

* Finished first draft of full spec, minus FHIR structuring in HC output

* Removed features not included in 2021-11-01 preview

* Update custom text tasks TODOs

* Moved common definitions to TA-specific definitions

* Added custom text tasks to JobManifest

* Addressing feedback from PR comments and internal review

* Addressed some PR comments

* Updated some remaining references to documents

* PR comments

* Updated a previous change

* Reverted references to 'records' back to 'documents'

* A few small updates to examples; removed base Task type to simplify structure

* PR comments

* Addressed TODO items; removed LD-related objects (will be added in another preview)

* Fixed anonymous types

* Removed required field for body in POST request

* Fix prettier check

* Added a few more details; experimental change for documents property

* Ran prettier

* Correction to AnalysisInput object

* Merged changes from 2021-11-01-preview and moved new changes to 2022-02-01

* PR comments

* Updates to the design for tasks

* Added custom entities task to examples

* Updates

* Finished implementation of discriminator pattern and added some exmaples

* Updates

* Prettier

* Fixed semantic validation errors

* Fixed model validation

* Another model validation fix

* Debugging model validation errors

* Using a different discriminator enum for output schemas

* Fixed some missing discriminator updates

* More semantic validation fixes

* Fixed model validation errors; updated sample names

* Fixed linting errors and addressed some warnings in the linter output

* Ran prettier on examples

* PR comments and some minor restructuring

* Ran prettier

* Removed a duplicate schema from CustomEntitiesTaskParameters

* PR comments

* PR comments

* PR comments

* Added missing job task status 'partiallySucceeded'

* Added preview folder for 2022-03-01-preview

* Added delete and cancel operations for jobs

* Added some examples for delete and cancel; updated samples for new preview

* Incorporating feedback from the API review

* fix naming consistency (#1)

* naming updates

* fix typo

* Fixed one last merge conflict

* naming fix (#2)

* Fixed a ref

* Ran prettier on all files

Co-authored-by: Mark Cowlishaw <markcowl@microsoft.com>
Co-authored-by: Abigail Hartman <Abigail.Hartman@microsoft.com>
Co-authored-by: Kareem Yousef <kayousef@microsoft.com>
Co-authored-by: Abby Hartman <abhahn@microsoft.com>
Co-authored-by: Mohamed Shaban <official.mohamedshaban@gmail.com>
abhahn added a commit to abhahn/azure-rest-api-specs that referenced this pull request Mar 28, 2022
* Add blockchain to latest profile

* Add additional types

* WIP for language api spec for TA

* Updated preview version number; finished up async definitions

* Finished first draft of full spec

* Finished first draft of full spec, minus FHIR structuring in HC output

* Removed features not included in 2021-11-01 preview

* Update custom text tasks TODOs

* Moved common definitions to TA-specific definitions

* Added custom text tasks to JobManifest

* Addressing feedback from PR comments and internal review

* Addressed some PR comments

* Updated some remaining references to documents

* PR comments

* Updated a previous change

* Reverted references to 'records' back to 'documents'

* A few small updates to examples; removed base Task type to simplify structure

* PR comments

* Addressed TODO items; removed LD-related objects (will be added in another preview)

* Fixed anonymous types

* Removed required field for body in POST request

* Fix prettier check

* Added a few more details; experimental change for documents property

* Ran prettier

* Correction to AnalysisInput object

* Merged changes from 2021-11-01-preview and moved new changes to 2022-02-01

* PR comments

* Updates to the design for tasks

* Added custom entities task to examples

* Updates

* Finished implementation of discriminator pattern and added some exmaples

* Updates

* Prettier

* Fixed semantic validation errors

* Fixed model validation

* Another model validation fix

* Debugging model validation errors

* Using a different discriminator enum for output schemas

* Fixed some missing discriminator updates

* More semantic validation fixes

* Fixed model validation errors; updated sample names

* Fixed linting errors and addressed some warnings in the linter output

* Ran prettier on examples

* PR comments and some minor restructuring

* Ran prettier

* Removed a duplicate schema from CustomEntitiesTaskParameters

* PR comments

* PR comments

* PR comments

* Added missing job task status 'partiallySucceeded'

* Added preview folder for 2022-03-01-preview

* Added delete and cancel operations for jobs

* Added some examples for delete and cancel; updated samples for new preview

* Incorporating feedback from the API review

* fix naming consistency (#1)

* naming updates

* fix typo

* Fixed one last merge conflict

* naming fix (#2)

* Fixed a ref

* Ran prettier on all files

Co-authored-by: Mark Cowlishaw <markcowl@microsoft.com>
Co-authored-by: Abigail Hartman <Abigail.Hartman@microsoft.com>
Co-authored-by: Kareem Yousef <kayousef@microsoft.com>
Co-authored-by: Abby Hartman <abhahn@microsoft.com>
Co-authored-by: Mohamed Shaban <official.mohamedshaban@gmail.com>
abhahn added a commit to abhahn/azure-rest-api-specs that referenced this pull request Apr 4, 2022
* Add blockchain to latest profile

* Add additional types

* WIP for language api spec for TA

* Updated preview version number; finished up async definitions

* Finished first draft of full spec

* Finished first draft of full spec, minus FHIR structuring in HC output

* Removed features not included in 2021-11-01 preview

* Update custom text tasks TODOs

* Moved common definitions to TA-specific definitions

* Added custom text tasks to JobManifest

* Addressing feedback from PR comments and internal review

* Addressed some PR comments

* Updated some remaining references to documents

* PR comments

* Updated a previous change

* Reverted references to 'records' back to 'documents'

* A few small updates to examples; removed base Task type to simplify structure

* PR comments

* Addressed TODO items; removed LD-related objects (will be added in another preview)

* Fixed anonymous types

* Removed required field for body in POST request

* Fix prettier check

* Added a few more details; experimental change for documents property

* Ran prettier

* Correction to AnalysisInput object

* Merged changes from 2021-11-01-preview and moved new changes to 2022-02-01

* PR comments

* Updates to the design for tasks

* Added custom entities task to examples

* Updates

* Finished implementation of discriminator pattern and added some exmaples

* Updates

* Prettier

* Fixed semantic validation errors

* Fixed model validation

* Another model validation fix

* Debugging model validation errors

* Using a different discriminator enum for output schemas

* Fixed some missing discriminator updates

* More semantic validation fixes

* Fixed model validation errors; updated sample names

* Fixed linting errors and addressed some warnings in the linter output

* Ran prettier on examples

* PR comments and some minor restructuring

* Ran prettier

* Removed a duplicate schema from CustomEntitiesTaskParameters

* PR comments

* PR comments

* PR comments

* Added missing job task status 'partiallySucceeded'

* Added preview folder for 2022-03-01-preview

* Added delete and cancel operations for jobs

* Added some examples for delete and cancel; updated samples for new preview

* Incorporating feedback from the API review

* fix naming consistency (#1)

* naming updates

* fix typo

* Fixed one last merge conflict

* naming fix (#2)

* Fixed a ref

* Ran prettier on all files

Co-authored-by: Mark Cowlishaw <markcowl@microsoft.com>
Co-authored-by: Abigail Hartman <Abigail.Hartman@microsoft.com>
Co-authored-by: Kareem Yousef <kayousef@microsoft.com>
Co-authored-by: Abby Hartman <abhahn@microsoft.com>
Co-authored-by: Mohamed Shaban <official.mohamedshaban@gmail.com>
abhahn added a commit to abhahn/azure-rest-api-specs that referenced this pull request Apr 4, 2022
* Add blockchain to latest profile

* Add additional types

* WIP for language api spec for TA

* Updated preview version number; finished up async definitions

* Finished first draft of full spec

* Finished first draft of full spec, minus FHIR structuring in HC output

* Removed features not included in 2021-11-01 preview

* Update custom text tasks TODOs

* Moved common definitions to TA-specific definitions

* Added custom text tasks to JobManifest

* Addressing feedback from PR comments and internal review

* Addressed some PR comments

* Updated some remaining references to documents

* PR comments

* Updated a previous change

* Reverted references to 'records' back to 'documents'

* A few small updates to examples; removed base Task type to simplify structure

* PR comments

* Addressed TODO items; removed LD-related objects (will be added in another preview)

* Fixed anonymous types

* Removed required field for body in POST request

* Fix prettier check

* Added a few more details; experimental change for documents property

* Ran prettier

* Correction to AnalysisInput object

* Merged changes from 2021-11-01-preview and moved new changes to 2022-02-01

* PR comments

* Updates to the design for tasks

* Added custom entities task to examples

* Updates

* Finished implementation of discriminator pattern and added some exmaples

* Updates

* Prettier

* Fixed semantic validation errors

* Fixed model validation

* Another model validation fix

* Debugging model validation errors

* Using a different discriminator enum for output schemas

* Fixed some missing discriminator updates

* More semantic validation fixes

* Fixed model validation errors; updated sample names

* Fixed linting errors and addressed some warnings in the linter output

* Ran prettier on examples

* PR comments and some minor restructuring

* Ran prettier

* Removed a duplicate schema from CustomEntitiesTaskParameters

* PR comments

* PR comments

* PR comments

* Added missing job task status 'partiallySucceeded'

* Added preview folder for 2022-03-01-preview

* Added delete and cancel operations for jobs

* Added some examples for delete and cancel; updated samples for new preview

* Incorporating feedback from the API review

* fix naming consistency (#1)

* naming updates

* fix typo

* Fixed one last merge conflict

* naming fix (#2)

* Fixed a ref

* Ran prettier on all files

Co-authored-by: Mark Cowlishaw <markcowl@microsoft.com>
Co-authored-by: Abigail Hartman <Abigail.Hartman@microsoft.com>
Co-authored-by: Kareem Yousef <kayousef@microsoft.com>
Co-authored-by: Abby Hartman <abhahn@microsoft.com>
Co-authored-by: Mohamed Shaban <official.mohamedshaban@gmail.com>
heaths pushed a commit to heaths/azure-rest-api-specs that referenced this pull request Apr 4, 2022
* Add blockchain to latest profile

* Add additional types

* WIP for language api spec for TA

* Updated preview version number; finished up async definitions

* Finished first draft of full spec

* Finished first draft of full spec, minus FHIR structuring in HC output

* Removed features not included in 2021-11-01 preview

* Update custom text tasks TODOs

* Moved common definitions to TA-specific definitions

* Added custom text tasks to JobManifest

* Addressing feedback from PR comments and internal review

* Addressed some PR comments

* Updated some remaining references to documents

* PR comments

* Updated a previous change

* Reverted references to 'records' back to 'documents'

* A few small updates to examples; removed base Task type to simplify structure

* PR comments

* Addressed TODO items; removed LD-related objects (will be added in another preview)

* Fixed anonymous types

* Removed required field for body in POST request

* Fix prettier check

* Added a few more details; experimental change for documents property

* Ran prettier

* Correction to AnalysisInput object

* Merged changes from 2021-11-01-preview and moved new changes to 2022-02-01

* PR comments

* Updates to the design for tasks

* Added custom entities task to examples

* Updates

* Finished implementation of discriminator pattern and added some exmaples

* Updates

* Prettier

* Fixed semantic validation errors

* Fixed model validation

* Another model validation fix

* Debugging model validation errors

* Using a different discriminator enum for output schemas

* Fixed some missing discriminator updates

* More semantic validation fixes

* Fixed model validation errors; updated sample names

* Fixed linting errors and addressed some warnings in the linter output

* Ran prettier on examples

* PR comments and some minor restructuring

* Ran prettier

* Removed a duplicate schema from CustomEntitiesTaskParameters

* PR comments

* PR comments

* PR comments

* Added missing job task status 'partiallySucceeded'

* Added preview folder for 2022-03-01-preview

* Added delete and cancel operations for jobs

* Added some examples for delete and cancel; updated samples for new preview

* Incorporating feedback from the API review

* fix naming consistency (Azure#1)

* naming updates

* fix typo

* Fixed one last merge conflict

* naming fix (Azure#2)

* Fixed a ref

* Ran prettier on all files

Co-authored-by: Mark Cowlishaw <markcowl@microsoft.com>
Co-authored-by: Abigail Hartman <Abigail.Hartman@microsoft.com>
Co-authored-by: Kareem Yousef <kayousef@microsoft.com>
Co-authored-by: Abby Hartman <abhahn@microsoft.com>
Co-authored-by: Mohamed Shaban <official.mohamedshaban@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Cognitive Services - Text Analytics - Language API] REST API Review (2022-03-01-preview)