Uses of Class
com.tnsai.llm.cache.CachedLLMClient.Builder
Packages that use CachedLLMClient.Builder
Package
Description
LLM response caching with semantic similarity and prompt caching support.
-
Uses of CachedLLMClient.Builder in com.tnsai.llm.cache
Methods in com.tnsai.llm.cache that return CachedLLMClient.BuilderModifier and TypeMethodDescriptionCachedLLMClient.Builder.cacheStreaming(boolean cache) Whether to cache streaming responses.CachedLLMClient.Builder.highThreshold(double threshold) Sets the high similarity threshold for direct cache hits.CachedLLMClient.Builder.lowThreshold(double threshold) Sets the low similarity threshold.CachedLLMClient.Builder.withCache(SemanticCache cache) Sets the semantic cache to use.static CachedLLMClient.BuilderCachedLLMClient.wrap(com.tnsai.llm.LLMClient client) Creates a builder to wrap the given LLM client.