Azure OpenAI False Positive Content Filter Issue When Parsing PDFs with Images
When attempting to parse a PDF document with Azure Open AI, it returns the following error for one of the pages that contains a family photo:
Error processing page: Error code: 400 - {'error': {'inner_error': {'code': 'ResponsibleAIPolicyViolation', 'content_filter_results': {'sexual': {'filtered': True, 'severity': 'high'}, 'violence': {'filtered': False, 'severity': 'safe'}, 'hate': {'filtered': False, 'severity': 'safe'}, 'self_harm': {'filtered': False, 'severity': 'safe'}}}, 'code': 'content_filter', '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: \r\nhttps://go.microsoft.com/fwlink/?linkid=2198766.", 'param': 'prompt', 'type': None}}
Our product needs to parse PDF files with photos, so we need to solve for this use case. Also, the photo didn't contain any sexual content, so this seems to be a false positive and it happened multiple times when we kept attempting to parse the document.
We checked our "Safety+Security" content filters and the values for all parameters were already set to high for both input and output filters.
Can anybody help us with this?