Uses of Class
dev.cachly.SemanticCache.WarmupResult
Packages that use SemanticCache.WarmupResult
-
Uses of SemanticCache.WarmupResult in dev.cachly
Methods in dev.cachly that return SemanticCache.WarmupResultModifier and TypeMethodDescriptionSemanticCache.importFromLog(String filePath, Function<String, V> responseFn, Function<String, double[]> embedFn) Convenience overload with default settings (promptField="prompt", batchSize=50, threshold=0.98).SemanticCache.importFromLog(String filePath, Function<String, V> responseFn, Function<String, double[]> embedFn, String promptField, int batchSize, String namespace, boolean autoNamespace, double threshold, long ttlSeconds) §8 – Import prompts from a JSONL file and warm the cache in batches.SemanticCache.warmup(List<SemanticCache.WarmupEntry<V>> entries, Function<String, double[]> embedFn) Convenience warmup with default threshold (0.98) and no expiry.SemanticCache.warmup(List<SemanticCache.WarmupEntry<V>> entries, Function<String, double[]> embedFn, double threshold, long ttlSeconds, String namespace, boolean autoNamespace) §8 – Pre-warm the semantic cache with a list of prompt/fn pairs.