After building the basic graph, GraphRAG applies the Leiden algorithm to group nodes into hierarchical communities at different levels of granularity, and embeds nodes with the node2vec algorithm, so that communities capture obvious connections while embeddings capture subtle patterns.

factualpending

Speaker

Adam Lucik

Evidence Quote

use the communities as well as the embeddings to allow us to look at both the subtle patterns through embeddings and the obvious connections through communities

Source

Knowledge Graph or Vector Database… Which is Better?Adam Lucek
Created: 6/18/2026, 1:58:48 PM

My Notes

Loading notes...