Violence high when prompt contains "Allahu akbar"

Omar Al Zabir 0 Reputation points
2025-03-29T12:19:37.31+00:00

Any prompt containing "Allahu Akbar" triggers high severity violence. 

Example prompt: "Subhan'Allah how calmly he listens the Qur'an recitation. Allahu Akbar."

Removing "Allahu Akbar" passes. 

Setting content filter violence to high on Safety configuration does not help.

BadRequestError: Error code: 400 - {'error': {'message': "The response was filtered due to the prompt triggering Azure OpenAI's content management policy. Please modify your prompt and retry. To learn more about our content filtering policies please read our documentation: https://go.microsoft.com/fwlink/?linkid=2198766", 'type': None, 'param': 'prompt', 'code': 'content_filter', 'status': 400, 'innererror': {'code': 'ResponsibleAIPolicyViolation', 'content_filter_result': {'hate': {'filtered': False, 'severity': 'safe'}, 'jailbreak': {'filtered': False, 'detected': False}, 'self_harm': {'filtered': False, 'severity': 'safe'}, 'sexual': {'filtered': False, 'severity': 'safe'}, 'violence': {'filtered': True, 'severity': 'high'}}}}}

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,915 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Abiola Akinbade 26,895 Reputation points
    2025-03-30T15:58:01.5566667+00:00

    This is a known issue. certain phrases like can trigger false positives under the violence filter.

    See: https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/content-filters

    I would recommend you reach out to support for this.

    You can mark it 'Accept Answer' and 'Upvote' if this helped you

    (Please note: If you have Priority Community support please wait for a dedicated Microsoft support representative to assist you, as they have access to the necessary backend resources. If you have not yet opened a support case, we recommend reaching out through the support channel available under your subscription level.)

    Regards,

    Abiola

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.