Skip to content

[QUERY] Azure.AI.TextAnalytics - How to use "2024-11-5-preview" version / configure Redaction Policy? #50277

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

Open
stephanprobst opened this issue May 27, 2025 · 2 comments
Labels
Client This issue points to a problem in the data-plane of the library. Cognitive - Text Analytics customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention Workflow: This issue is responsible by Azure service team.

Comments

@stephanprobst
Copy link

Library name and version

Azure.AI.TextAnalytics

Query/Question

I'm would like to use Azure.AI.TextAnalytics with local container deployment (mcr.microsoft.com/azure-cognitive-services/textanalytics/pii) which seems to work fine.

Unfortunately masking options / redaction policy (see Redact-Pii) is only available with version 2024-11-5-preview.

I don't see any option in the 5.3.0 version or preview version of Azure.AI.TextAnalytics to configure the redaction policy or/and switch to 2024-11-5-preview.

Did I oversee something? When will it be available? How can I use it today? Do I need to fallback to HTTP (would be unfortunate)?

Environment

.NET 9.0.5 running in / on Linux Container / Windows 10 & 11
Visual Studio

@stephanprobst stephanprobst changed the title [QUERY] Azure.AI.TextAnalytics - How to use "2024-11-5-preview" version? [QUERY] Azure.AI.TextAnalytics - How to use "2024-11-5-preview" version / configure Redaction Policy? May 27, 2025
@github-actions github-actions bot added Client This issue points to a problem in the data-plane of the library. Cognitive - Text Analytics customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention Workflow: This issue is responsible by Azure service team. labels May 27, 2025
Copy link

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @bidisha-c @quentinRobinson.

Copy link

Hi @stephanprobst, I'm an AI Support assistant here to help with your issue. While the Azure SDK team reviews your request, I wanted to provide some possible tips and documentation that might help you in the meantime.

  • The redaction policy for version 2024-11-15‑preview is not yet exposed in the currently released client (e.g. 5.3.0); the public preview of this functionality is still in development.
  • In the repository, you can review the changelog for upcoming versions that will add these redaction policy options. For example, note how later preview builds (like 5.1.0‑beta.8) introduced additional classes—details are available in the CHANGELOG.
  • As a reminder, when using a preview API version, it’s important to reference documentation for the specific package release (using release tags) to ensure consistency; see the guidance in this GitHub comment.
  • Additional samples demonstrating PII redaction (using different mask policies) are available in our related Cognitive Language services samples. For instance, check the sample in the Conversations SDK that shows how to apply masking policies: Extract PII from a conversation With Character Mask Policy.

The Azure SDK team will respond to your issue shortly. I hope these suggestions are helpful in the meantime. If this comment helped you, please give it a 👍. If the suggestion was not helpful or incorrect, please give it a 👎. Your feedback helps us improve!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Client This issue points to a problem in the data-plane of the library. Cognitive - Text Analytics customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention Workflow: This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

1 participant