-
Notifications
You must be signed in to change notification settings - Fork 353
Open
Labels
Description
Package (Required)
- langchain-google-genai
- langchain-google-vertexai
- langchain-google-community
- Other / not sure / general
Checked other resources
- I added a descriptive title to this issue
- I searched the LangChain documentation and API reference (linked above)
- I used the GitHub search to find a similar issue and didn't find it
- I am sure this is a feature request and not a bug report or question
Feature Description
Google Gen AI SDK exposes a seed parameter for more reproducible generations that langchain-google-genai currently doesn't support.
Since this is a relatively minor parameter I don't consider it a bug report but rather a feature request. I'm also providing a PR to add it.
Use Case
A specific use case that I encountered is when creating MVPs or educational materials where high degree of reproducibility is highly important.
Proposed Solution
Add parameter to _BaseGoogleGenerativeAI and ensure that it's used downstream.Alternatives Considered
I'm not sure which alternatives to try.
Additional Context
As a side note, seed parameter is already supported in langchain-google-vertexai so this is not a completely new request for langchain-google package.