Uses of Record Class
org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionResponse
Packages that use AnthropicApi.ChatCompletionResponse
-
Uses of AnthropicApi.ChatCompletionResponse in org.springframework.ai.anthropic.api
Methods in org.springframework.ai.anthropic.api that return AnthropicApi.ChatCompletionResponseModifier and TypeMethodDescriptionStreamHelper.ChatCompletionResponseBuilder.build()StreamHelper.eventToChatCompletionResponse(AnthropicApi.StreamEvent event, AtomicReference<StreamHelper.ChatCompletionResponseBuilder> contentBlockReference) Converts a rawAnthropicApi.StreamEventpotentially containing tool use aggregates or other block types (text, thinking) into aAnthropicApi.ChatCompletionResponsechunk.AnthropicApi.MessageStartEvent.message()Returns the value of themessagerecord component.Methods in org.springframework.ai.anthropic.api that return types with arguments of type AnthropicApi.ChatCompletionResponseModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<AnthropicApi.ChatCompletionResponse> AnthropicApi.chatCompletionEntity(AnthropicApi.ChatCompletionRequest chatRequest) Creates a model response for the given chat conversation.org.springframework.http.ResponseEntity<AnthropicApi.ChatCompletionResponse> AnthropicApi.chatCompletionEntity(AnthropicApi.ChatCompletionRequest chatRequest, org.springframework.http.HttpHeaders additionalHttpHeader) Creates a model response for the given chat conversation.reactor.core.publisher.Flux<AnthropicApi.ChatCompletionResponse> AnthropicApi.chatCompletionStream(AnthropicApi.ChatCompletionRequest chatRequest) Creates a streaming chat response for the given chat conversation.reactor.core.publisher.Flux<AnthropicApi.ChatCompletionResponse> AnthropicApi.chatCompletionStream(AnthropicApi.ChatCompletionRequest chatRequest, org.springframework.http.HttpHeaders additionalHttpHeader) Creates a streaming chat response for the given chat conversation.Constructors in org.springframework.ai.anthropic.api with parameters of type AnthropicApi.ChatCompletionResponseModifierConstructorDescriptionCreates an instance of aMessageStartEventrecord class.