⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠ You can decompress Drawing data with the command palette: ‘Decompress current Excalidraw file’. For more info check in plugin settings under ‘Saving’

Excalidraw Data

Text Elements

Source Documents

(1) Chunk Documents

Text Chunks

~600 tokens, with overlap

(2) LLM Entity & Relationship Extraction

Entities

(name, type, description)

Relationships

(source, target, description)

(3) Entity Resolution

Canonical Nodes

Deduplicated entities

(4) Build Knowledge Graph

Knowledge Graph

G = (V, E) where V=entities,

E=relationships

(5) Community Detection

Hierarchical Communities

Leiden Algorithm clustering

Multi-level community structure

(6) LLM Community Summarization

Community Summaries

Summaries at each hierarchy level

(7) Embed Everything

Entity Embeddings

Community Embeddings

Relationship Embeddings

GraphRAG Indexing Pipeline