I’m getting the BLOCKLIST
finish reason when asking Gemini 1.5 pro to transcribe legal documents that deal with sensitive issues. The gemini docs say this is b/c “Token generation stopped because the content contains forbidden terms.”.
Questions:
- How can I can turn this off? I have already turned off all the available safety settings in the api.
- Can I ask the model to just skip the forbidden term (masking it with **** maybe?), that would be OK.
- Is this list of forbidden terms available anywhere so I can consult and try to work around it?
Thanks.
Docs reference: Generating content | Gemini API | Google AI for Developers