Uses of Class
dev.langchain4j.data.message.UserMessage
Packages that use UserMessage
-
Uses of UserMessage in dev.langchain4j.data.message
Methods in dev.langchain4j.data.message that return UserMessageModifier and TypeMethodDescriptionUserMessage.Builder.build()
static UserMessage
Create aUserMessage
from contents.static UserMessage
Create aUserMessage
from a text.static UserMessage
Create aUserMessage
from a name and contents.static UserMessage
Create aUserMessage
from a name and a text.static UserMessage
Create aUserMessage
from a name and contents.static UserMessage
Create aUserMessage
from contents.static UserMessage
UserMessage.userMessage
(Content... contents) Create aUserMessage
from contents.static UserMessage
UserMessage.userMessage
(String text) Create aUserMessage
from a text.static UserMessage
UserMessage.userMessage
(String name, Content... contents) Create aUserMessage
from a name and contents.static UserMessage
UserMessage.userMessage
(String name, String text) Create aUserMessage
from a name and a text.static UserMessage
UserMessage.userMessage
(String name, List<Content> contents) Create aUserMessage
from a name and contents.static UserMessage
UserMessage.userMessage
(List<Content> contents) Create aUserMessage
from contents. -
Uses of UserMessage in dev.langchain4j.model.input
Methods in dev.langchain4j.model.input that return UserMessageModifier and TypeMethodDescriptionPrompt.toUserMessage()
Convert this prompt to a UserMessage.Prompt.toUserMessage
(String userName) Convert this prompt to a UserMessage with specified userName.