Uses of Interface
dev.langchain4j.model.chat.StreamingChatModel
Packages that use StreamingChatModel
Package
Description
-
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.anthropic
Classes in dev.langchain4j.model.anthropic that implement StreamingChatModelModifier and TypeClassDescriptionclassRepresents an Anthropic language model with a Messages (chat) API. -
Uses of StreamingChatModel in dev.langchain4j.model.azure
Classes in dev.langchain4j.model.azure that implement StreamingChatModelModifier and TypeClassDescriptionclassRepresents an OpenAI language model, hosted on Azure, that has a chat completion interface, such as gpt-3.5-turbo. -
Uses of StreamingChatModel in dev.langchain4j.model.bedrock
Classes in dev.langchain4j.model.bedrock that implement StreamingChatModelModifier and TypeClassDescriptionclassBedrockStreamingChatModel uses the Bedrock ConverseAPI. -
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 -
Uses of StreamingChatModel in dev.langchain4j.model.github
Classes in dev.langchain4j.model.github that implement StreamingChatModelModifier and TypeClassDescriptionclassRepresents a language model, hosted on GitHub Models, that has a chat completion interface, such as gpt-4o. -
Uses of StreamingChatModel in dev.langchain4j.model.googleai
Classes in dev.langchain4j.model.googleai that implement StreamingChatModel -
Uses of StreamingChatModel in dev.langchain4j.model.gpullama3
Classes in dev.langchain4j.model.gpullama3 that implement StreamingChatModelModifier and TypeClassDescriptionclassGPULlama3 implementation of the langchain4j StreamingChatModel interface. -
Uses of StreamingChatModel in dev.langchain4j.model.jlama
Classes in dev.langchain4j.model.jlama that implement StreamingChatModel -
Uses of StreamingChatModel in dev.langchain4j.model.localai
Classes in dev.langchain4j.model.localai that implement StreamingChatModel -
Uses of StreamingChatModel in dev.langchain4j.model.mistralai
Classes in dev.langchain4j.model.mistralai that implement StreamingChatModelModifier and TypeClassDescriptionclassRepresents a Mistral AI Chat Model with a chat completion interface, such as mistral-tiny and mistral-small. -
Uses of StreamingChatModel in dev.langchain4j.model.ollama
Classes in dev.langchain4j.model.ollama that implement StreamingChatModelModifier and TypeClassDescriptionclass -
Uses of StreamingChatModel in dev.langchain4j.model.openai
Classes in dev.langchain4j.model.openai that implement StreamingChatModelModifier and TypeClassDescriptionclassRepresents an OpenAI language model with a chat completion interface, such as gpt-4o-mini and o3. -
Uses of StreamingChatModel in dev.langchain4j.model.openaiofficial
Classes in dev.langchain4j.model.openaiofficial that implement StreamingChatModel -
Uses of StreamingChatModel in dev.langchain4j.model.vertexai.gemini
Classes in dev.langchain4j.model.vertexai.gemini that implement StreamingChatModelModifier and TypeClassDescriptionclassRepresents a Google Vertex AI Gemini language model with a stream chat completion interface, such as gemini-pro. -
Uses of StreamingChatModel in dev.langchain4j.model.watsonx
Classes in dev.langchain4j.model.watsonx that implement StreamingChatModelModifier and TypeClassDescriptionclassAStreamingChatModelimplementation that integrates IBM watsonx.ai with LangChain4j. -
Uses of StreamingChatModel in dev.langchain4j.service
Fields in dev.langchain4j.service declared as StreamingChatModelMethods in dev.langchain4j.service with parameters of type StreamingChatModelModifier and TypeMethodDescriptionstatic <T> TAiServices.create(Class<T> aiService, StreamingChatModel streamingChatModel) Creates an AI Service (an implementation of the provided interface), that is backed by the provided streaming chat model.AiServices.streamingChatModel(StreamingChatModel streamingChatModel) Configures streaming chat model that will be used under the hood of the AI Service.