Back to directory

DeepBlue Brain

A white-box, self-hosted platform for learning and inspecting retrieval-augmented generation, showing the whole pipeline: document ingestion, chunking, embedding, vector and BM25 retrieval, prompt assembly and citation tracing, backed by its own benchmark data.

DeepBlue Brain

DeepBlue Brain is a research and teaching platform for retrieval-augmented generation (RAG) that exposes each stage of the pipeline instead of only showing a final answer. As a question comes in, a live panel streams retrieval events over server-sent events: how the question was rewritten, whether retrieval used vector search, BM25 or a hybrid of both, which documents matched and with what scores, and when generation starts; document uploads stream through parsing, chunking, embedding and indexing the same way.

A prompt inspector shows the exact prompt sent to the model, including the rewritten question, retrieved passages, citation instructions and conversation history, and cited answers link back to the original source chunk. Retrieval choices, such as whether to combine BM25 with vector search, are backed by the project's own benchmark measurements on a public Chinese dataset, including negative results, rather than by claims alone. It accepts Markdown, TXT, PDF and DOCX uploads.

The frontend is Vue 3, TypeScript and Tailwind CSS; the backend is FastAPI with ChromaDB, sentence-transformers, rank-bm25 and jieba, deployed with Docker Compose.

More in RAG

See all 540
  • ai·rete·rag

    ai-rete-rag.com

    A platform that pairs a Rete rule engine with retrieval-augmented generation, so deterministic rules decide an outcome and grounded retrieval explains the decision in plain language.

  • Xtriever

    github.com

    A hybrid retrieval engine for retrieval-augmented generation, written in Rust to run on-device on a phone or a laptop, combining lexical BM25 search, dense embedding search, reciprocal-rank fusion and cross-encoder re-ranking with no server.

  • FileFlux

    github.com

    A .NET library that turns PDF, DOCX, HWP and other documents into optimized chunks for RAG systems, through a five-stage pipeline built on high-performance Rust FFI readers.