parthsarthi03/raptor
The official implementation of RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrieval observed · 2026-08-28
Health v2 · maintenance only
25/100
- Activity 0
- Release rhythm 35
- Longevity 65
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 919
- days_rel: n/a
- days_push: 729
- n_releases_24m: 0
Adoption not part of the score
1750 stars · 234 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
The official Python implementation of RAPTOR (Recursive Abstractive Processing for Tree-Organized Retrieval), a retrieval-augmented generation method from an arXiv paper. It recursively embeds, clusters, and summarizes document chunks into a multi-level tree, then retrieves from that tree at query time to answer questions with context spanning different levels of abstraction.
Use cases
- improve rag retrieval over long documents
- answer questions that require multi-step reasoning across a whole document
- build recursive hierarchical summaries of text for retrieval
- implement tree-organized retrieval in python
- get document-level context instead of short contiguous chunks
- question answering on benchmarks like QuALITY with GPT-4
When to choose
- You need retrieval that captures holistic document context rather than isolated chunks
- You are doing long-document or multi-hop question answering where standard RAG underperforms
- You want a programmable RAG layer where you can swap in custom summarization, embedding, or QA models
When to avoid
- You need a production RAG platform with ingestion pipelines, connectors, and UIs out of the box
- Your corpus is small or short documents where plain chunk retrieval already suffices and tree-building LLM costs are not justified
- You want a no-code turnkey search product rather than a library to integrate into your code
Facets
library · maturity active
rag machine-learning nlp search-engine artificial-intelligence machine-learning large-language-models python retrieval-augmented-generation tree-structured-retrieval recursive-summarization hierarchical-clustering question-answering long-document-retrieval research-paper-implementation document-indexing natural-language-processing search
6 sources
- readme: https://github.com/parthsarthi03/raptor · fetched 2026-08-28 · 5aae6d8f3bb1
- homepage: https://arxiv.org/abs/2401.18059 · fetched 2026-08-29 · 986f3971f21f
- site_page: https://info.arxiv.org/about/donate.html · fetched 2026-08-29 · cca9c3a11c56
- site_page: https://info.arxiv.org/about/ourmembers.html · fetched 2026-08-29 · 47cbc55ff1de
- site_page: https://info.arxiv.org/about · fetched 2026-08-29 · a1f16f915a9a
- site_page: https://info.arxiv.org/labs/index.html · fetched 2026-08-29 · b14a8d05a0ec
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| parthsarthi03/raptor | main | 25 |
For agents
markdown · JSON · MCP: product_card(name="parthsarthi03/raptor")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem