Uses of Interface
dev.langchain4j.data.message.Content
Packages that use Content
-
Uses of Content in dev.langchain4j.data.message
Classes in dev.langchain4j.data.message that implement ContentModifier and TypeClassDescriptionclass
class
Represents an image with a DetailLevel.class
class
Represents a text content.class
class
Methods in dev.langchain4j.data.message that return types with arguments of type ContentModifier and TypeMethodDescriptionUserMessage.contents()
The contents of the message.ContentType.getContentClass()
Returns the class of the content type.Methods in dev.langchain4j.data.message with parameters of type ContentModifier 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.Method parameters in dev.langchain4j.data.message with type arguments of type ContentModifier 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.Constructors in dev.langchain4j.data.message with parameters of type ContentModifierConstructorDescriptionUserMessage
(Content... contents) Creates aUserMessage
from one or multipleContent
s.UserMessage
(String name, Content... contents) Creates aUserMessage
from a name and one or multipleContent
s.Constructor parameters in dev.langchain4j.data.message with type arguments of type ContentModifierConstructorDescriptionUserMessage
(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.