yoshuawuyts/components

[component] embed-index — ANN vector retrieval

Open

#4 aperta il 1 mag 2026

Vedi su GitHub
 (0 commenti) (1 reazione) (2 assegnatari)Rust (1 fork)github user discovery
help wanted

Metriche repository

Star
 (1 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Goal

Component to build/query an ANN index (HNSW, flat, etc) from input vectors; host stores index bytes, queries for nearest neighbors on demand.

Scope/Features

  • Build: vectors in, index bytes out
  • Query: index bytes in, vector in, K hits out
  • No embedding modeling inside component; host provides vectors

Rough WIT shape

  • build(vecs: list<vec>) -> list<u8>
  • query(index: list<u8>, q: list<f32>, k: u32) -> list<hit>
  • Vec/hit types.

Candidate crates

Labels

  • help wanted

Good stepping stone for more advanced resource/stream-based interfaces in future.

Guida contributor