medium severityAzure OpenAI chat completions, vision models (e.g., PDF/image processing)
HTTP 400 error with code 'content_filter' and inner_error 'ResponsibleAIPolicyViolation'. Message: "The response was filtered due to the prompt triggering Azure OpenAI's content management policy. Please modify your prompt and retry." content_filter_results show filtered=true in a category (e.g., sexual/high) despite safe content. Response body empty or finish_reason='content_filter' in chat completions.
Root cause
Azure OpenAI's built-in content safety filters (powered by Azure AI Content Safety classifiers) use severity-based detection across categories like sexual/violence/hate/self-harm. False positives occur when models misclassify safe content (e.g., family photos as 'sexual/high', neutral French phrases as 'sexual/medium', technical terms triggering self-harm) due to conservative thresholds, language nuances, or image processing sensitivities.
Azure OpenAIcontent_filterResponsibleAIPolicyViolationfalse positivesafety filterGPT-4o