Skip to main content

Module cache

Module cache 

Source
Expand description

Embedding cache โ€” content-hash invalidation with Parquet persistence.

Caches embedding vectors keyed by (id, content_hash). When content changes, the hash changes and the cache entry is invalidated. Supports Parquet persistence for warm starts across sessions.

Structsยง

EmbeddingCache
An embedding cache that avoids re-computing embeddings for unchanged content.