Class OpenAiStreamingChatModel

java.lang.Object
dev.langchain4j.model.openai.OpenAiStreamingChatModel
All Implemented Interfaces:
StreamingChatLanguageModel, TokenCountEstimator

public class OpenAiStreamingChatModel extends Object implements StreamingChatLanguageModel, TokenCountEstimator
Represents an OpenAI language model with a chat completion interface, such as gpt-3.5-turbo and gpt-4. The model's response is streamed token by token and should be handled with StreamingResponseHandler. You can find description of parameters here.