Azure AI Content Safety for Python

•
2
•

Implements the Azure AI Content Safety SDK to detect and moderate harmful text and image content in Python applications.

This skill provides a comprehensive implementation guide for the Azure AI Content Safety SDK, enabling developers to build safer applications by identifying and filtering harmful user-generated or AI-generated content. It streamlines the process of integrating multi-severity classification for categories like hate, violence, and self-harm, while also offering advanced features like custom text blocklists and granular severity level control. Ideal for developers building social platforms, AI-driven chat interfaces, or any public-facing application that requires automated content moderation within the Azure ecosystem.

主な機能

01Multi-category text and image analysis (Hate, Sexual, Violence, Self-Harm)
02Support for both API Key and Microsoft Entra ID authentication
03Granular severity classification with support for 4 or 8 level scales
042 GitHub stars
05Custom text blocklist management for domain-specific filtering
06Immediate rejection capability with halt-on-blocklist-hit functionality

ユースケース

01Pre-moderating AI model outputs before display to end-users to ensure safety
02Filtering sensitive images uploaded to cloud storage or community galleries
03Automated moderation of user-generated comments and profile content