nodedb-vector 0.1.0

Shared vector engine (HNSW index + distance functions) for NodeDB Origin and Lite
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// SPDX-License-Identifier: Apache-2.0

pub mod build;
pub mod graph;
pub mod node_fetcher;
pub mod prune;
pub mod search;
pub mod shard;
pub mod storage;

pub use build::build_vamana;
pub use graph::{VamanaGraph, VamanaNode};
pub use node_fetcher::{InMemoryFetcher, NodeFetcher};
pub use prune::alpha_prune;
pub use search::{BeamSearchResult, beam_search, rerank};
pub use shard::{LocalShard, Shard};
pub use storage::{HEADER_BYTES, VAMANA_MAGIC, VAMANA_VERSION, VamanaStorageLayout, vector_offset};