Package | Description |
---|---|
dev.langchain4j.data.message | |
dev.langchain4j.model.chat | |
dev.langchain4j.model.input |
Modifier and Type | Method and Description |
---|---|
static UserMessage |
UserMessage.from(String text) |
static UserMessage |
UserMessage.from(String name,
String text) |
static UserMessage |
UserMessage.userMessage(String text) |
static UserMessage |
UserMessage.userMessage(String name,
String text) |
Modifier and Type | Method and Description |
---|---|
int |
TokenCountEstimator.estimateTokenCount(UserMessage userMessage) |
void |
StreamingChatLanguageModel.sendUserMessage(UserMessage userMessage,
StreamingResultHandler handler) |
Modifier and Type | Method and Description |
---|---|
UserMessage |
Prompt.toUserMessage() |
Copyright © 2023. All rights reserved.