Skip to content
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

feat: Support tuned models in ChatGoogleGenerativeAI #359

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

davidmigloz
Copy link
Owner

You can specify a tuned model by setting the model parameter to
tunedModels/{your-model-name}. For example:

final chatModel = ChatGoogleGenerativeAI(
  defaultOptions: ChatGoogleGenerativeAIOptions(
    model: 'tunedModels/my-tuned-model',
  ),
);

@davidmigloz davidmigloz self-assigned this Apr 2, 2024
@davidmigloz davidmigloz added t:enhancement New feature or request p:langchain_google langchain_google package. labels Apr 2, 2024
@davidmigloz davidmigloz added this to the v0.5.0 milestone Apr 2, 2024
@davidmigloz davidmigloz merged commit 764b633 into main Apr 2, 2024
1 check passed
@davidmigloz davidmigloz deleted the tuned-model branch April 2, 2024 20:32
KennethKnudsen97 pushed a commit to KennethKnudsen97/langchain_dart that referenced this pull request Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p:langchain_google langchain_google package. t:enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant