Skip to main content

ic_rig/vector_store/
mod.rs

1//! Vector search acceleration structures.
2//!
3//! Use these *in front of* exact cosine scoring to eliminate candidates
4//! before doing expensive dot-product math.
5//!
6//! | Structure  | Algorithm | Tradeoff                          |
7//! |------------|-----------|-----------------------------------|
8//! | [`LshIndex`] | LSH w/ random projection | Simple, zero deps, ~90% recall  |
9//!
10//! More structures (HNSW, IVF) can be added as separate modules.
11
12pub mod lsh;
13pub use lsh::LshIndex;