Files
ragflow/docs/guides/agent/ingestion_pipeline/configure_parser_component.md
YanZhang 1097cc9c84 docs: add compilation docs & fix some issues (#18268)
add chat channel images
add compilation docs
fixed incorrect section organization of agent docs 
fixed duplicate text issues.
2026-08-14 15:46:30 +08:00

1.7 KiB

sidebar_position, title, sidebar_label, slug, sidebar_custom_props
sidebar_position title sidebar_label slug sidebar_custom_props
3 Configure the Parser Component Configure the Parser Component /configure_parser_component
categoryIcon
RagAiAgent

Configure the Parser Component

The Parser component converts your files into structured text while preserving layout, tables, headers and other formatting.

It supports 8 file categories and more than 23 formats, including PDF, images, audio, video, email, spreadsheets (Excel), Word, PPT, HTML and Markdown.

Select parser file format

Key configurations:

For PDF files, select one of the following:

  • DeepDoc (default): RAGFlow's built-in model. Best suited for scanned documents or complex layouts with tables.
  • MinerU: Industry-leading for complex elements such as mathematical formulas and complex layouts.
  • Naive: Simple text extraction. Use it for clean, text-based PDFs without complex elements.

Configure PDF parser method

For image files:

  • OCR is used by default.
  • You can also configure a vision language model (VLM) for advanced visual understanding.

For email files:

  • Select specific fields to parse, such as subject and body, for precise extraction.

For spreadsheets:

  • Output in HTML format, preserving row and column structure.

For Word/PPT:

  • Output in JSON format, preserving document hierarchy, such as headings, paragraphs and slides.

For text and markup (HTML/MD):

  • Formatting tags are automatically removed and clean text is output.