Class VertexAiGeminiAutoConfiguration
java.lang.Object
org.springframework.ai.autoconfigure.vertexai.gemini.VertexAiGeminiAutoConfiguration
@ConditionalOnClass(com.google.cloud.vertexai.VertexAI.class)
@EnableConfigurationProperties({VertexAiGeminiChatProperties.class,VertexAiGeminiConnectionProperties.class})
public class VertexAiGeminiAutoConfiguration
extends Object
Auto-configuration for Vertex AI Gemini Chat.
- Since:
- 0.8.0
- Author:
- Christian Tzolov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.cloud.vertexai.VertexAI
vertexAi
(VertexAiGeminiConnectionProperties connectionProperties) vertexAiGeminiChat
(com.google.cloud.vertexai.VertexAI vertexAi, VertexAiGeminiChatProperties chatProperties, List<FunctionCallback> toolFunctionCallbacks, org.springframework.context.ApplicationContext context)
-
Constructor Details
-
VertexAiGeminiAutoConfiguration
public VertexAiGeminiAutoConfiguration()
-
-
Method Details
-
vertexAi
@Bean @ConditionalOnMissingBean public com.google.cloud.vertexai.VertexAI vertexAi(VertexAiGeminiConnectionProperties connectionProperties) throws IOException - Throws:
IOException
-
vertexAiGeminiChat
@Bean @ConditionalOnMissingBean public VertexAiGeminiChatClient vertexAiGeminiChat(com.google.cloud.vertexai.VertexAI vertexAi, VertexAiGeminiChatProperties chatProperties, List<FunctionCallback> toolFunctionCallbacks, org.springframework.context.ApplicationContext context)
-