curiosity-ai/hnsw-sharp

C# library for approximate nearest neighbors search using Hierarchical Navigable Small World graphs

49
/ 100
Emerging

Supports pluggable distance functions with multiple optimized implementations (cosine distance in standard, unit-vector, and SIMD variants) and enables graph serialization for persistence. Built around a hierarchical small-world graph structure with configurable parameters (M, EfSearch, LevelLambda) that balance search quality and performance in high-dimensional vector spaces.

No Package No Dependents
Maintenance 10 / 25
Adoption 9 / 25
Maturity 16 / 25
Community 14 / 25

How are scores calculated?

Stars

97

Forks

12

Language

C#

License

MIT

Last pushed

Jan 28, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/embeddings/curiosity-ai/hnsw-sharp"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.