When Your Knowledge Base Should Be a Graph
GraphRAG turns a corpus into entities, communities and LLM-written reports so it can answer whole-corpus questions that top-k retrieval structurally cannot.
Retrieval and RAG02
Subject · 5 posts
GraphRAG turns a corpus into entities, communities and LLM-written reports so it can answer whole-corpus questions that top-k retrieval structurally cannot.
Retrieval and RAG02
Twelve lines of code, two operations, and a running time so close to constant that nobody bothers with the difference. Then minimum spanning trees for free.
Problem Solving From Zero15
Three algorithms, three different jobs. Which one to reach for depends on negative edges, on how many sources you have, and on nothing else.
Problem Solving From Zero14
BFS goes wide, DFS goes deep, and the difference is not stylistic. DFS answers questions about structure that a queue simply cannot see.
Problem Solving From Zero13
Half of all algorithm problems are graph problems in disguise. Here is how to represent a graph, and the search that finds shortest paths for free.
Problem Solving From Zero12