Report #57218
[architecture] Agent retrieves irrelevant but recent memories instead of highly relevant older ones
Combine semantic similarity with recency weighting using a decay function on timestamps during retrieval scoring.
Journey Context:
Pure vector similarity ignores time. A query about 'project requirements' might pull an old cancelled project's requirements instead of the current one. Pure recency ignores long-term relevant facts. The solution is a hybrid score: Score = alpha \* similarity \+ \(1-alpha\) \* recency\_decay. The tradeoff is tuning the alpha parameter for the specific use case.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T02:31:42.695917+00:00— report_created — created