ImageUrlPart

@Serializable
@SerialName(value = "image_url")
class ImageUrlPart(val imageUrl: ImageUrl) : ContentPart

Image passed to the model by URL, either remote or inline.

Constructors

Link copied to clipboard
constructor(imageUrl: ImageUrl)
constructor(url: String, detail: ImageDetail? = null)

Shorthand for ImageUrlPart(ImageUrl(url, detail)).

Properties

Link copied to clipboard

The image location and how much detail to preserve.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String