KmemoAdvisor
constructor(cache: SemanticCache, order: Int = 0, scope: (ChatClientRequest) -> String = { SemanticCache.DEFAULT_SCOPE })
Parameters
cache
the semantic cache to serve from.
order
the advisor's order in the chain; keep it early so a hit avoids the work behind it.
scope
derives the cache scope from a request; constant SemanticCache.DEFAULT_SCOPE by default.