Skip to content

API Reference parrot_loaders.doc_converter

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot_loaders.doc_converter

View source

DocumentConverterLoader - Load documents via Docling into Document objects.

Class DocumentConverterLoader

Load PDF, DOCX, and PPTX files using Docling and return Document objects.

Converts documents to markdown internally, then builds Document objects using the same helpers as :class:AbstractLoader.

Supports local paths and URLs — Docling handles both natively.

Parameter Type Default Description
source Optional[Union[str, Path, List[Union[str, Path]]]] None
tokenizer Union[str, Callable] None
text_splitter Union[str, Callable] None
source_type str 'file'
do_ocr bool False
use_tesseract bool False
do_table_structure bool True
do_cell_matching bool True
max_num_pages int 100
max_file_size int 20971520
artifacts_path Optional[str] None
use_sections bool False
min_section_length int 50
**kwargs {}

Attributes:

Attribute Type Description
extensions List[str]

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally