Class BedrockTitanChatAutoConfiguration
java.lang.Object
org.springframework.ai.autoconfigure.bedrock.titan.BedrockTitanChatAutoConfiguration
@AutoConfiguration
@ConditionalOnClass(TitanChatBedrockApi.class)
@EnableConfigurationProperties({BedrockTitanChatProperties.class,BedrockAwsConnectionProperties.class})
@ConditionalOnProperty(prefix="spring.ai.bedrock.titan.chat",
name="enabled",
havingValue="true")
@Import(BedrockAwsConnectionConfiguration.class)
public class BedrockTitanChatAutoConfiguration
extends Object
Auto-configuration
for Bedrock Titan Chat Client.- Since:
- 0.8.0
- Author:
- Christian Tzolov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiontitanChatBedrockApi
(software.amazon.awssdk.auth.credentials.AwsCredentialsProvider credentialsProvider, BedrockTitanChatProperties properties, BedrockAwsConnectionProperties awsProperties) titanChatClient
(TitanChatBedrockApi titanChatApi, BedrockTitanChatProperties properties)
-
Constructor Details
-
BedrockTitanChatAutoConfiguration
public BedrockTitanChatAutoConfiguration()
-
-
Method Details
-
titanChatBedrockApi
@Bean @ConditionalOnMissingBean public TitanChatBedrockApi titanChatBedrockApi(software.amazon.awssdk.auth.credentials.AwsCredentialsProvider credentialsProvider, BedrockTitanChatProperties properties, BedrockAwsConnectionProperties awsProperties) -
titanChatClient
@Bean public BedrockTitanChatClient titanChatClient(TitanChatBedrockApi titanChatApi, BedrockTitanChatProperties properties)
-