Class BedrockTitanEmbeddingAutoConfiguration
java.lang.Object
org.springframework.ai.autoconfigure.bedrock.titan.BedrockTitanEmbeddingAutoConfiguration
@AutoConfiguration
@ConditionalOnClass(TitanEmbeddingBedrockApi.class)
@EnableConfigurationProperties({BedrockTitanEmbeddingProperties.class,BedrockAwsConnectionProperties.class})
@ConditionalOnProperty(prefix="spring.ai.bedrock.titan.embedding",
name="enabled",
havingValue="true")
@Import(BedrockAwsConnectionConfiguration.class)
public class BedrockTitanEmbeddingAutoConfiguration
extends Object
Auto-configuration
for Bedrock Titan Embedding Client.- Since:
- 0.8.0
- Author:
- Christian Tzolov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiontitanEmbeddingBedrockApi
(software.amazon.awssdk.auth.credentials.AwsCredentialsProvider credentialsProvider, BedrockTitanEmbeddingProperties properties, BedrockAwsConnectionProperties awsProperties) titanEmbeddingClient
(TitanEmbeddingBedrockApi titanEmbeddingApi, BedrockTitanEmbeddingProperties properties)
-
Constructor Details
-
BedrockTitanEmbeddingAutoConfiguration
public BedrockTitanEmbeddingAutoConfiguration()
-
-
Method Details
-
titanEmbeddingBedrockApi
@Bean @ConditionalOnMissingBean public TitanEmbeddingBedrockApi titanEmbeddingBedrockApi(software.amazon.awssdk.auth.credentials.AwsCredentialsProvider credentialsProvider, BedrockTitanEmbeddingProperties properties, BedrockAwsConnectionProperties awsProperties) -
titanEmbeddingClient
@Bean @ConditionalOnMissingBean public BedrockTitanEmbeddingClient titanEmbeddingClient(TitanEmbeddingBedrockApi titanEmbeddingApi, BedrockTitanEmbeddingProperties properties)
-