Azure / Azure/azure-sdk-for-python

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

Aperta
#40,496 4 commenti 1 reazione 0 assegnatari Vedi su GitHub
Client Cognitive - Content Safety customer-reported feature-request needs-team-attention Service Attention
Lingua principale
Python
Stelle
5.6k
Fork
3.4k
Merge medio
2g 2h
PR unite (30g)
213

Descrizione

**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!

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia individuando il pacchetto azure-ai-contentsafety e la sua implementazione attuale dell'API, quindi confronta le operazioni supportate con la Content Safety API 2024-09-01, incluso Shield Prompt. Il payload non indica file o test del repository; il lavoro è completato quando una versione rilasciata del pacchetto espone gli endpoint richiesti tramite il wrapping dell'HTTP API dell'SDK.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
azure, python
Ambito
api
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.