#167 · Primary category: Knowledge Base & RAG
rag-demystified
An LLM-powered advanced RAG pipeline built from scratch
Project last updated:01/26/24
GitHub Stars
859
Forks
57
Contributors
4
License
Apache-2.0
Why we included this project
Anyone who has leaned on LlamaIndex or Haystack and wondered what really happens between their query and the final answer will get a lot out of this project. It reimplements the advanced machinery of retrieval-augmented generation in plain Python on top of EvaDB, with a runnable example that answers complex questions over a set of Wikipedia articles about cities. The author's central point is that much of that machinery, from deciding which sub-questions to ask and which data source each should target to choosing between vector and summary retrieval, reduces to carefully designed LLM prompt templates rather than hidden framework magic. Along the way the repo covers the trade-offs and failure points of advanced RAG, exactly the transparency developers want before they trust a framework's abstractions in production. It is a concise, runnable reference for teams evaluating RAG tooling or anyone teaching themselves how sub-question query engines work.
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