SingleChatMemoryRepositoryConfiguration
@Configuration(proxyBeanMethods = false)
@ConditionalOnSingleCandidate(value = ChatMemoryRepository::class)
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:
selector absent → ConditionalOnPropertyMissingOrEmpty activates this config; NamedChatMemoryRepositoryConfiguration does not match
selector non-empty (e.g.
"myBean") → NamedChatMemoryRepositoryConfiguration matches; ConditionalOnPropertyMissingOrEmpty does not activateselector set to literal
""→ treated as missing/empty; ConditionalOnPropertyMissingOrEmpty activates this config; NamedChatMemoryRepositoryConfiguration does not match
Functions
Link copied to clipboard
@Bean