SingleChatMemoryRepositoryConfiguration

@Configuration(proxyBeanMethods = false)
@ConditionalOnSingleCandidate(value = ChatMemoryRepository::class)
open class SingleChatMemoryRepositoryConfiguration(source)

Chat memory repository configuration — activated when no bean-name selector is set and a single ChatMemoryRepository candidate exists.

This is the default fallback path. It is mutually exclusive with NamedChatMemoryRepositoryConfiguration for the common cases:

Constructors

Link copied to clipboard
constructor()

Functions

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