Skip to content

Commit 87476b4

Browse files
committed
Reword Tip text to be more appropriate to Gemini
1 parent 0c5455e commit 87476b4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/vertexai-gemini-chat.adoc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ link:https://cloud.google.com/vertex-ai/docs/generative-ai/model-reference/gemin
1111
== Prerequisites
1212

1313
- Install the link:https://cloud.google.com/sdk/docs/install[gcloud] CLI, apropriate for you OS.
14-
- Authenticate by running the following command.
14+
- Authenticate by running the following command.
1515
Replace `PROJECT_ID` with your Google Cloud project ID and `ACCOUNT` with your Google Cloud username.
1616

1717
[source]
@@ -153,7 +153,7 @@ spring.ai.vertex.ai.gemini.chat.options.model=vertex-pro-vision
153153
spring.ai.vertex.ai.gemini.chat.options.temperature=0.5
154154
----
155155

156-
TIP: replace the `api-key` with your VertexAI credentials.
156+
TIP: replace the `project-id` with your Google Cloud Project ID and `location` with a https://cloud.google.com/gemini/docs/locations[Gemini location].
157157

158158
This will create a `VertexAiGeminiChatModel` implementation that you can inject into your class.
159159
Here is an example of a simple `@Controller` class that uses the chat model for text generations.
@@ -232,4 +232,3 @@ The `VertexAiGeminiChatOptions.Builder` is fluent options builder.
232232
Following class diagram illustrates the Vertex AI Gemini native Java API:
233233

234234
image::vertex-ai-gemini-native-api.jpg[w=800,align="center"]
235-

0 commit comments

Comments
 (0)