Azure AI Content Safety for Python
Integrates Azure AI Content Safety to detect and moderate harmful text and image content in Python applications.
This skill enables developers to implement robust content moderation by leveraging the Azure AI Content Safety SDK for Python. It provides standardized implementation patterns for detecting harmful user-generated and AI-generated content across four primary categories: hate, sexual, violence, and self-harm. With support for both text and image analysis, custom blocklist management, and granular severity scoring (up to 8 levels), this skill is essential for building safe, compliant AI applications that require automated moderation guardrails.
Características Principales
01Custom text blocklist management for domain-specific term filtering
02Multi-category text and image analysis (Hate, Sexual, Violence, Self-Harm)
03Flexible image processing via Base64 data or direct blob URLs
04Granular severity level scoring from 0-7 for precise moderation control
05Support for both API Key and Entra ID (Azure AD) authentication
061 GitHub stars
Casos de Uso
01Pre-filtering AI-generated model outputs before they reach end-users
02Moderating user-generated comments and profile images in real-time
03Implementing enterprise-grade safety guardrails with custom term blocklists