Package dev.cachly

Class SemanticCache.WarmupEntry<V>

java.lang.Object
dev.cachly.SemanticCache.WarmupEntry<V>
Type Parameters:
V - the value type returned by fn
Enclosing class:
SemanticCache

public static final class SemanticCache.WarmupEntry<V> extends Object
§8 – One entry to pre-warm into the semantic cache.
  • Field Details

    • prompt

      public final String prompt
    • fn

      public final Supplier<V> fn
    • namespace

      public final String namespace
      Optional namespace override; null falls back to the shared namespace.
  • Constructor Details