Expand description
Embedding cache for avoiding redundant computations.
This module provides a simple LRU cache for embeddings based on content hashes.
Structsยง
- Cache
Entry ๐ - A cached embedding entry.
- Cache
Stats - Cache statistics.
- Embedding
Cache - Embedding cache with LRU eviction.
Constantsยง
- DEFAULT_
CACHE_ ๐SIZE - Maximum number of entries in the cache.