Class VertexAiAnthropicStreamingChatModel
java.lang.Object
dev.langchain4j.model.vertexai.anthropic.VertexAiAnthropicStreamingChatModel
- All Implemented Interfaces:
dev.langchain4j.model.chat.StreamingChatModel, Closeable, AutoCloseable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsConstructorDescriptionVertexAiAnthropicStreamingChatModel(VertexAiAnthropicStreamingChatModel.VertexAiAnthropicStreamingChatModelBuilder builder) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()voidclose()voiddoChat(dev.langchain4j.model.chat.request.ChatRequest chatRequest, dev.langchain4j.model.chat.response.StreamingChatResponseHandler handler) List<dev.langchain4j.model.chat.listener.ChatModelListener> dev.langchain4j.model.ModelProviderprovider()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.langchain4j.model.chat.StreamingChatModel
chat, chat, chat, chat, defaultRequestParameters, supportedCapabilities
-
Constructor Details
-
VertexAiAnthropicStreamingChatModel
public VertexAiAnthropicStreamingChatModel(VertexAiAnthropicStreamingChatModel.VertexAiAnthropicStreamingChatModelBuilder builder)
-
-
Method Details
-
doChat
public void doChat(dev.langchain4j.model.chat.request.ChatRequest chatRequest, dev.langchain4j.model.chat.response.StreamingChatResponseHandler handler) - Specified by:
doChatin interfacedev.langchain4j.model.chat.StreamingChatModel
-
listeners
- Specified by:
listenersin interfacedev.langchain4j.model.chat.StreamingChatModel
-
provider
public dev.langchain4j.model.ModelProvider provider()- Specified by:
providerin interfacedev.langchain4j.model.chat.StreamingChatModel
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
builder
public static VertexAiAnthropicStreamingChatModel.VertexAiAnthropicStreamingChatModelBuilder builder()
-