26 lines
595 B
Markdown
26 lines
595 B
Markdown
# rustyhdf5-ann
|
|
|
|
[](https://crates.io/crates/rustyhdf5-ann)
|
|
[](https://docs.rs/rustyhdf5-ann)
|
|
|
|
HNSW approximate nearest neighbor index stored as HDF5.
|
|
|
|
## Features
|
|
|
|
- Build and query HNSW indexes persisted in HDF5 format
|
|
- Pure Rust, no C dependencies
|
|
- Efficient similarity search for high-dimensional vectors
|
|
|
|
## Usage
|
|
|
|
```rust
|
|
use rustyhdf5_ann::HnswIndex;
|
|
|
|
let index = HnswIndex::from_hdf5("vectors.h5").unwrap();
|
|
let neighbors = index.search(&query, 10);
|
|
```
|
|
|
|
## License
|
|
|
|
MIT
|