-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
google-common [major] / google-webauth [minor] / google-gauth [minor]: Gemini functions #4864
google-common [major] / google-webauth [minor] / google-gauth [minor]: Gemini functions #4864
Conversation
…edToolInterface objects and send them in request.
…emove some of the attributes.
… used elsewhere to mean something else.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -39,7 +39,9 @@ | |||
"author": "LangChain", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey there! 👋 I noticed that this PR adds new dependencies to the "dependencies" section, which might impact the project's peer/dev/hard dependencies. I've flagged this for the maintainers to review. Keep up the great work!
Thanks both of you! Mostly nits, and looks like build is also failing. |
Adds support for function calling through langchain tools.
Adds support for bind().
Adjust testing, since AI Studio has gotten more strict.
Tested with AI Studio and Vertex AI. (Note this does not change the google-genai package.)
Missing:
Fixes #4253
New exports:
@langchain/google-*/{types,utils}
common
then we would be stuck with two bad options:gauth
/vertexai
, etc so we aren't also exporting all the base classes from common. This means we will also need to remember to update the exports & cut releases for all these packages when a new type/util is added that we want to export.ChatGoogle
,ChatVertexAI
, etc, etc in IDE autocompletes when looking at exports from, for example@langchain/google-vertexai
zodToGeminiParameters
since the google function definition does not cleanly allow for passing the result ofzodToJsonSchema
into theparameters
field of a function.