Uses of Class
dev.langchain4j.model.anthropic.internal.api.AnthropicCreateMessageRequest
Packages that use AnthropicCreateMessageRequest
Package
Description
-
Uses of AnthropicCreateMessageRequest in dev.langchain4j.model.anthropic.internal.api
Fields in dev.langchain4j.model.anthropic.internal.api declared as AnthropicCreateMessageRequestMethods in dev.langchain4j.model.anthropic.internal.api that return AnthropicCreateMessageRequestConstructors in dev.langchain4j.model.anthropic.internal.api with parameters of type AnthropicCreateMessageRequest -
Uses of AnthropicCreateMessageRequest in dev.langchain4j.model.anthropic.internal.client
Methods in dev.langchain4j.model.anthropic.internal.client with parameters of type AnthropicCreateMessageRequestModifier and TypeMethodDescriptionabstract AnthropicCreateMessageResponseAnthropicClient.createMessage(AnthropicCreateMessageRequest request) voidAnthropicClient.createMessage(AnthropicCreateMessageRequest request, AnthropicCreateMessageOptions options, StreamingChatResponseHandler handler) abstract voidAnthropicClient.createMessage(AnthropicCreateMessageRequest request, StreamingChatResponseHandler handler) DefaultAnthropicClient.createMessage(AnthropicCreateMessageRequest request) Creates a message synchronously using the Anthropic API.voidDefaultAnthropicClient.createMessage(AnthropicCreateMessageRequest request, AnthropicCreateMessageOptions options, StreamingChatResponseHandler handler) Creates a message with streaming response handling.voidDefaultAnthropicClient.createMessage(AnthropicCreateMessageRequest request, StreamingChatResponseHandler handler) Creates a message with streaming response handling using default options.AnthropicClient.createMessagePublisher(AnthropicCreateMessageRequest request, AnthropicCreateMessageOptions options, int bufferSize) Non-blocking reactive streaming counterpart ofAnthropicClient.createMessage(AnthropicCreateMessageRequest, AnthropicCreateMessageOptions, StreamingChatResponseHandler): returns aPublisherofChatModelStreamingEvents driven byhttpClient.stream(...)(nothing parked on socket reads);bufferSizebounds the back-pressure buffer, and cancelling the subscription aborts the in-flight HTTP request.DefaultAnthropicClient.createMessagePublisher(AnthropicCreateMessageRequest request, AnthropicCreateMessageOptions options, int bufferSize) Non-blocking reactive counterpart ofDefaultAnthropicClient.createMessage(AnthropicCreateMessageRequest, AnthropicCreateMessageOptions, StreamingChatResponseHandler): drives the same SSE listener from the reactivehttpClient.stream(...)publisher (nothing parked on socket reads), bridging events into a boundedTubeofChatModelStreamingEvents.AnthropicClient.createMessageWithRawResponse(AnthropicCreateMessageRequest request) DefaultAnthropicClient.createMessageWithRawResponse(AnthropicCreateMessageRequest request) Creates a message synchronously and returns both the parsed response and the raw HTTP response.AnthropicClient.createMessageWithRawResponseAsync(AnthropicCreateMessageRequest request) Non-blocking counterpart ofAnthropicClient.createMessageWithRawResponse(AnthropicCreateMessageRequest): sends the request without holding a thread while the response is in flight.DefaultAnthropicClient.createMessageWithRawResponseAsync(AnthropicCreateMessageRequest request) Non-blocking counterpart ofDefaultAnthropicClient.createMessageWithRawResponse(AnthropicCreateMessageRequest): issues the request viaHttpClient.executeAsync(HttpRequest)and parses the body once it arrives, without ever parking a thread.