Expand description
kevy-vector — ANN core (RFC 2026-07-04, LOCKED): HNSW graph with cosine / L2 / inner-product distances, tombstone deletes filtered at search time, bounded full rebuild.
Structs§
- Hnsw
- One shard’s ANN graph for one index.
- Hnsw
Params - Construction/search parameters (immutable once built — RFC D2).
- Vector
Stats - Sizing counters (RFC D6).
Enums§
- Distance
- Distance metric. Scores are “smaller = closer” for every variant
(cosine →
1 - cos, ip →-dot), so one ascending merge works.
Functions§
- parse_
vector - Decode a wire vector: raw f32 LE bytes (
len == dim*4), or the debug formcsv:1.0,2.5,….Noneon any mismatch.