Skip to main content

Module multi_vector

Module multi_vector 

Source
Expand description

Multi-vector type for ColBERT-style late interaction retrieval.

Stores N vectors per document (one per token/passage), all same dimension. Contiguous Vec<f32> layout for cache efficiency: [v0_d0..v0_dD, v1_d0..v1_dD, ...].

Structs§

MultiVector
A multi-vector: an array of dense vectors, all sharing the same dimension.

Enums§

MultiVectorError
Errors from multi-vector construction.
MultiVectorScoreMode
Aggregation mode for multi-vector scoring.