Package dev.langchain4j.model.chat
Interface StreamingChatLanguageModel
public interface StreamingChatLanguageModel
-
Method Summary
Modifier and TypeMethodDescriptionvoid
sendMessages
(List<ChatMessage> messages, StreamingResultHandler handler) void
sendUserMessage
(UserMessage userMessage, StreamingResultHandler handler) void
sendUserMessage
(Prompt prompt, StreamingResultHandler handler) void
sendUserMessage
(Object structuredPrompt, StreamingResultHandler handler) void
sendUserMessage
(String text, StreamingResultHandler handler)
-
Method Details
-
sendUserMessage
-
sendUserMessage
-
sendUserMessage
-
sendUserMessage
-
sendMessages
-