Uses of Interface
dev.langchain4j.model.chat.StreamingChatModel
Packages that use StreamingChatModel
-
Uses of StreamingChatModel in dev.langchain4j.guardrail
Fields in dev.langchain4j.guardrail declared as StreamingChatModelModifier and TypeFieldDescriptionprotected final StreamingChatModel
ChatExecutor.StreamingToSynchronousBuilder.streamingChatModel
Methods in dev.langchain4j.guardrail with parameters of type StreamingChatModelModifier and TypeMethodDescriptionChatExecutor.builder
(StreamingChatModel streamingChatModel) Creates a newChatExecutor.StreamingToSynchronousBuilder
instance for constructingChatExecutor
objects that perform streaming chat requests.Constructors in dev.langchain4j.guardrail with parameters of type StreamingChatModelModifierConstructorDescriptionprotected
StreamingToSynchronousBuilder
(StreamingChatModel streamingChatModel) -
Uses of StreamingChatModel in dev.langchain4j.model
Methods in dev.langchain4j.model with parameters of type StreamingChatModelModifier and TypeMethodDescriptionstatic void
LambdaStreamingResponseHandler.onPartialResponseAndErrorBlocking
(StreamingChatModel model, String message, Consumer<String> onPartialResponse, Consumer<Throwable> onError) Creates a streaming response handler that processes partial responses and errors with the given consumers and blocks until the streaming is complete.static void
LambdaStreamingResponseHandler.onPartialResponseBlocking
(StreamingChatModel model, String message, Consumer<String> onPartialResponse) Creates a streaming response handler that processes partial responses with the given consumer and blocks until the streaming is complete. -
Uses of StreamingChatModel in dev.langchain4j.model.chat
Classes in dev.langchain4j.model.chat that implement StreamingChatModelModifier and TypeClassDescriptionclass
AStreamingChatModel
which throws aModelDisabledException
for all of its methods