extract_markdown_advanced
Extract markdown from PDFs and images via advanced OCR, with options for page selection, table format, and model choice.
Instructions
Extract markdown with advanced OCR options.
Args: file_path: Absolute path to the input file (PDF or image) pages: Specific page numbers to process (1-indexed, e.g. [1, 3, 5]) table_format_: Output format for tables ("markdown" or "html") model: OCR model to use (default: "mistral-ocr-latest")
Returns: Extracted markdown content as a string
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | mistral-ocr-latest | |
| pages | No | ||
| file_path | Yes | ||
| table_format_ | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |