Uses of Record Class
org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Source
Packages that use AnthropicApi.ContentBlock.Source
-
Uses of AnthropicApi.ContentBlock.Source in org.springframework.ai.anthropic.api
Methods in org.springframework.ai.anthropic.api that return AnthropicApi.ContentBlock.SourceModifier and TypeMethodDescriptionAnthropicApi.ContentBlock.source()Returns the value of thesourcerecord component.Methods in org.springframework.ai.anthropic.api with parameters of type AnthropicApi.ContentBlock.SourceModifier and TypeMethodDescriptionAnthropicApi.ContentBlock.ContentBlockBuilder.source(AnthropicApi.ContentBlock.Source source) Constructors in org.springframework.ai.anthropic.api with parameters of type AnthropicApi.ContentBlock.SourceModifierConstructorDescriptionCreate content blockContentBlock(AnthropicApi.ContentBlock.Source source, String title, String context, boolean citationsEnabled, AnthropicApi.ChatCompletionRequest.CacheControl cacheControl) Create a document ContentBlock with citations and optional caching.Create content blockContentBlock(AnthropicApi.ContentBlock.Type type, AnthropicApi.ContentBlock.Source source, String text, Integer index) Create content blockContentBlock(AnthropicApi.ContentBlock.Type type, AnthropicApi.ContentBlock.Source source, String text, Integer index, String id, String name, Map<String, Object> input, String toolUseId, Object content, String signature, String thinking, String data, AnthropicApi.ChatCompletionRequest.CacheControl cacheControl, String title, String context, Object citations, String fileId, String filename) Creates an instance of aContentBlockrecord class.