Class AnthropicCacheOptions
java.lang.Object
org.springframework.ai.anthropic.api.AnthropicCacheOptions
Anthropic cache options for configuring prompt caching behavior.
- Since:
- 1.1.0
- Author:
- Austin Dase
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()voidsetContentLengthFunction(Function<String, Integer> contentLengthFunction) voidsetMessageTypeMinContentLengths(Map<MessageType, Integer> messageTypeMinContentLengths) voidsetMessageTypeTtl(Map<MessageType, AnthropicCacheTtl> messageTypeTtl) voidsetStrategy(AnthropicCacheStrategy strategy) toString()
-
Field Details
-
DISABLED
-
-
Constructor Details
-
AnthropicCacheOptions
public AnthropicCacheOptions()
-
-
Method Details