Package | Description |
---|---|
dev.langchain4j.model.chat | |
dev.langchain4j.model.language |
Modifier and Type | Method and Description |
---|---|
void |
StreamingChatLanguageModel.sendMessages(List<ChatMessage> messages,
StreamingResultHandler handler) |
void |
StreamingChatLanguageModel.sendUserMessage(Object structuredPrompt,
StreamingResultHandler handler) |
void |
StreamingChatLanguageModel.sendUserMessage(Prompt prompt,
StreamingResultHandler handler) |
void |
StreamingChatLanguageModel.sendUserMessage(String text,
StreamingResultHandler handler) |
void |
StreamingChatLanguageModel.sendUserMessage(UserMessage userMessage,
StreamingResultHandler handler) |
Modifier and Type | Method and Description |
---|---|
void |
StreamingLanguageModel.process(Object structuredPrompt,
StreamingResultHandler handler) |
void |
StreamingLanguageModel.process(Prompt prompt,
StreamingResultHandler handler) |
void |
StreamingLanguageModel.process(String text,
StreamingResultHandler handler) |
Copyright © 2023. All rights reserved.