Code
Usage
Install dependencies
- macOS:
brew install ffmpeg - Ubuntu:
sudo apt-get install ffmpeg - Windows: Download from https://ffmpeg.org/download.html
Params
| Parameter | Type | Default | Description |
|---|---|---|---|
output_format | str | "markdown" | Export format ("markdown", "text", "json", "yaml", "html", "html_split_page", "doctags", "vtt") |
converter | Optional[DocumentConverter] | None | Custom Docling converter configuration |
format_options | Optional[dict] | None | Format options dictionary for DocumentConverter |
chunking_strategy | Optional[ChunkingStrategy] | DocumentChunking() | Strategy for chunking the document |