AI Glossary

GraphRAG

GraphRAG is retrieval-augmented generation that retrieves from a knowledge graph — or a graph plus a vector index — instead of vector similarity alone. It grounds the model in explicit entities and relationships, so answers respect real facts and connections, not just topical similarity.

Also known as: graph RAG, graph-based RAG

· Chain of Thought

RAG & Retrieval

Standard retrieval-augmented generation finds passages whose meaning is closest to the question using a vector database. That’s great for “find relevant text” and weak for “respect the actual relationships between things.” GraphRAG retrieves from a knowledge graph — entities and the explicit links between them — so the model gets structured facts (who owns what, what depends on what) rather than fuzzy nearest-neighbors.

In practice the strongest setups combine both: vectors cast a wide net to find the relevant neighborhood, and the graph constrains and enriches it with exact entities and relationships. That pairing is one of the more effective levers against hallucination when a domain has real structure — compliance, supply chains, org data — because the answer is anchored to facts, not similarity. The cost is building and maintaining the graph, so it’s worth it when relationships are the point, not when you just need topical recall over text.

Go deeper

From the conversation