mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-02 22:07:31 +08:00
### Summary modify docs display add some images delete enterprise docs standardize capitalization
1.7 KiB
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 |
|
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.
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.
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
subjectandbody, 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.

