Uses of Interface
dev.langchain4j.data.message.Content
-
Uses of Content in dev.langchain4j.data.message
Modifier and TypeClassDescriptionclass
class
Represents an image with a DetailLevel.class
class
Represents a text content.class
class
Modifier and TypeMethodDescriptionUserMessage.contents()
The contents of the message.ContentType.getContentClass()
Returns the class of the content type.Modifier and TypeMethodDescriptionstatic UserMessage
Create aUserMessage
from contents.static UserMessage
Create aUserMessage
from a name and contents.static UserMessage
UserMessage.userMessage
(Content... contents) Create aUserMessage
from contents.static UserMessage
UserMessage.userMessage
(String name, Content... contents) Create aUserMessage
from a name and contents.Modifier and TypeMethodDescriptionstatic UserMessage
Create aUserMessage
from a name and contents.static UserMessage
Create aUserMessage
from contents.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.ModifierConstructorDescriptionUserMessage
(Content... contents) Creates aUserMessage
from one or multipleContent
s.UserMessage
(String name, Content... contents) Creates aUserMessage
from a name and one or multipleContent
s.ModifierConstructorDescriptionUserMessage
(String name, List<Content> contents) Creates aUserMessage
from a name and a list ofContent
s.UserMessage
(List<Content> contents) Creates aUserMessage
from a list ofContent
s.