I Need to allow all Contents Sent and Reponded from Azure Open AI without any Filter

Annael Samwel 0 Reputation points
2025-02-28T10:17:51.7633333+00:00

This is the error I receive from the endpoint:

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
Status: 400 (model_error)
ErrorCode: content_filter

Content:
{"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":null,"param":"prompt","code":"content_filter","status":400}}

Headers:
x-ms-rai-invoked: REDACTED
X-Request-ID: REDACTED
ms-azureml-model-error-reason: REDACTED
ms-azureml-model-error-statuscode: REDACTED
apim-request-id: REDACTED
Strict-Transport-Security: REDACTED
X-Content-Type-Options: REDACTED
x-ms-region: REDACTED
x-ms-client-request-id: 81bfc909-3393-468a-b02b-c54b217f5293
x-ratelimit-remaining-requests: REDACTED
azureml-model-session: REDACTED
x-ratelimit-limit-requests: REDACTED
x-ratelimit-remaining-tokens: REDACTED
x-ratelimit-limit-tokens: REDACTED
Date: Thu, 27 Feb 2025 14:26:43 GMT
Content-Length: 353
Content-Type: application/json

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

1 answer

Sort by: Most helpful
  1. santoshkc 15,435 Reputation points Microsoft External Staff Moderator
    2025-02-28T11:33:05.0266667+00:00

    Hi @Annael Samwel,

    It looks like Azure OpenAI’s content moderation system is blocking certain responses due to policy restrictions. Unfortunately, it's not possible to bypass these filters as they are in place to ensure responsible AI usage and to prevent harmful or inappropriate content.

    Microsoft has designed Azure OpenAI Service to handle sensitive and confidential data securely, but there are important considerations and best practices to follow to ensure compliance and mitigate risks. Here are some key considerations:

    I hope you understand! Thank you.

    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.