Class AnthropicCacheProperties
java.lang.Object
org.springframework.ai.model.anthropic.autoconfigure.AnthropicCacheProperties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable Map<MessageType,Integer> @Nullable Map<MessageType,AnthropicCacheTtl> @Nullable Boolean@Nullable AnthropicCacheStrategyvoidsetMessageTypeMinContentLengths(@Nullable Map<MessageType, Integer> messageTypeMinContentLengths) voidsetMessageTypeTtl(@Nullable Map<MessageType, AnthropicCacheTtl> messageTypeTtl) voidsetMultiBlockSystemCaching(@Nullable Boolean multiBlockSystemCaching) voidsetStrategy(@Nullable AnthropicCacheStrategy strategy)
-
Constructor Details
-
AnthropicCacheProperties
public AnthropicCacheProperties()
-
-
Method Details
-
getStrategy
-
setStrategy
-
getMessageTypeTtl
-
setMessageTypeTtl
-
getMessageTypeMinContentLengths
-
setMessageTypeMinContentLengths
public void setMessageTypeMinContentLengths(@Nullable Map<MessageType, Integer> messageTypeMinContentLengths) -
getMultiBlockSystemCaching
-
setMultiBlockSystemCaching
-
toOptions
-