RAPTOR
RAPTOR – Recursive Abstraction from the Bottom Up:
- document is broken down into leaf blocks;
- semantically close blocks are clustered;
- LLM generates a summary of each group as a parent node;
- the process is repeated until the root.
The result is a knowledge tree that allows searching at different levels of abstraction: from a macro concept to details.
Suitable for questions of the type “gradually delve from concept to detail”.
Related: GraphRAG, RAG, Structured indexing