# RAGFlow Document Parsing: Fix the Evidence Before the Prompt

> Inspect RAGFlow’s parsed chunks, reading order, and table associations before asking a model to answer questions about complex PDFs.

Canonical article: https://modelrovia.com/guides/ragflow-document-parsing/
Author: Modelrovia Editorial
Published: 2026-11-01
Updated: 2026-11-01

If a RAGFlow answer cites the wrong table cell, a stronger writing prompt may not solve the problem. **Inspect the parsed document and retrieved chunks before changing the language model.** Retrieval can only pass along evidence that survived ingestion.

We checked the official quickstart and versioned dataset documentation on November 1, 2026. This is a debugging procedure, not a report of an installed RAGFlow instance or a parser-accuracy benchmark. Match documentation to your installed release; the development docs can describe features beyond a stable deployment.

## Use a document with inspectable traps

Prepare a short, non-sensitive PDF you own. Include a two-column page, a table with a footnote, and a heading that continues onto the next page. Write down a few answers directly from the original PDF before importing it.

A useful fictional table is:

| Plan | Seats | Monthly export allowance |
| --- | --- | --- |
| Studio | 3 | 40 |
| Team | 8 | 120 |

Add a footnote stating that unused exports do not roll over. These are invented test values, not any product's pricing. They let you check row association, numerical extraction, and whether the footnote stays connected to its rule.

## Establish ingestion success separately

Once the RAGFlow server and model providers are configured, create a dataset, upload the PDF, and start parsing using the options available in your release. Check progress and logs. “Uploaded” and “parsed” are different states.

RAGFlow documents parser and chunking choices, including DeepDOC and other options in supported configurations. Select a document-appropriate path rather than assuming one setting is best for every file. Avoid changing parser, chunk settings, embedding model, and answering model all at once.

## Inspect the chunks directly

Look for three kinds of loss:

1. **Reading order:** Did the first column join the second halfway through a sentence?
2. **Association:** Is “120” still tied to Team and monthly exports?
3. **Context:** Does the rollover footnote appear with enough surrounding information to interpret it?

If the text layer itself is wrong, re-export or preprocess the source when possible. For scans, check resolution and OCR suitability. A clean-looking page image does not establish that its extracted text is correct.

## Ask questions that separate retrieval from generation

Ask “How many seats does Studio include?” and inspect the retrieved evidence. Then ask “Can Team carry unused exports into next month?” Finally ask “What is the annual discount?”—which the sample does not specify.

A correct passage with a wrong answer points toward generation or instruction handling. A missing passage points toward parsing, indexing, or retrieval. An invented annual discount should fail the test, even if other answers are correct.

Save the question, retrieved chunk, source page, and answer together. That record makes a later change explainable instead of relying on memory that the chatbot “felt better.”

## Reparse deliberately

When changing a parser or chunk setting, verify whether your release requires reprocessing existing documents. Re-run the same fixture after that operation completes. Do not compare a newly indexed document with an old answer generated from a previous index.

For choosing between an application builder and a document-centered retrieval starting point, see [Dify versus RAGFlow](/compare/dify-vs-ragflow/). For extracting a PDF into an inspectable intermediate file first, see [MinerU to Markdown](/guides/mineru-pdf-to-markdown/).

## Keep the configuration and documentation on one release

For the dataset options discussed here, use the [v1.0.0-rc3 quickstart](https://ragflow.io/docs/v1.0.0-rc3/) together with its [dataset configuration](https://ragflow.io/docs/v1.0.0-rc3/dataset_configuration). This is a release-specific documentation example, not a recommendation to choose a release candidate for production.

Write down the server tag, selected parser, chunk method, embedding model, and answering model before importing the fixture. Start with the documented General/DeepDOC path only if it exists in that release and fits your PDF. Export or transcribe those exact settings from your own run. After a parser change, reparse the same source and compare the same questions; do not compare fresh output with stale chunks from the earlier index. No actual parser result is supplied here.

## Sources & references

- [RAGFlow official quickstart](https://ragflow.io/docs)
- [RAGFlow dataset configuration](https://ragflow.io/docs/v1.0.0-rc3/dataset_configuration)
- [RAGFlow v1.0.0-rc3 quickstart](https://ragflow.io/docs/v1.0.0-rc3/)

[Editorial standards](https://modelrovia.com/methodology/)
