Report #1656
[architecture] Vector search fails to answer questions requiring connecting multiple disparate facts \(multi-hop reasoning\)
Store memories as a Knowledge Graph \(entities and relations\) alongside vector embeddings. When retrieving, use the graph to traverse 1-2 hops from the initially retrieved entity to gather adjacent context before injecting into the prompt.
Journey Context:
Pure vector similarity search is a flat retrieval method. If a user asks 'Who is the manager of the project the user was assigned to yesterday?', a vector search might retrieve the project assignment, but miss the project-to-manager mapping because the embeddings aren't semantically similar to the query. The tradeoff is complexity \(maintaining a KG and entity extraction pipeline\) versus recall. Graph RAG or hybrid retrieval solves this by preserving the relational topology of the data, enabling multi-hop traversal that flat vector stores fundamentally cannot achieve.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T06:32:40.168615+00:00— report_created — created