Report #9974
[architecture] Using vector embeddings for exact keyword or ID lookups in memory
Use hybrid search \(BM25 \+ Dense vectors\) for memory retrieval, or strictly route exact-match queries \(like error codes or function names\) to a keyword index.
Journey Context:
Dense embeddings are terrible at exact lexical matches. If an agent remembers 'Error 0x80004005', a vector search might return 'Error 0x80070005' because they are semantically similar. Keyword search guarantees the exact match. Hybrid search merges the semantic understanding of vectors with the precision of keywords.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T09:36:09.481254+00:00— report_created — created