Pular para o conteúdo
Kitbay
SkillOficialWork in Progress

azure-ai-contentsafety-py

MITAtualizado em 18 de nov. de 20263.224Estrelas no GitHub

A Microsoft skill for Python code that screens text and images with the azure-ai-contentsafety package.

O que a skill ensina

A Microsoft skill for Python code that screens text and images with the azure-ai-contentsafety package. It shows Entra ID sign-in with an API-key fallback for older resources, analysing text and images from files or URLs, reading severity scores for the harm categories, and creating text blocklists, adding items to them and applying them during analysis. It needs an Azure AI Content Safety endpoint configured in environment variables.

O que faz

  • Analyse text for harmful content from Python
  • Analyse images for harmful content
  • Read severity levels per harm category
  • Create and apply custom text blocklists