Expand description
Tiered caching infrastructure.
Reflex uses:
- L1: exact-match lookup (in-memory)
- L2: semantic search (vector DB)
Start at TieredCache and TieredLookupResult.
Re-exports§
pub use l1::L1Cache;pub use l1::L1CacheHandle;pub use l1::L1LookupResult;pub use l2::BqSearchBackend;pub use l2::DEFAULT_TOP_K_BQ;pub use l2::DEFAULT_TOP_K_FINAL;pub use l2::L2_COLLECTION_NAME;pub use l2::L2_VECTOR_SIZE;pub use l2::L2CacheError;pub use l2::L2CacheResult;pub use l2::L2Config;pub use l2::L2LookupResult;pub use l2::L2SemanticCache;pub use l2::L2SemanticCacheHandle;pub use l2::NvmeStorageLoader;pub use l2::StorageLoader;pub use l2::MockL2SemanticCache;mockpub use l2::MockStorageLoader;mockpub use tiered::MockTieredCache;mockpub use tiered::TieredCache;pub use tiered::TieredCacheHandle;pub use tiered::TieredLookupResult;pub use types::REFLEX_STATUS_ERROR;pub use types::REFLEX_STATUS_HEADER;pub use types::REFLEX_STATUS_HEALTHY;pub use types::REFLEX_STATUS_NOT_READY;pub use types::REFLEX_STATUS_READY;pub use types::REFLEX_STATUS_STORED;pub use types::ReflexStatus;