Expand description
Phase 9 — Episodic memory schema and recency scoring primitives.
Provides zero-I/O building blocks for agent memory tables:
EpisodicMemorySchemamarker +episodic_columnsconstantsRecencyConfig/recency_weight— exponential time-decayhybrid_score— fuses distance, recency, and importance into one ranking signal
These are pure-math functions with no async, no I/O, no external deps.
Modules§
- episodic_
columns - Canonical column names for episodic memory tables.
Structs§
- Episodic
Memory Schema - Marker struct for episodic agent memory tables (Phase 9).
Actual schema is enforced by column names in
episodic_columnsmodule. - Recency
Config - Parameters for exponential time-decay of memory recency.
Functions§
- hybrid_
score - Compute the hybrid ranking score for a retrieved memory chunk.
- recency_
weight - Compute the recency weight for a memory chunk.