Skip to content

Commit bd91c05

Browse files
authored
docs(vertexai): steer new users toward google.golang.org/genai (googleapis#12094)
* docs(vertexai): steer new users toward google.golang.org/genai * chore: add license header to doc.go
1 parent 83ae06c commit bd91c05

File tree

4 files changed

+26
-1
lines changed

4 files changed

+26
-1
lines changed

vertexai/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
The Vertex AI Go SDK enables developers to use Google's state-of-the-art
66
generative AI models (like Gemini) to build AI-powered features and applications.
7+
8+
New users are encouraged to use the Google GenAI Go SDK available at
9+
[google.golang.org/genai](http://pkg.go.dev/google.golang.org/genai)
10+
711
This SDK supports use cases like:
812
- Generate text from text-only input
913
- Generate text from text-and-images input (multimodal)

vertexai/doc.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ limitations under the License.
1717
/*
1818
Package vertexai provides a client for interacting with Vertex AI APIs.
1919
20+
New users are encouraged to use the Google GenAI Go SDK available at
21+
[google.golang.org/genai].
22+
2023
See [cloud.google.com/go/vertexai/genai] for the currently supported
2124
functionality.
2225
*/

vertexai/genai/client.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
//go:generate protoveneer -license license.txt config.yaml ../../aiplatform/apiv1beta1/aiplatformpb
1919

20-
// Package genai is a client for the generative VertexAI model.
2120
package genai
2221

2322
import (

vertexai/genai/doc.go

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// Copyright 2025 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
// Package genai is a client for the generative VertexAI model.
16+
//
17+
// New users are encouraged to use the Google GenAI Go SDK available at
18+
// [google.golang.org/genai]
19+
package genai

0 commit comments

Comments
 (0)