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