PART I
Search better
Can a better query, retriever or ranker fix this?
01
Query rewrite
Expand, decompose or rewrite the question before retrieval. It helps vague or multi-part questions; it can also drift away from what the user asked.
02
Hybrid retrieval
Combine lexical and dense candidates with weighted scores or reciprocal rank fusion. It helps when exact terms and paraphrase both matter.
03
Reranking
Retrieve a wider candidate set, then reorder it with a stronger but slower model. Cross-encoders read query and document together; LLM rerankers add flexibility and cost.
After this partYou can now choose between rewrite, hybrid retrieval and reranking without treating them as one upgrade.
PART II
Change the unit
What should be retrieved: the child or the parent?
04
Parent-child chunks
Retrieve precise child chunks, then return the larger parent block to the generator. Small units improve matching; parents restore complete context.
After this partYou can now decide whether the unit of retrieval and the unit of context should be the same.
PART III
Add structure
Does this problem actually need relations?
05
Graph RAG
Extract entities and relations, then traverse or summarise a graph. It can answer multi-hop and global questions that flat chunks cannot.
LIVE PROBE / GRAPH
Follow relations, not just chunks.
A small entity graph makes multi-hop structure visible. Click a node, then widen the traversal to two hops.
Hand-built toy graph. A production Graph RAG pipeline also extracts entities, resolves duplicates and builds community summaries; this probe only traverses a known graph.
After this partYou can now tell a flat-chunk problem from a multi-hop problem, and decide whether a graph is worth its build and update cost.