{"categories":[{"label":"Artificial Intelligence","url":"https://skillfed.io/packages/category/scientific-engineering-artificial-intelligence/4"}],"enrichment":{"capability":"Detects harmful content in text and images by classifying them across categories like sexual content, violence, hate, and self-harm with severity ratings, and manages custom blocklists for domain-specific screening.","skillfed_tags":["content-moderation","azure-sdk","harm-detection"],"use_cases":["Moderate user-generated comments or posts in social platforms or forums before publishing.","Screen AI-generated text or images for harmful output in chatbot or generative AI applications.","Build compliance workflows that flag content for manual review based on severity thresholds.","Create custom blocklists for industry-specific harmful terms (e.g., medical misinformation, financial scams).","Analyze bulk content archives to identify and categorize harmful material across historical data."],"what_it_does":"This package is a Python client for Azure AI Content Safety, a cloud-hosted service that classifies text and images for harmful content. It provides two main clients\u2014ContentSafetyClient for analyzing content and BlocklistClient for managing custom term blocklists\u2014and wraps REST calls to Azure's moderation APIs. The service recognizes four harm categories (hate, sexual, violence, self-harm) and returns severity ratings on a 0\u20137 scale; text supports full granularity while images return mapped levels (0, 2, 4, 6).\n\nYou authenticate using either an API key or Microsoft Entra ID credentials, then call analyze methods to scan text or image URLs. The package handles request serialization and response parsing, abstracting away HTTP details. It's designed for applications that need to filter user-generated or AI-generated content at scale\u2014e.g., moderation workflows, safety compliance, or content filtering in multi-tenant platforms. The blocklist APIs let you supplement the default classifiers with domain-specific terms, useful when the built-in categories don't capture your use case.","worth_installing":"Yes, if you need content moderation and are already using Azure. The package is stable (1.0.0), actively maintained, has no known vulnerabilities, and integrates cleanly with Azure authentication patterns. However, you must have an Azure subscription and Content Safety resource; the client library alone does not provide moderation\u2014it calls a cloud service. Evaluate Azure's pricing and API quotas for your use case before committing."},"id":"azure-ai-contentsafety","links":{"html":"https://skillfed.io/packages/azure-ai-contentsafety","md":"https://skillfed.io/packages/azure-ai-contentsafety.md","pypi":"https://pypi.org/project/azure-ai-contentsafety/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2023-12-12","license_spdx":null,"license_treatment":"permissive","name":"azure-ai-contentsafety","python_support":"supports_current","summary":"Microsoft Azure AI Content Safety Client Library for Python"},"popularity":{"monthly_downloads":1053001,"position":4437,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.0.0"}
