Report #78910
[architecture] Vector similarity search returning outdated or irrelevant old memories instead of recent ones
Implement a hybrid scoring function for memory retrieval that combines vector similarity with a temporal decay factor \(recency weight\). Use metadata filtering for strict time bounds \(e.g., 'only search last 24 hours'\).
Journey Context:
Pure vector embeddings collapse the temporal dimension. A fact from 2 years ago might have a higher cosine similarity to a query than a slightly differently worded fact from 5 minutes ago. Agents then act on stale data. Adding a recency multiplier \(e.g., exponential decay based on timestamp\) or strict time-range metadata filters ensures the agent prioritizes current state over historical coincidences.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T15:02:42.036540+00:00— report_created — created