You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, a user receives an empty string of text is a Safety filter blocks the response rather than the information about the safety filters (such as the probability, etc.) It would be great to have the safety filter dictionary returned as part of prompt feedback, similar to the non-VertexAI Gemini implementation
That's fair.. I guess i was hoping for the prompt_feedback directly. Based on the chain I'm using I can't get it from generation_info myself without writing a custom callback, which I can do it just would be nice if everything was returned natively.
Right now, a user receives an empty string of text is a Safety filter blocks the response rather than the information about the safety filters (such as the probability, etc.) It would be great to have the safety filter dictionary returned as part of prompt feedback, similar to the non-VertexAI Gemini implementation
langchain-google/libs/genai/langchain_google_genai/chat_models.py
Line 526 in c34ac8a
The text was updated successfully, but these errors were encountered: