VectorQuantisation
- Namespace
- Rowles.LeanCorpus.Codecs.Vectors
- Assembly
- Rowles.LeanCorpus.dll
Quantisation strategy applied to vector data within a segment. Stored in VectorFieldInfo so the reader knows which codec path to use when opening per-segment vector files.
public enum VectorQuantisation : byte
Fields
BBQ = 2Better Binary Quantisation with per-segment centroid and asymmetric query-side int4.
Int8 = 18-bit scalar quantisation with per-segment min/alpha scaling.
None = 0No quantisation; vectors are stored as raw float32 in a
.vecfile.