Azure AI Content Safety (Python)
Detects and filters harmful text and image content using Azure's multi-severity classification system.
This skill enables developers to integrate Azure AI Content Safety into their Python applications, providing robust mechanisms for identifying and mitigating toxic content. It supports multi-category analysis for hate, violence, sexual, and self-harm content across both text and images. With built-in support for custom blocklist management and granular severity scoring (4-level or 8-level), this skill is essential for building safe moderation workflows, ensuring that both user-generated content and AI outputs remain compliant with safety guidelines.
Key Features
0118 GitHub stars
02Granular severity scoring with optional 8-level precision
03Custom text blocklist management for domain-specific filtering
04Comprehensive image analysis via local files or blob URLs
05Multi-category detection for Hate, Sexual, Violence, and Self-Harm
06Support for both API Key and Microsoft Entra ID authentication
Use Cases
01Screening uploaded images for inappropriate or violent visual content
02Pre-filtering AI-generated responses to prevent harmful model outputs
03Moderating user-generated comments and forum posts in real-time