Uses of Record Class
dev.langchain4j.model.googleai.GeminiCaches.GeminiCachedContent
Packages that use GeminiCaches.GeminiCachedContent
-
Uses of GeminiCaches.GeminiCachedContent in dev.langchain4j.model.googleai
Methods in dev.langchain4j.model.googleai that return GeminiCaches.GeminiCachedContentModifier and TypeMethodDescriptionGeminiCaches.createCache(String modelName, List<ChatMessage> messages) Creates a context cache for the given model from the supplied messages, using the API's default expiration (currently 1 hour).GeminiCaches.createCache(String modelName, List<ChatMessage> messages, Duration ttl) Creates a context cache for the given model from the supplied messages, expiring after the given time-to-live.GeminiCaches.createCache(String modelName, List<ChatMessage> messages, Instant expireTime) Creates a context cache for the given model from the supplied messages, expiring at the given instant.Retrieves a cache by name (e.g.Methods in dev.langchain4j.model.googleai that return types with arguments of type GeminiCaches.GeminiCachedContentModifier and TypeMethodDescriptionGeminiCaches.listCaches()Lists all context caches for the current project.