Expand description
Vector-search capability layer for gonzalo.
Provides the VectorIndex trait (and its exact in-memory implementation
MemoryVectorIndex) plus the Embedder seam so caliban-side model
providers and gonzalo-hosted embedders share a single interface.
All index operations are async so remote / approximate backends can be added in later milestones without breaking callers.
Re-exports§
pub use index::MemoryVectorIndex;
Modules§
- index
- In-memory exact cosine vector index keyed by [
RecordKey].
Structs§
- Match
- One search hit: the record key and its similarity score (cosine, in
[-1.0, 1.0]; higher is more similar).
Traits§
- Embedder
- Turns text into an embedding vector.
- Vector
Index - A vector index keyed by [
RecordKey].