Skip to main content

Module vector_snapshot

Module vector_snapshot 

Source
Expand description

Deterministic snapshots over authoritative SQLite f32 embeddings.

These snapshots are used only to build/check rebuildable derived candidate artifacts. The authoritative vectors remain the f32 embeddings in SQLite.

Structs§

EmbeddingSnapshotRow
One authoritative embedding row included in a derived candidate snapshot.
EmbeddingSnapshotV1
Stable deterministic digest envelope for authoritative f32 embedding rows.

Functions§

build_embedding_snapshot
Build a stable snapshot from in-memory authoritative f32 rows.
embedding_row_digest
Stable digest for a single authoritative embedding row.
load_embedding_snapshot_from_db
Load all authoritative embeddings from SQLite and build a deterministic snapshot.