Skip to content

Commit

Permalink
fix(vertexai): clarify Client.GenerativeModel documentation (#9533)
Browse files Browse the repository at this point in the history
Co-authored-by: Jonathan Amsterdam <jba@users.noreply.github.com>
  • Loading branch information
eliben and jba committed Mar 11, 2024
1 parent f0a2781 commit 511d9b2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vertexai/genai/client.go
Expand Up @@ -100,6 +100,9 @@ type GenerativeModel struct {
const defaultMaxOutputTokens = 2048

// GenerativeModel creates a new instance of the named model.
// name is a string model name like "gemini-1.0.-pro".
// See https://cloud.google.com/vertex-ai/generative-ai/docs/learn/model-versioning
// for details on model naming and versioning.
func (c *Client) GenerativeModel(name string) *GenerativeModel {
return &GenerativeModel{
c: c,
Expand Down

0 comments on commit 511d9b2

Please sign in to comment.