Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Gemini Flash 1.5 errors for prohibted content

I am checking some of the error messages I'm receiving with gemini-1.5-flash. I have the model doing content moderation for search queries.

When I search for say "trafficking victims" it returns 
"Please provide the query to classify." I'm assuming the user input here is completely wiped by the model?

I am also getting issues with the stop reason being PROHIBITED_CONTENT. Some very ordinary searches are returning this which is very frustrating. This is possibly a blocker to using these models in production. 

Also searches in non-supported languages are returning PROHIBITED_CONTENT - is this expected behavior?

1 0 306
0 REPLIES 0