Find answers from the community

Updated 3 months ago

Content filter

I'm hitting content-management error with AzureChatOpenAI
Plain Text
APIError: Invalid response object from API: '{"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}}' (HTTP response code was 400)
Need some help
Attachment
Screenshot_2023-04-14_at_3.13.41_PM.png
L
s
8 comments
I'm not totally sure here, I'm not an expert with azure.

Just as a test, does it work with use_async=False?
Ohhhh it's probably because you used the word bullet actually ... seems like that might trigger the content filter 😅 azure must be very strict
@Logan M i got this even with query ""give me top local news around US.""
hmmm, I'm not sure then. I haven't seen this before actually, at least on discord.

Maybe try pip install --upgrade openai, judging by that github issue?
have the latest openai
this is strictly related only to azure API right? probably why you guys haven't seen this before
Yea looks like it should only happen for azure 🤔😕
Add a reply
Sign up and join the conversation on Discord