Uses of Class
dev.langchain4j.data.message.UserMessage
Packages that use UserMessage
Package
Description
-
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. -
Uses of UserMessage in dev.langchain4j.rag.query
Methods in dev.langchain4j.rag.query that return UserMessageModifier and TypeMethodDescriptionMetadata.userMessage()
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of UserMessage in dev.langchain4j.service.tool
Methods in dev.langchain4j.service.tool that return UserMessageMethods in dev.langchain4j.service.tool with parameters of type UserMessageModifier and TypeMethodDescriptionToolService.executionContext
(Object memoryId, UserMessage userMessage) Constructors in dev.langchain4j.service.tool with parameters of type UserMessage
Metadata.chatMessage()
instead