Image

@Serializable
data class Image(val image: JsonElement, val model: String, val options: Map<String, JsonElement>? = null) : InferenceInput

An image to embed, as a URL or as base64-encoded bytes. image is untyped because Qdrant accepts either, and which one a provider wants is the provider's business.

Constructors

Link copied to clipboard
constructor(image: JsonElement, model: String, options: Map<String, JsonElement>? = null)

Properties

Link copied to clipboard
@SerialName(value = "image")
val image: JsonElement
Link copied to clipboard
@SerialName(value = "model")
open override val model: String

The model that produces the vector. Which names are valid depends on the server's provider.

Link copied to clipboard
@SerialName(value = "options")
open override val options: Map<String, JsonElement>?

Model-specific options, passed to the inference service as they are.