#147 · Primary category: Knowledge Base & RAG
raptor
The official implementation of RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrieval
Project last updated:09/03/24
GitHub Stars
1.8K
Forks
234
Contributors
4
License
MIT
Why we included this project
Plain vector search retrieves the most similar chunks and assumes the answer sits inside one of them, which falls apart when a response has to combine material scattered across a long document. RAPTOR builds a tree instead: it clusters the text, summarizes each cluster, and repeats that step upward, so the same content appears at progressively broader levels of abstraction. A query then reads from several levels at once, which is exactly what you want when no single passage holds the whole answer. The package is easy to get into, index your documents, ask a question, get an answer, and the interfaces let you swap in your own summarization and embedding models, with the question-answering step pluggable as well. Advanced configuration docs are still marked as work in progress, and it needs an OpenAI API key to run. If your RAG pipeline keeps missing questions that draw on several sections of a corpus, RAPTOR is a solid option to test, grounded in the original research paper.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
ragflow
RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs
Understand-Anything
Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
crawl4ai
🚀🤖 Crawl4AI: Open-source LLM Friendly Web Crawler & Scraper. Don't be shy, join here: https://discord.gg/jP8KfhDhyN
docling
Get your documents ready for gen AI
anything-llm
Stop renting your intelligence. Own it with AnythingLLM. Everything you need for a powerful local-first agent experience