Uses of Class
com.tnsai.llm.cache.CacheControl
Packages that use CacheControl
Package
Description
LLM response caching with semantic similarity and prompt caching support.
-
Uses of CacheControl in com.tnsai.llm.cache
Methods in com.tnsai.llm.cache that return CacheControlModifier and TypeMethodDescriptionstatic CacheControlCacheControl.ephemeral()Creates an ephemeral cache control.Methods in com.tnsai.llm.cache that return types with arguments of type CacheControlModifier and TypeMethodDescriptionCacheableContent.ContentBlock.getCacheControl()CacheableContent.getCacheControl()Gets the cache control (for simple content).Methods in com.tnsai.llm.cache with parameters of type CacheControlModifier and TypeMethodDescriptionCacheableContent.Builder.addText(String text, CacheControl cacheControl) Adds a text block with cache control.static CacheableContentCacheableContent.of(String text, CacheControl cacheControl) Creates cacheable content from text with cache control.Constructors in com.tnsai.llm.cache with parameters of type CacheControl