Uses of Class
dev.langchain4j.model.anthropic.internal.client.AnthropicCreateMessageOptions
Packages that use AnthropicCreateMessageOptions
-
Uses of AnthropicCreateMessageOptions in dev.langchain4j.model.anthropic.internal.client
Methods in dev.langchain4j.model.anthropic.internal.client with parameters of type AnthropicCreateMessageOptionsModifier and TypeMethodDescriptionvoidAnthropicClient.createMessage(AnthropicCreateMessageRequest request, AnthropicCreateMessageOptions options, StreamingChatResponseHandler handler) voidDefaultAnthropicClient.createMessage(AnthropicCreateMessageRequest request, AnthropicCreateMessageOptions options, StreamingChatResponseHandler handler) Creates a message with streaming response handling.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.