VectorData
The vector(s) attached to a point, in any shape Qdrant accepts or returns:
Dense — one anonymous dense vector:
[0.1, 0.2, ...].Sparse — a sparse vector (always used under a name):
{"indices":[...],"values":[...]}.MultiDense — a multi-vector / late-interaction (ColBERT) vector:
[[...],[...]].Named — a map of vector-name to any of the above; dense, sparse and multi-vectors may be mixed.
Inference — what the server should embed, rather than a vector: see InferenceInput.
Raw — a shape this version does not model, kept verbatim so decoding a response never fails.
Inheritors
Types
One anonymous dense vector.
One anonymous dense vector backed by a FloatArray — a zero-boxing fast path for the hot path (values are never wrapped in Float objects, and serialization writes the array directly). Prefer this over Dense for large vectors. Equality is by content.
Text, an image or a custom object for the server to embed, instead of a vector the caller computed. Needs a Qdrant with an inference provider configured. See InferenceInput.
A multi-vector / late-interaction (ColBERT) vector: several equal-length dense vectors.
Named vectors; each entry may be Dense, Sparse or MultiDense.
A vector shape this version does not model, kept verbatim so response decoding degrades gracefully.