Azure AI Content Safety (Python)
Integrates automated moderation workflows for text and images using the Azure AI Content Safety Python SDK.
This skill provides specialized patterns and best practices for implementing Azure AI Content Safety in Python environments. It enables developers to detect harmful content across four primary categories—Hate, Sexual, Violence, and Self-Harm—with granular severity scoring. Beyond standard analysis, it facilitates advanced features like custom text blocklist management and support for both API key and Entra ID authentication, ensuring that applications maintain high safety standards for both user-generated and AI-generated content.
Key Features
01Custom text blocklist management for domain-specific filtering
02Multi-category text and image analysis with severity grading
03Configurable severity scales (4-level or 8-level) for precise control
04Support for both API Key and Microsoft Entra ID authentication
05Patterns for image moderation via base64 data or blob URLs
061 GitHub stars
Use Cases
01Automating moderation for user-generated content in community platforms
02Implementing safety guardrails for Large Language Model (LLM) outputs
03Managing digital asset libraries with automated image safety scanning