Package dev.cachly
Class SemanticCache.WarmupEntry<V>
java.lang.Object
dev.cachly.SemanticCache.WarmupEntry<V>
- Type Parameters:
V- the value type returned byfn
- Enclosing class:
SemanticCache
§8 – One entry to pre-warm into the semantic cache.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWarmupEntry(String prompt, Supplier<V> fn) WarmupEntry(String prompt, Supplier<V> fn, String namespace) -
Method Summary
-
Field Details
-
prompt
-
fn
-
namespace
Optional namespace override;nullfalls back to the shared namespace.
-
-
Constructor Details
-
WarmupEntry
-
WarmupEntry
-