Class AnthropicClient
java.lang.Object
dev.langchain4j.model.anthropic.internal.client.AnthropicClient
- Direct Known Subclasses:
DefaultAnthropicClient
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
AnthropicClient.Builder<T extends AnthropicClient,
B extends AnthropicClient.Builder<T, B>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AnthropicClient.Builder
builder()
abstract AnthropicCreateMessageResponse
abstract void
createMessage
(AnthropicCreateMessageRequest request, StreamingResponseHandler<AiMessage> handler)
-
Constructor Details
-
AnthropicClient
public AnthropicClient()
-
-
Method Details
-
createMessage
-
createMessage
public abstract void createMessage(AnthropicCreateMessageRequest request, StreamingResponseHandler<AiMessage> handler) -
builder
-