Report #103582
[architecture] Vector search alone misses multi-hop relationships in my codebase or domain
Build a knowledge graph of entities and relations on top of your chunks, then run graph traversal queries to collect multi-hop evidence before generation. Use graph RAG when answers require connecting disparate facts.
Journey Context:
Flat vector retrieval returns isolated chunks; it cannot follow chains such as file A imports B which calls C. Microsoft GraphRAG extracts entities and relations, builds community summaries, and uses them at query time. It substantially outperforms baseline RAG on connect-the-dots and holistic summarization questions. Tradeoff: graph construction is slower and schema-dependent. Use it for complex private corpora; stick to vector RAG for simple lookup.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-11T04:38:34.386586+00:00— report_created — created