File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed 
spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff 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.
1515Replace `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
153153spring.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
158158This will create a `VertexAiGeminiChatModel` implementation that you can inject into your class.
159159Here 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.
232232Following class diagram illustrates the Vertex AI Gemini native Java API:
233233
234234image::vertex-ai-gemini-native-api.jpg[w=800,align="center"]
235- 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments