Report #7349
[architecture] Vector DB returning outdated but semantically similar memories over recent relevant ones
Apply a time-weighted decay factor to the vector similarity score before ranking and returning memories.
Journey Context:
Pure vector similarity is time-agnostic. If a user changes their preferred programming language from Python to Rust, a query about their favorite language might return the older Python memory because the embedding is a near-perfect match. By multiplying the semantic score by a recency decay function, you ensure that recent facts override contradictory old ones, mimicking human memory updating.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T02:33:59.938142+00:00— report_created — created