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 TypeClassDescriptionclassRepresents an image with a DetailLevel.classRepresents a text content.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 UserMessageCreate aUserMessagefrom contents.static UserMessageCreate aUserMessagefrom a name and contents.static UserMessageUserMessage.userMessage(Content... contents) Create aUserMessagefrom contents.static UserMessageUserMessage.userMessage(String name, Content... contents) Create aUserMessagefrom a name and contents.Method parameters in dev.langchain4j.data.message with type arguments of type ContentModifier and TypeMethodDescriptionstatic UserMessageCreate aUserMessagefrom a name and contents.static UserMessageCreate aUserMessagefrom contents.static UserMessageUserMessage.userMessage(String name, List<Content> contents) Create aUserMessagefrom a name and contents.static UserMessageUserMessage.userMessage(List<Content> contents) Create aUserMessagefrom contents.Constructors in dev.langchain4j.data.message with parameters of type ContentModifierConstructorDescriptionUserMessage(Content... contents) Creates aUserMessagefrom one or multipleContents.UserMessage(String name, Content... contents) Creates aUserMessagefrom a name and one or multipleContents.Constructor parameters in dev.langchain4j.data.message with type arguments of type ContentModifierConstructorDescriptionUserMessage(String name, List<Content> contents) Creates aUserMessagefrom a name and a list ofContents.UserMessage(List<Content> contents) Creates aUserMessagefrom a list ofContents.