Uses of Enum Class
org.springframework.ai.anthropic.api.AnthropicCacheTtl
Packages that use AnthropicCacheTtl
-
Uses of AnthropicCacheTtl in org.springframework.ai.anthropic.api
Subclasses with type arguments of type AnthropicCacheTtl in org.springframework.ai.anthropic.apiModifier and TypeClassDescriptionenumAnthropic cache TTL (time-to-live) options for specifying how long cached prompts See the Anthropic documentation for more details: Anthropic Prompt CachingMethods in org.springframework.ai.anthropic.api that return AnthropicCacheTtlModifier and TypeMethodDescriptionstatic AnthropicCacheTtlReturns the enum constant of this class with the specified name.static AnthropicCacheTtl[]AnthropicCacheTtl.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.springframework.ai.anthropic.api that return types with arguments of type AnthropicCacheTtlModifier and TypeMethodDescriptionMap<org.springframework.ai.chat.messages.MessageType, AnthropicCacheTtl> AnthropicCacheOptions.getMessageTypeTtl()Methods in org.springframework.ai.anthropic.api with parameters of type AnthropicCacheTtlModifier and TypeMethodDescriptionAnthropicCacheOptions.Builder.messageTypeTtl(org.springframework.ai.chat.messages.MessageType messageType, AnthropicCacheTtl ttl) Method parameters in org.springframework.ai.anthropic.api with type arguments of type AnthropicCacheTtlModifier and TypeMethodDescriptionAnthropicCacheOptions.Builder.messageTypeTtl(Map<org.springframework.ai.chat.messages.MessageType, AnthropicCacheTtl> messageTypeTtl) voidAnthropicCacheOptions.setMessageTypeTtl(Map<org.springframework.ai.chat.messages.MessageType, AnthropicCacheTtl> messageTypeTtl) -
Uses of AnthropicCacheTtl in org.springframework.ai.anthropic.api.utils
Constructor parameters in org.springframework.ai.anthropic.api.utils with type arguments of type AnthropicCacheTtlModifierConstructorDescriptionCacheEligibilityResolver(AnthropicCacheStrategy cacheStrategy, Map<org.springframework.ai.chat.messages.MessageType, AnthropicCacheTtl> messageTypeTtl, Map<org.springframework.ai.chat.messages.MessageType, Integer> messageTypeMinContentLengths, Function<String, Integer> contentLengthFunction, Set<org.springframework.ai.chat.messages.MessageType> cacheEligibleMessageTypes)