Uses of Enum Class
dev.langchain4j.data.message.ImageContent.DetailLevel
-
Uses of ImageContent.DetailLevel in dev.langchain4j.data.message
Modifier and TypeMethodDescriptionImageContent.detailLevel()
Get theDetailLevel
.static ImageContent.DetailLevel
Returns the enum constant of this class with the specified name.static ImageContent.DetailLevel[]
ImageContent.DetailLevel.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic ImageContent
ImageContent.from
(Image image, ImageContent.DetailLevel detailLevel) Create a newImageContent
from the given image.static ImageContent
ImageContent.from
(String url, ImageContent.DetailLevel detailLevel) Create a newImageContent
from the given url and detail level.static ImageContent
ImageContent.from
(String base64Data, String mimeType, ImageContent.DetailLevel detailLevel) Create a newImageContent
from the given base64 data and mime type.static ImageContent
ImageContent.from
(URI url, ImageContent.DetailLevel detailLevel) Create a newImageContent
from the given url and detail level.ModifierConstructorDescriptionImageContent
(Image image, ImageContent.DetailLevel detailLevel) Create a newImageContent
from the given image.ImageContent
(String url, ImageContent.DetailLevel detailLevel) Create a newImageContent
from the given url and detail level.ImageContent
(String base64Data, String mimeType, ImageContent.DetailLevel detailLevel) Create a newImageContent
from the given base64 data and mime type.ImageContent
(URI url, ImageContent.DetailLevel detailLevel) Create a newImageContent
from the given url and detail level.