Description
azure-ai-contentsafety-java is an agent skill for building content moderation in Java with the Azure AI Content Safety SDK. The skill shows a coding assistant how to send text and images to the service, which checks them for hate, sexual content, violence and self-harm. Each category comes back with a severity scale, so you can set your own cut-off in your moderation logic rather than accept a simple pass or fail. The SDK also supports custom blocklists for terms that are specific to your product, such as brand names you want blocked. Because the pre-trained models already cover the four harm categories, you do not need to train your own classifiers. Typical uses include scanning user comments before they are published, filtering uploaded images for violent or sexual content, enforcing a brand-specific term list, checking chat messages in a game for self-harm language, and running batch moderation over old content. The skill is part of Microsoft's skills collection and is installed with the command shown on this page.…
Highlights
- Analyze text and images for four harm categories
- Severity scores you can threshold
- Custom blocklists for domain terms
- Batch moderation of stored content
- Java SDK usage patterns
Ratings & Reviews
No ratings yet
Be the first to rate microsoft/azure-ai-contentsafety-java.
People also visit
microsoft/azure-ai-contentsafety-java FAQ
What does this skill do?
It guides a coding assistant to write Java code that checks text and images for harmful content with the Azure AI Content Safety SDK.
How do I install it?
Run npx skills add https://github.com/microsoft/skills --skill azure-ai-contentsafety-java, or paste the skill link into your coding assistant and ask it to install the skill.
What does the service check for?
Hate, sexual content, violence and self-harm, each with a severity level.
Can I add my own banned words?
Yes. The SDK supports custom blocklists for terms specific to your domain.
What are the best microsoft/azure-ai-contentsafety-java alternatives?
Popular alternatives to microsoft/azure-ai-contentsafety-java include microsoft/azure-ai-contentsafety-ts, microsoft/azure-ai-contentsafety-py and gws-modelarmor. See all microsoft/azure-ai-contentsafety-java alternatives









.png)
