ContentUndertanding Client SDK Updates#39021
Open
yungshinlintw wants to merge 48 commits intomainfrom
Open
Conversation
… analyzer warning
…and embedding fields
Next Steps to Merge⌛ Please wait. Next steps to merge this PR are being evaluated by automation. ⌛Comment generated by summarize-checks workflow run. |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR makes two focused improvements to the ContentUnderstanding TypeSpec specification: correcting the data structure for supported models and standardizing client-side naming.
Key Changes:
- Fixed
SupportedModelsto usestring[]instead ofRecord<string>for completion and embedding models, correctly representing an array of model names rather than a dictionary - Added client-side renaming of
ContentCategoryDefinitiontoContentCategoryto resolve .NET analyzer warnings (AZC0031) and maintain consistency across all SDK languages
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| specification/ai/ContentUnderstanding/models.tsp | Corrects the type definition of SupportedModels.completion and SupportedModels.embedding from dictionaries to string arrays |
| specification/ai/ContentUnderstanding/client.tsp | Adds @@clientName decorator to rename ContentCategoryDefinition to ContentCategory in generated SDKs for all languages |
API Change CheckAPIView identified API level changes in this PR and created the following API reviews
|
bojunehsu
approved these changes
Dec 5, 2025
…ration-location in header
…RunningResourceCreateReplace to workaround TypeSpec Core Generator Core issue
…nal and disable test/sample generation in tspconfig.yaml
…atures for improved parameter handling and versioning support
…ngEncoding parameter and simplify custom signatures for improved clarity and consistency
…intain custom parameter order
…tomSignature operations to clarify functionality
…ry methods to enhance SDK ergonomics and maintain custom parameter order
…-rest-api-specs into yslin/net_sdk_update
Co-authored-by: Cursor <cursoragent@cursor.com>
…-rest-api-specs into yslin/net_sdk_update
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Data Plane API Specification Update Pull Request
Tip
Overwhelmed by all this guidance? See the
Getting helpsection at the bottom of this PR description.PR review workflow diagram
Please understand this diagram before proceeding. It explains how to get your PR approved & merged.
API Info: The Basics
Most of the information about your service should be captured in the issue that serves as your API Spec engagement record.
Is this review for (select one):
Change Scope
This section will help us focus on the specific parts of your API that are new or have been modified.
Please share a link to the design document for the new APIs, a link to the previous API Spec document (if applicable), and the root paths that have been updated.
Viewing API changes
For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the
Generated ApiViewcomment added to this PR. You can use ApiView to show API versions diff.Suppressing failures
If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
Swagger-Suppression-Process
to get approval.
Release planner
A release plan should have been created. If not, please create one as it will help guide you through the REST API and SDK creation process.
❔Got questions? Need additional info?? We are here to help!
Contact us!
The Azure API Review Board is dedicated to helping you create amazing APIs. You can read about our mission and learn more about our process on our wiki.
Click here for links to tools, specs, guidelines & other good stuff
Tooling
Guidelines & Specifications
Helpful Links
Getting help
write accessper aka.ms/azsdk/access#request-access-to-rest-api-or-sdk-repositoriesNext Steps to Mergecomment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.and https://aka.ms/ci-fix.
queuedstate, please add a comment with contents/azp run.This should result in a new comment denoting a
PR validation pipelinehas started and the checks should be updated after few minutes.