← All projects
Project record1 mention
Originally shared on Hacker News

RAG Boilerplate

Open-source RAG (retrieval-augmented generation) boilerplate with extensive system-design documentation, intended mostly for educational purposes. It includes propositional, semantic, and recursive overlap chunking; hybrid search on Qdrant (BM25 + dense) with optional LLM reranking; E5 embeddings as the default vector model; a query-enhancer agent built with CrewAI; a Celery-based document ingestion flow; session handling and restoration using Redis (hot) and MongoDB (cold); and a FastAPI backend with a small Gradio UI to test retrieval and chat with the data. Stack: FastAPI, Qdrant, Redis, MongoDB, Celery, CrewAI, Gradio, HuggingFace models, OpenAI.

Last shared For Mostly for educational purposes
01 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. RAG Boilerplate

    Open-source RAG (retrieval-augmented generation) boilerplate with extensive system-design documentation, intended mostly for educational purposes. It includes propositional, semantic, and recursive overlap chunking; hybrid search on Qdrant (BM25 + dense) with optional LLM reranking; E5 embeddings as the default vector model; a query-enhancer agent built with CrewAI; a Celery-based document ingestion flow; session handling and restoration using Redis (hot) and MongoDB (cold); and a FastAPI backend with a small Gradio UI to test retrieval and chat with the data. Stack: FastAPI, Qdrant, Redis, MongoDB, Celery, CrewAI, Gradio, HuggingFace models, OpenAI.

    Audience: Mostly for educational purposes

    Posted by @mburaksayici · Original source ↗

    Source text · @mburaksayici · · Source ↗

    A RAG Boilerplate with Extensive Documentation I open-sourced the RAG boilerplate I’ve been using for my own experiments with extensive docs on system design.