-
Notifications
You must be signed in to change notification settings - Fork 5.1k
[csharp sdk] TextAnalytics 20251115preview #54033
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
base: main
Are you sure you want to change the base?
[csharp sdk] TextAnalytics 20251115preview #54033
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the Azure Cognitive Language Text SDK to support the new API version 2025-11-15-preview. The changes are primarily auto-generated code reflecting updates to the underlying service specification.
Key changes:
- Updates API version from previous versions to
2025-11-15-previewand adds2025-11-01stable version - Renames operation-related APIs from
*Operation*to*Job*terminology (e.g.,AnalyzeTextOperationStatus→AnalyzeTextJobStatus) - Changes PII redaction from single
RedactionPolicyto array-basedRedactionPolicies - Renames task parameter properties from
ActionContenttoParametersfor LRO tasks - Adds new PII categories, confidence score thresholds, and synthetic replacement policy support
Reviewed Changes
Copilot reviewed 2 out of 79 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tsp-location.yaml | Updates spec location commit hash and directory path |
| Samples_TextAnalysisClient.cs | Updates test samples to reflect API changes (job methods, redaction policies array, parameter renames) |
| TextAnalysisClientOptions.cs | Adds new service versions V2025_11_01 and V2025_11_15_Preview |
| TextAnalysisClient.cs | Renames operation methods to job methods (e.g., SubmitOperation → SubmitJob) |
| Various model files | Renames classes (HealthcareActionContent → HealthcareTaskParameters, PiiActionResult → PiiResultWithDetectedLanguage, etc.) |
| Various LRO task files | Renames ActionContent property to Parameters across all LRO task classes |
| BaseRedactionPolicy files | Adds new optional properties (entityTypes, policyName, isDefault) |
| PiiActionContent | Changes RedactionPolicy property to RedactionPolicies list, adds ConfidenceScoreThreshold and DisableEntityValidation |
| PiiCategory files | Adds many new PII categories (Korean IDs, Location types, CVV, ExpirationDate, etc.) |
| New files | Adds SyntheticReplacementPolicyType, ConfidenceScoreThreshold, ConfidenceScoreThresholdOverride, AddressMetadata |
| CharacterMaskPolicyType | Adds UnmaskLength and UnmaskFromEnd properties |
| Documentation | Updates XML documentation to reflect method and type name changes |
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
…m/amber-Chen-86/azure-sdk-for-net into textanalytics_sdk_20251115preview
Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.