yoshuawuyts/components

[component] embed-index — ANN vector retrieval

Open

#4 opened on May 1, 2026

View on GitHub
 (0 comments) (1 reaction) (2 assignees)Rust (1 fork)github user discovery
help wanted

Repository metrics

Stars
 (1 star)
PR merge metrics
 (PR metrics pending)

Description

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.

Contributor guide