NamedChatMemoryRepositoryConfiguration

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

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

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

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@Bean
@ConditionalOnMissingBean(value = [ChatHistoryProvider::class])
open fun springAiChatHistoryProvider(beanFactory: BeanFactory, properties: KoogSpringAiChatMemoryProperties, @Qualifier(value = "koogSpringAiChatMemoryDispatcher") dispatcher: CoroutineDispatcher): ChatHistoryProvider