Expand description
SqliteMemoryProvider โ the SQLite + vector backing storage.
Implements the full cel_memory::MemoryProvider surface:
openloads sqlite-vec, runs migrations, holds the connection.write/get/stats/purge_allplus session lifecycle.- Hybrid (vector + FTS + recency)
retrieve, fronted by a TTL+LRU cache. summarize_session/rollup_day/rollup_rule_weekvia an injectedcel_memory::Summarizer(these returnErr(NotImplemented)only when no summarizer is attached).run_aging_sweepandexport.re_embed_allre-embeds every stored chunk against the configuredEmbedderwhentarget_modelmatchesEmbedder::model_name.
The provider is Send + Sync and lives behind an Arc<dyn MemoryProvider> โ
the same surface as BasicMemoryProvider, so swapping it in is one line.
Structsยง
- Sqlite
Memory Provider - SQLite-backed
MemoryProvider.