Class VertexAiAutoConfiguration
java.lang.Object
org.springframework.ai.autoconfigure.vertexai.VertexAiAutoConfiguration
@AutoConfiguration(after=org.springframework.boot.autoconfigure.web.client.RestClientAutoConfiguration.class)
@ConditionalOnClass(VertexAiApi.class)
@EnableConfigurationProperties({VertexAiConnectionProperties.class,VertexAiChatProperties.class,VertexAiEmbeddingProperties.class})
public class VertexAiAutoConfiguration
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvertexAiApi
(VertexAiConnectionProperties connectionProperties, VertexAiEmbeddingProperties embeddingAiProperties, VertexAiChatProperties chatProperties, org.springframework.web.client.RestClient.Builder restClientBuilder) vertexAiChatClient
(VertexAiApi vertexAiApi, VertexAiChatProperties chatProperties) vertexAiEmbeddingClient
(VertexAiApi vertexAiApi)
-
Constructor Details
-
VertexAiAutoConfiguration
public VertexAiAutoConfiguration()
-
-
Method Details
-
vertexAiApi
@Bean @ConditionalOnMissingBean public VertexAiApi vertexAiApi(VertexAiConnectionProperties connectionProperties, VertexAiEmbeddingProperties embeddingAiProperties, VertexAiChatProperties chatProperties, org.springframework.web.client.RestClient.Builder restClientBuilder) -
vertexAiChatClient
@Bean @ConditionalOnMissingBean public VertexAiChatClient vertexAiChatClient(VertexAiApi vertexAiApi, VertexAiChatProperties chatProperties) -
vertexAiEmbeddingClient
@Bean @ConditionalOnMissingBean public VertexAiEmbeddingClient vertexAiEmbeddingClient(VertexAiApi vertexAiApi)
-