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(go): add modelgarden support #1902

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Conversation

hugoaguirre
Copy link
Contributor

@hugoaguirre hugoaguirre commented Feb 8, 2025

Adding Model Garden to Go Genkit

  • Anthropic
  • Mistral

@github-actions github-actions bot added the go label Feb 8, 2025
// After calling Init, you may call [DefineModel] to create and register
// any additional generative models
func Init(ctx context.Context, g *genkit.Genkit, cfg *ModelGardenOptions) error {
clients := NewClientFactory()
Copy link
Contributor Author

@hugoaguirre hugoaguirre Feb 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: maybe a list of clients should be returned to the caller so the instances are ready to be used later... if not, we could make it a global variable in modelgarden

@hugoaguirre hugoaguirre self-assigned this Feb 8, 2025
@hugoaguirre hugoaguirre changed the title feat(go): Add Model Garden support feat(go): add modelgarden support Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

[Go] Add model garden support (Claude, Llama, etc) to Vertex AI plugin
1 participant