Class ChatClientAutoConfiguration

java.lang.Object
org.springframework.ai.autoconfigure.chat.client.ChatClientAutoConfiguration

@AutoConfiguration @ConditionalOnClass(ChatClient.class) @EnableConfigurationProperties(ChatClientBuilderProperties.class) @ConditionalOnProperty(prefix="spring.ai.chat.client", name="enabled", havingValue="true", matchIfMissing=true) public class ChatClientAutoConfiguration extends Object
Auto-configuration for ChatClient.

This will produce a ChatClient.Builder bean with the prototype scope, meaning each injection point will receive a newly cloned instance of the builder.

Since:
1.0.0
Author:
Christian Tzolov, Mark Pollack, Josh Long, Arjen Poutsma
  • Constructor Details

    • ChatClientAutoConfiguration

      public ChatClientAutoConfiguration()