Skill 3.3.1
Implement filters to classify unsafe or disallowed visual content
Key Concepts
Images that pass through Foundry models are scanned by the deployment's or agent's guardrail at the user input and output intervention points, for hate, sexual, violence and self-harm. Images that do not pass through a model, such as user uploads to a community site, are analyzed with the Azure Content Safety image API, which returns a severity level per category; multimodal analysis also considers text that appears in the image.
The application maps severities to actions: allow, blur and queue for review, or block. Thresholds differ by audience; a children's platform blocks lower severities than a medical education site. Disallowed content that is specific to the organization, such as images of competitor products, is handled with custom categories or a classification prompt to a multimodal model.