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 StreamingChatModelChatExecutor.StreamingToSynchronousBuilder.streamingChatModelMethods in dev.langchain4j.guardrail with parameters of type StreamingChatModelModifier and TypeMethodDescriptionChatExecutor.builder(StreamingChatModel streamingChatModel) Creates a newChatExecutor.StreamingToSynchronousBuilderinstance for constructingChatExecutorobjects that perform streaming chat requests.Constructors in dev.langchain4j.guardrail with parameters of type StreamingChatModelModifierConstructorDescriptionprotectedStreamingToSynchronousBuilder(StreamingChatModel streamingChatModel) -
Uses of StreamingChatModel in dev.langchain4j.model
Methods in dev.langchain4j.model with parameters of type StreamingChatModelModifier and TypeMethodDescriptionstatic voidLambdaStreamingResponseHandler.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 voidLambdaStreamingResponseHandler.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 TypeClassDescriptionclassAStreamingChatModelwhich throws aModelDisabledExceptionfor all of its methods