Expand description
Kernel ↔ VSA interop layer (non-FUSE).
This module defines a minimal abstraction boundary between a kernel/runtime and the VSA substrate. The goal is to keep non-FUSE builds first-class by avoiding any dependency on the FUSE shim while still enabling:
- reversible encode/decode for byte payloads
- algebraic VSA ops (bundle, bind, similarity)
- a retrieval seam (candidate generation + optional rerank)
Structs§
- Sparse
VecBackend - Default backend for today: the existing
SparseVecsubstrate.
Enums§
- Kernel
Interop Error - Errors from kernel↔VSA interop helpers.
Traits§
- Candidate
Generator - Candidate generation seam. Intended to wrap e.g.
TernaryInvertedIndex. - Vector
Store - Minimal vector store abstraction.
- VsaBackend
- Backend-agnostic VSA operations exposed to a kernel/runtime.
Functions§
- rerank_
top_ k_ by_ cosine - Rerank a set of candidate IDs by exact cosine similarity.