Kmemo
Toggle table of contents
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
Kmemo
kmemo-spring-boot-starter
/
dev.kmemo.spring
/
KmemoAutoConfiguration
/
semanticCache
semantic
Cache
@
Bean
@
ConditionalOnBean
(
value
=
[
Embedder::class
]
)
@
ConditionalOnMissingBean
(
value
=
[
SemanticCache::class
]
)
open
fun
semanticCache
(
embedder
:
Embedder
,
store
:
CacheStore
,
properties
:
KmemoProperties
,
verifier
:
ObjectProvider
<
Verifier
>
,
listeners
:
ObjectProvider
<
CacheListener
>
)
:
SemanticCache
The cache itself: built only when an
Embedder
is available and no
SemanticCache
bean exists.