RAPTOR

RAPTOR – Recursive Abstraction from the Bottom Up: a document is broken down into leaf blocks, semantically close blocks are clustered, an 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 “gradually delve from concept to detail”.

Related: GraphRAG, RAG, [Structured Indexing]