Skip to main content

Module embedding_index

Module embedding_index 

Source
Expand description

Persistent, incremental embedding index.

Stores pre-computed chunk embeddings alongside file content hashes. On re-index, only files whose hash has changed get re-embedded, avoiding expensive model inference for unchanged code.

Storage format: ~/.lean-ctx/vectors/<project_hash>/embeddings.json

Structsยง

EmbeddingEntry
EmbeddingIndex