vector

fun vector(values: List<Float>)

Single anonymous dense vector.


fun vector(vararg values: Float)

Single anonymous dense vector — zero-boxing: the values are kept as a FloatArray, not boxed.


fun vector(vectors: Map<String, List<Float>>)

Named dense vectors.


fun vector(vararg vectors: Pair<String, List<Float>>)

Named dense vectors, e.g. vector("text" to listOf(...), "image" to listOf(...)).


fun vector(data: VectorData)

Set the vector(s) directly — for sparse, multi-vector, or mixed named vectors.