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.ContentBlockMethods in org.springframework.ai.anthropic.api that return types with arguments of type AnthropicApi.ContentBlockModifier and TypeMethodDescriptionAnthropicApi.AnthropicMessage.content()
Returns the value of thecontent
record component.AnthropicApi.ChatCompletionResponse.content()
Returns the value of thecontent
record 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 TypeMethodDescriptionStreamHelper.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 aAnthropicMessage
record class.ChatCompletionResponse
(String id, String type, AnthropicApi.Role role, List<AnthropicApi.ContentBlock> content, String model, String stopReason, String stopSequence, AnthropicApi.Usage usage) Creates an instance of aChatCompletionResponse
record class.