Variables
MEMORY_STRATEGIES
Variable: MEMORY_STRATEGIES
constMEMORY_STRATEGIES:object
Defined in: src/memory/define.types.ts:74
How content is selected / compressed for the next LLM call.
A WINDOW strategy on an Episodic store keeps the last N messages; on
Semantic / Narrative it keeps the last N facts / beats. NOT universal: the
CAUSAL type accepts ONLY TOP_K — its snapshots are matched semantically
against the new query, never by recency, so buildCausalPipeline throws on
any other strategy kind. Mix and match the non-Causal types.
Type Declaration
BUDGET
readonlyBUDGET:"budget"='budget'
DECAY
readonlyDECAY:"decay"='decay'
EXTRACT
readonlyEXTRACT:"extract"='extract'
HYBRID
readonlyHYBRID:"hybrid"='hybrid'
SUMMARIZE
readonlySUMMARIZE:"summarize"='summarize'
TOP_K
readonlyTOP_K:"topK"='topK'
WINDOW
readonlyWINDOW:"window"='window'
