This skill empowers developers to integrate robust content moderation into Java applications using Azure AI Content Safety. It provides standardized patterns for analyzing text and images across four harm categories—Hate, Sexual, Violence, and Self-harm—with granular severity scoring. Developers can implement custom blocklists, handle client authentication via API keys or Azure Identity, and follow best practices for latency and threshold management, making it an essential tool for building safe, compliant, and user-friendly digital platforms.
主要功能
01Support for Azure Identity (DefaultAzureCredential) and API key authentication
02Image moderation via local file uploads or remote URLs
03Comprehensive custom blocklist creation and management
04132 GitHub stars
05Multi-category text analysis for Hate, Sexual, Violence, and Self-harm
06Granular severity level scoring on a standardized 0-7 scale
使用场景
01Filtering user-generated comments and forum posts for hate speech and violence
02Automating the review of profile pictures and media uploads for inappropriate content
03Implementing safety guardrails for AI-driven chat applications and community platforms