Azure AI Content Safety for Python
Integrates Azure AI Content Safety to detect and moderate harmful text and image content using multi-severity classification.
This skill provides Claude with the specialized knowledge to implement the Azure AI Content Safety SDK for Python, allowing developers to build robust moderation layers for their applications. It covers essential patterns for detecting hate speech, violence, self-harm, and sexual content across both text and images. By utilizing this skill, users can easily configure granular severity levels, manage custom domain-specific blocklists, and implement secure authentication via Azure Key or Entra ID, ensuring that both user-generated and AI-generated content remains safe and compliant.
Key Features
01Multi-category analysis for Hate, Sexual, Violence, and Self-Harm
02Granular severity classification with 4-level and 8-level scales
03Integration patterns for Azure Key and Entra ID authentication
04Comprehensive custom blocklist management for domain-specific filtering
050 GitHub stars
06Support for both local image files and blob URL analysis
Use Cases
01Pre-moderating LLM outputs to prevent the display of harmful AI-generated content
02Moderating user-generated comments and image uploads in real-time
03Implementing enterprise-specific safety policies using custom text blocklists