Official
Data Science & ML
Moderates and detects harmful text or image content using the Azure AI Content Safety Python SDK.
This skill empowers developers to integrate robust content moderation capabilities into their Python applications through the Azure AI Content Safety service. It enables automated detection of offensive, risky, or undesirable content across four main categories—Hate, Sexual, Violence, and Self-Harm—with granular severity scoring. Whether you are filtering user-generated comments, auditing AI outputs, or managing custom term blocklists, this skill provides the implementation patterns and best practices needed for building secure and ethical AI-driven applications.
Key Features
012,707 GitHub stars
02Custom term blocklist management with the BlocklistClient
03Image safety classification via file or URL
04Secure Entra ID authentication using DefaultAzureCredential
05Multi-category text analysis (Hate, Sexual, Violence, Self-Harm)
06Granular severity level reporting from 0 to 7
Use Cases
01Pre-moderating and validating Large Language Model (LLM) responses
02Automating moderation of user-generated social media content
03Scanning image uploads for violent or sexual content in real-time