yoshuawuyts/components

[component] embed-index — ANN vector retrieval

Open

#4 创建于 2026年5月1日

在 GitHub 查看
 (0 评论) (1 反应) (2 负责人)Rust (1 fork)github user discovery
help wanted

仓库指标

Star
 (1 star)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南