public interface StreamingChatLanguageModel
Modifier and Type | Method and Description |
---|---|
void |
sendMessages(List<ChatMessage> messages,
StreamingResultHandler handler) |
void |
sendUserMessage(Object structuredPrompt,
StreamingResultHandler handler) |
void |
sendUserMessage(Prompt prompt,
StreamingResultHandler handler) |
void |
sendUserMessage(String text,
StreamingResultHandler handler) |
void |
sendUserMessage(UserMessage userMessage,
StreamingResultHandler handler) |
void sendUserMessage(String text, StreamingResultHandler handler)
void sendUserMessage(UserMessage userMessage, StreamingResultHandler handler)
void sendUserMessage(Prompt prompt, StreamingResultHandler handler)
void sendUserMessage(Object structuredPrompt, StreamingResultHandler handler)
void sendMessages(List<ChatMessage> messages, StreamingResultHandler handler)
Copyright © 2023. All rights reserved.