Class ImageURLChunk
java.lang.Object
nl.dannyj.mistral.models.completion.content.ImageURLChunk
- All Implemented Interfaces:
ContentChunk
Represents an image URL part of the message content.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe image URL details.getType()
Gets the type identifier for this content chunk.
-
Constructor Details
-
ImageURLChunk
public ImageURLChunk() -
ImageURLChunk
Creates a newImageURLChunk
instance.- Parameters:
imageUrl
- The ImageURL object containing the URI and optional detail.
-
-
Method Details
-
getType
Gets the type identifier for this content chunk.- Specified by:
getType
in interfaceContentChunk
- Returns:
- The type string "image_url".
-
getImageUrl
The image URL details.- Returns:
- The ImageURL object.
-