NamedChatModelConfiguration

@Configuration(proxyBeanMethods = false)
open class NamedChatModelConfiguration(source)

Chat model configuration — activated when a bean-name selector property is provided.

Resolves the ChatModel from the application context by the configured bean name.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@Bean
@ConditionalOnMissingBean(name = ["springAiChatModelLLMClient"])
open fun springAiChatModelLLMClient(beanFactory: BeanFactory, properties: KoogSpringAiChatProperties, @Qualifier(value = "koogSpringAiChatDispatcher") dispatcher: CoroutineDispatcher, chatOptionsCustomizerProvider: ObjectProvider<ChatOptionsCustomizer>, llmProviderProvider: ObjectProvider<LLMProvider>, moderationModelProvider: ObjectProvider<ModerationModel>): LLMClient