Expand description
SQLite-based embedding cache.
Caches computed embeddings by content hash to avoid recomputation.
Stored in the same memory.db file for atomicity.
Structs§
- Cache
Stats - Cache statistics.
Functions§
- clear
- Clear all cached embeddings.
- get_
cached - Get a cached embedding for the given text.
- get_
or_ compute - Get or compute an embedding, using the cache.
- put_
cached - Store an embedding in the cache.
- stats
- Get cache statistics.