Expand description
Sleep-inspired consolidation for in-memory knowledge entries (NREM merge, REM prune, replay boost).
Structs§
- Knowledge
Entry - Knowledge unit subject to consolidation.
Functions§
- consolidate
- NREM: merge highly similar entries (keep highest-access body). REM: drop stale + low-importance. Replay: boost importance of pairwise related entries that are often accessed together (proxy).
- token_
jaccard - Jaccard similarity over whitespace-split tokens (case-folded).