Memory Settings
Memory Settings
Section titled “Memory Settings”Memory settings live in ~/.ptah/settings.json under the memory.* prefix. Edit them through Settings → Memory in the desktop app.
Reference
Section titled “Reference”| Key | Default | What it does |
|---|---|---|
memory.curatorEnabled | true | Master kill-switch — when false, no extraction or resolution runs |
memory.tierLimits.core | 50 | Cap on the core tier; oldest unused memory is demoted when full |
memory.tierLimits.recall | 500 | Cap on the recall tier |
memory.tierLimits.archival | 5000 | Cap on the archival tier |
memory.decayHalflifeDays | 14 | Half-life of unused memories’ salience |
memory.embeddingModel | Xenova/bge-small-en-v1.5 | Embedder (transformers.js, runs in a worker) |
memory.curatorModel | claude-haiku-4-20251022 | LLM used by both curator and resolver stages |
memory.searchTopK | 10 | Number of hits returned per query |
memory.searchAlpha | 0.5 | RRF weight: 1.0 = pure BM25, 0.0 = pure vector |
Storage
Section titled “Storage”Memory state lives in ~/.ptah/ptah.db (shared SQLite database) across these tables:
memories— primary row per memorymemory_chunks— retrieval shardsmemory_chunks_fts— FTS5 BM25 indexmemory_chunks_vec— sqlite-vec embedding index