Uses of Record Class
org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
Packages that use AnthropicApi.ContentBlock
-
Uses of AnthropicApi.ContentBlock in org.springframework.ai.anthropic.api
Methods in org.springframework.ai.anthropic.api that return AnthropicApi.ContentBlockModifier and TypeMethodDescriptionAnthropicApi.ContentBlock.ContentBlockBuilder.build()CitationDocument.toContentBlock()Convert this CitationDocument to a ContentBlock for API usage.Methods in org.springframework.ai.anthropic.api that return types with arguments of type AnthropicApi.ContentBlockModifier and TypeMethodDescriptionAnthropicApi.AnthropicMessage.content()Returns the value of thecontentrecord component.AnthropicApi.ChatCompletionResponse.content()Returns the value of thecontentrecord component.AnthropicApi.ContentBlock.Source.content()Returns the value of thecontentrecord component.Methods in org.springframework.ai.anthropic.api with parameters of type AnthropicApi.ContentBlockModifier and TypeMethodDescriptionAnthropicApi.ContentBlock.from(AnthropicApi.ContentBlock contentBlock) Method parameters in org.springframework.ai.anthropic.api with type arguments of type AnthropicApi.ContentBlockModifier and TypeMethodDescriptionCitationDocument.Builder.customContent(List<AnthropicApi.ContentBlock> contentBlocks) Create a custom content document with user-defined blocks.StreamHelper.ChatCompletionResponseBuilder.withContent(List<AnthropicApi.ContentBlock> content) Constructors in org.springframework.ai.anthropic.api with parameters of type AnthropicApi.ContentBlockConstructor parameters in org.springframework.ai.anthropic.api with type arguments of type AnthropicApi.ContentBlockModifierConstructorDescriptionAnthropicMessage(List<AnthropicApi.ContentBlock> content, AnthropicApi.Role role) Creates an instance of aAnthropicMessagerecord class.ChatCompletionResponse(String id, String type, AnthropicApi.Role role, List<AnthropicApi.ContentBlock> content, String model, String stopReason, String stopSequence, AnthropicApi.Usage usage, AnthropicApi.ChatCompletionResponse.Container container) Creates an instance of aChatCompletionResponserecord class.Source(String type, String mediaType, String data, String url, List<AnthropicApi.ContentBlock> content) Creates an instance of aSourcerecord class.Source(List<AnthropicApi.ContentBlock> content)