Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The response was filtered due to the prompt triggering Azure OpenAI's content management policy #430

Open
stamina1121 opened this issue Jan 2, 2025 · 2 comments

Comments

@stamina1121
Copy link

This error is triggered when I evaluate with alpaca_eval version1. baseline is text_davinci_003 and evaluatior is gpt4. It was evaluating fine up until this point, and in the last couple of days it's been a problem
script:
alpaca_eval --model_outputs /data/local/user/fanyi/github/Humback/results//model_outputs.json --annotators_config 'alpaca_eval_gpt4_turbo_fn'
error:
openai.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': True, 'severity': 'medium'}, 'violence': {'filtered': False, 'severity': 'safe'}}}}}

@stamina1121
Copy link
Author

I could really use your help.

@ZhangShiyue
Copy link

same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants