langchain-extract icon indicating copy to clipboard operation
langchain-extract copied to clipboard

Adding support for Gemini

Open shima-khoshraftar opened this issue 9 months ago • 1 comments

Hi, I added ChatVertexAI from langchain_google_vertexai to models.py file to use gemini models. However, the issue is that i am getting InvalidArgument: 400 Request contains an invalid argument error with the current code when invoking the model with a text and a schema. Just wondering if you have some insights on this as it seems that this is going to be a feature in your next release? Thanks.

shima-khoshraftar avatar May 25 '24 05:05 shima-khoshraftar