Azure / Azure/azure-sdk-for-python

Content Safety: support for 2024-09-01 API version

Open
#40,496 4 comments 1 reaction 0 assignees View on GitHub
Client Cognitive - Content Safety customer-reported feature-request needs-team-attention Service Attention
Dominant language
Python
Stars
5.6k
Forks
3.4k
Avg merge
1d 21h
Merged PRs (30d)
193

Description

**Is your feature request related to a problem? Please describe.**
It's hard to simply use the new endpoints that are available in version 2024-09-01 (or being developed in 2024-09-15-preview).

**Describe the solution you'd like**
I'd like a new version of `azure-ai-contentsafety` (probably 1.1.0) encompassing the new endpoints, such as [shield prompt](https://azure-ai-content-safety-api-docs.developer.azure-api.net/api-details#api=2024-09-01&operation=TextOperations_ShieldPrompt).

**Describe alternatives you've considered**
The alternative for now is pinging the endpoint directly using `requests`, but we are missing all the HTTP API wrapping capabilities that Microsoft offers.

Please let me know should you have any questions!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.