Uses of Record Class
org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest.CacheControl
Packages that use AnthropicApi.ChatCompletionRequest.CacheControl
-
Uses of AnthropicApi.ChatCompletionRequest.CacheControl in org.springframework.ai.anthropic.api
Methods in org.springframework.ai.anthropic.api that return AnthropicApi.ChatCompletionRequest.CacheControlModifier and TypeMethodDescriptionAnthropicApi.ContentBlock.cacheControl()Returns the value of thecacheControlrecord component.AnthropicApi.Tool.cacheControl()Returns the value of thecacheControlrecord component.AnthropicCacheType.cacheControl()Returns a new CacheControl instance for this cache type.AnthropicCacheType.cacheControl(String ttl) Returns a new CacheControl instance for this cache type with the specified TTL.Methods in org.springframework.ai.anthropic.api with parameters of type AnthropicApi.ChatCompletionRequest.CacheControlModifier and TypeMethodDescriptionAnthropicApi.ContentBlock.ContentBlockBuilder.cacheControl(AnthropicApi.ChatCompletionRequest.CacheControl cacheControl) Constructors in org.springframework.ai.anthropic.api with parameters of type AnthropicApi.ChatCompletionRequest.CacheControlModifierConstructorDescriptionContentBlock(AnthropicApi.ContentBlock.Source source, String title, String context, boolean citationsEnabled, AnthropicApi.ChatCompletionRequest.CacheControl cacheControl) Create a document ContentBlock with citations and optional caching.ContentBlock(AnthropicApi.ContentBlock.Type type, AnthropicApi.ContentBlock.Source source, String text, Integer index, String id, String name, Map<String, Object> input, String toolUseId, String content, String signature, String thinking, String data, AnthropicApi.ChatCompletionRequest.CacheControl cacheControl, String title, String context, Object citations) Creates an instance of aContentBlockrecord class.Tool(String name, String description, Map<String, Object> inputSchema, AnthropicApi.ChatCompletionRequest.CacheControl cacheControl) Creates an instance of aToolrecord class. -
Uses of AnthropicApi.ChatCompletionRequest.CacheControl in org.springframework.ai.anthropic.api.utils
Methods in org.springframework.ai.anthropic.api.utils that return AnthropicApi.ChatCompletionRequest.CacheControlModifier and TypeMethodDescriptionCacheEligibilityResolver.resolve(MessageType messageType, String content) CacheEligibilityResolver.resolveToolCacheControl()