{
 "schema_version": 1,
 "generated": "2026-10-31",
 "id": "infiniflow-ragflow--check-and-fix-how-your-documents-are-chunked",
 "repo": "infiniflow/ragflow",
 "repo_url": "https://github.com/infiniflow/ragflow",
 "repo_slug": "infiniflow-ragflow",
 "title": "See and fix how your documents are chunked",
 "page_title": "How to see and fix how your documents are chunked with Ragflow",
 "summary": "Use RAGFlow's chunk visualization and templates so retrieval finds the right passages.",
 "who": "Someone whose RAG answers keep missing facts that are clearly in the source PDF.",
 "problem": "Most RAG tools chunk blindly, so a table or clause gets split and the right passage never comes back.",
 "outcome": "Documents chunked with a template that fits them, with chunks you have inspected and corrected by hand.",
 "steps": [
  "Deploy RAGFlow with Docker as in the README and sign in",
  "Upload a document and pick a chunking template that fits its type",
  "Open the chunk visualization and review where the text was split",
  "Adjust chunks by hand where needed; the README calls this human intervention",
  "Ask a question and click through the traceable citations to confirm the right chunk was used"
 ],
 "agent_prompt": "In my infiniflow/ragflow instance, upload <document>, try two chunking templates, and compare how each splits <section>. Recommend the template that keeps <section> intact and explain why.",
 "agents": [
  "any"
 ],
 "difficulty": "Beginner",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "Template choice is a judgement call per document type; the README lists the feature but not which template suits which file.",
 "category": "Research",
 "tags": [
  "Research"
 ],
 "lang": "go",
 "requirements": [
  "Docker 24.0.0 or later and Docker Compose v2.26.1 or later",
  "A starting machine of 4 CPU cores, 16 GB RAM and 50 GB free disk",
  "An LLM, an embedding model and a reranker, added with their service address and API key after sign-in",
  "If you use Elasticsearch, vm.max_map_count set to at least 262144"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/infiniflow-ragflow/check-and-fix-how-your-documents-are-chunked/",
 "md": "https://dedupedai.com/use-cases/infiniflow-ragflow/check-and-fix-how-your-documents-are-chunked/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/infiniflow-ragflow--check-and-fix-how-your-documents-are-chunked.json",
 "api_version": "v1"
}
