Expand description
Vector index facade for cass.
cass uses the frankensearch FSVI vector index format and search primitives
(via the frankensearch crate). The older CVVI format has been retired.
This module keeps cass-specific helpers (paths, role codes) in one place.
Structs§
- Search
Params - Configurable parameters for vector search parallelism.
- Semantic
DocId - Semantic doc_id fields encoded into FSVI records.
- Semantic
Filter - Semantic filter constraints expressed in numeric IDs for fast evaluation.
- Semantic
Filter Maps - Lookup maps for converting human filters (agent slug, workspace path, source id) into compact numeric IDs embedded into semantic doc_id strings.
- Vector
Index - Vector
Index Writer - Vector
Search Result - Collapsed semantic search hit (best chunk per message).
Enums§
- Quantization
- Vector element quantization stored in the FSVI slab.
Constants§
- ROLE_
ASSISTANT - ROLE_
SYSTEM - ROLE_
TOOL - ROLE_
USER - VECTOR_
INDEX_ DIR - Directory under the cass data dir where vector artifacts are stored.
Functions§
- dot_
product_ f16_ scalar_ bench - Scalar dot product benchmark helper for f16 stored vectors vs f32 query.
- dot_
product_ f16_ simd_ bench - SIMD dot product benchmark helper for f16 stored vectors vs f32 query.
- dot_
product_ scalar_ bench - Scalar dot product benchmark helper.
- dot_
product_ simd_ bench - SIMD dot product benchmark helper (uses frankensearch’s portable SIMD).
- parse_
role_ codes - Parse a list of role strings into a set of role codes.
- parse_
semantic_ doc_ id - Parse a cass semantic doc_id string.
- role_
code_ from_ str - Map a role string (from SQLite / connectors) to a compact u8 code.
- vector_
index_ path - Path to the primary FSVI vector index for a given embedder.