The problem
How it works
You start RAGFlow with Docker Compose, then add a chat model, an embedding model and a reranker in the web UI. Documents such as Word, PowerPoint, Excel, PDFs, scans and web pages are parsed with deep document understanding and template-based chunking. Answers include references to the source chunks, and agentic retrieval offers several thinking modes for harder questions.
Results and limitations
The maintainers claim the visible chunks and traceable citations make answers easier to check and reduce hallucinations.
Before you try it
The suggested starting point is 4 CPU cores, 16 GB RAM and 50 GB disk, with Docker 24+; Elasticsearch needs a kernel setting change. Model providers you configure may charge per call. Results depend on your setup and were not independently reproduced by Top 200 Repos.
Tools and repositories
- Tools
- Docker 24+ · Docker Compose v2.26+
- Prerequisites
- A host with roughly 16 GB RAM and API keys or local endpoints for chat, embedding and reranker models.
Try it yourself: Plan a RAGFlow knowledge base
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Help me set up a RAGFlow knowledge base for [Use case] using the documents in [Document location]. First check this host meets the documented CPU, RAM, disk and Docker requirements and tell me what is missing. Recommend a chunking template for each document type ([Document types]) and explain why. Propose a chat, embedding and reranker model, using [Model preference], and wait for my approval before entering any keys or uploading files. After ingestion, write ten test questions with expected source documents, run them, and report which answers cited the right chunks.Keep sensitive documents on a private instance and spot-check citations before trusting answers.
Related videos
About infiniflow/ragflow
RAGFlow: Build a Superior Context Layer for Your AI Agents (opens in a new tab)
The description links the GitHub repository.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- infiniflow/ragflow README (opens in a new tab)
Project documentation · github.com · Undated · Source checked 9 Nov 2026, 22:23 UTC
What this source supports
- Deep document understanding and template-based chunking
- Grounded citations with viewable source chunks
- Agentic retrieval with selectable thinking modes
- Docker Compose start; 4 cores, 16 GB RAM, 50 GB disk suggested
- Configure chat, embedding and reranker models in the UI
