Report #23951
[architecture] Setting the similarity threshold too low in vector retrieval returns vaguely related but unhelpful memories that distract the agent
Use a hybrid retrieval approach \(vector \+ keyword/BM25\) and enforce a strict relevance threshold or use an LLM-as-a-judge step to filter out irrelevant memories before injecting them into the main context.
Journey Context:
Vector search alone returns false positives. If an agent asks about 'Python lists', it might retrieve 'grocery lists'. Hybrid search reduces this. Furthermore, an LLM filter step \(small, cheap model\) acts as a gatekeeper to the expensive main agent's context, preventing noise injection that derails the task.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T18:36:33.479248+00:00— report_created — created