What's the difference between RAG and GraphRAG?

Standard RAG retrieves the chunks closest to a question and answers from them; GraphRAG, from Microsoft Research, first builds a knowledge graph of entities out of the whole corpus, clusters it into communities, and summarizes each one, so it can also answer questions no single chunk covers.

Microsoft’s own framing is that “baseline RAG struggles to connect the dots” when a question needs traversing several pieces of information through their shared attributes, and “performs poorly when being asked to holistically understand summarized semantic concepts over large data collections.” Top-k retrieval only ever hands the model a handful of chunks, so a question like “what are the main themes across this dataset” has no single chunk that contains the answer. GraphRAG’s community summaries exist for that: instead of retrieving passages, it draws partial answers from the summaries and combines them.

That coverage costs something standard RAG doesn’t pay: the graph and its summaries are built once, over the whole corpus, before any question is asked. It earns that cost on aggregation questions, where a chunk-based answer that reads as grounded can still be wrong. For a question a handful of chunks already answers, the graph buys nothing standard RAG didn’t have.

sources

keep reading

More on this.

Two ways to run Tessary.

Tessary is an open-source agent reliability platform. Cloud and self-hosted run the same workflow on the OpenTelemetry traces your agent already emits.

Tessary Cloud

We host it for you. Send your first trace with nothing to deploy and no model key.

what's includedper organization
traces
10,000 per calendar month
stored trace data
1 GB
retention
30 days
model credit
$10, one-time, for triage and root-cause analysis
credit card
not required

Self-hosted Tessary

Run the open-source code on your own infrastructure with one command. Add your own model key for triage and root-cause analysis.

Self-host Tessary for me by following https://github.com/tessaryai/tessary/blob/main/setup.md

docker compose -f oci://docker.io/tessaryai/tessary:compose up -d -y