Interface StreamingChatModel
- All Superinterfaces:
StreamingModel<Prompt, ChatResponse>
- All Known Subinterfaces:
ChatModel
- All Known Implementing Classes:
AnthropicChatModel, AzureOpenAiChatModel, BedrockProxyChatModel, DeepSeekChatModel, GoogleGenAiChatModel, HuggingfaceChatModel, MiniMaxChatModel, MistralAiChatModel, OCICohereChatModel, OllamaChatModel, OpenAiChatModel, OpenAiSdkChatModel, VertexAiGeminiChatModel, ZhiPuAiChatModel
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface StreamingChatModel
extends StreamingModel<Prompt, ChatResponse>
-
Method Summary
-
Method Details
-
stream
-
stream
-
stream
Description copied from interface:StreamingModelExecutes a method call to the AI model.- Specified by:
streamin interfaceStreamingModel<Prompt, ChatResponse>- Parameters:
prompt- the request object to be sent to the AI model- Returns:
- the streaming response from the AI model
-