Interface StreamingChatClient

All Superinterfaces:
StreamingModelClient<Prompt,ChatResponse>
All Known Implementing Classes:
AzureOpenAiChatClient, BedrockAnthropicChatClient, BedrockCohereChatClient, BedrockLlama2ChatClient, BedrockTitanChatClient, MistralAiChatClient, OllamaChatClient, OpenAiChatClient, VertexAiGeminiChatClient
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 StreamingChatClient extends StreamingModelClient<Prompt,ChatResponse>
  • Method Summary

    Modifier and Type
    Method
    Description
    default reactor.core.publisher.Flux<String>
    stream(String message)
     
    reactor.core.publisher.Flux<ChatResponse>
    stream(Prompt prompt)
    Executes a method call to the AI model.