Skip to content

Azure AI contentsafety java vs Azure AI contentsafety ts

Azure AI contentsafety java is an open-source agent skill for cloud and infrastructure. Azure AI contentsafety ts is an open-source agent skill for cloud and infrastructure.

  • Azure AI contentsafety java is best for screen user-submitted text in a java service for hate or violence content.
  • Azure AI contentsafety ts is best for screen user comments for hate speech or violent language before publishing.
What it is
Azure AI contentsafety java is an open-source agent skill for cloud and infrastructure.
Azure AI contentsafety ts is an open-source agent skill for cloud and infrastructure.
Best for
Screen user-submitted text in a Java service for hate or violence content
Screen user comments for hate speech or violent language before publishing
Kind
Skill
Skill
Pricing
Open source
Open source
Platforms
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
GitHub stars
3.2K
3.2K
Last commit
Nov 2026
Nov 2026
License
MIT
MIT
Open source
Good for
Screen user-submitted text in a Java service for hate or violence content; Check uploaded images in a Java application before publishing them; Create a custom blocklist of terms and apply it to text moderation
Screen user comments for hate speech or violent language before publishing; Check uploaded images for sexual or violent content; Maintain a custom list of banned terms and test messages against it

What Azure AI contentsafety java does

  • Text content analysis

    Shows how to analyze text for harm categories and read per-category severity results.

  • Image content analysis

    Covers submitting images from local bytes or a blob URL for moderation.

  • Blocklist management

    Covers creating, updating, listing, and deleting text blocklists and their items.

  • Blocklist matching during analysis

    Explains attaching blocklists to text analysis and reading the matches returned.

  • Client authentication options

    Describes building clients with an API key or with Azure Identity credentials.

  • Error handling and configuration

    Lists common HTTP error codes and the environment variables the code expects.

What Azure AI contentsafety ts does

  • Text harm analysis

    Scores submitted text across hate, sexual, violence and self-harm categories.

  • Image harm analysis

    Checks images sent as base64 content or from a blob storage URL.

  • Custom blocklist management

    Creates, updates, lists and deletes blocklists and their terms.

  • Blocklist matching

    Reports which custom blocklist terms appear in analyzed text.

  • Authentication setup

    Shows API key and Azure identity credential configuration for the client.

  • Moderation decision helper

    Provides a function that converts severity and blocklist results into allow or block.

Azure AI contentsafety java vs Azure AI contentsafety ts: questions

Is Azure AI contentsafety java or Azure AI contentsafety ts cheaper?

Both are open source. Compare current plans on each official site.

What is the difference between Azure AI contentsafety java and Azure AI contentsafety ts?

Azure AI contentsafety java is an open-source agent skill for cloud and infrastructure. Azure AI contentsafety ts is an open-source agent skill for cloud and infrastructure.

Keep comparing