> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ag2.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# autogen.agents.experimental.document_agent.docling_parse_docs

<code class="doc-symbol doc-symbol-heading doc-symbol-function" />

#### docling\_parse\_docs

```python theme={null}
docling_parse_docs(
    input_file_path: Annotated[Path | str, 'Path to the input file or directory'],
    output_dir_path: Annotated[Path | str | None, 'Path to the output directory'] = None,
    output_formats: Annotated[list[str] | None, 'List of output formats (markdown, json)'] = None,
    table_output_format: str = 'html'
) -> list[Path]
```

Convert documents into a Deep Search document format using EasyOCR
with CPU only, and export the document and its tables to the specified
output directory.<br />Supported formats: <br />    PDF,
IMAGE,
DOCX,
HTML,
PPTX,
ASCIIDOC,
MD,

<b>Parameters:</b>

| Name                  | Description                                                                                                                                                                           |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `input_file_path`     | The path to the input file.<br /><br />**Type:** Annotated\[pathlib.Path \| str, 'Path to the input file or directory']                                                               |
| `output_dir_path`     | The path to the output directory.<br /><br />**Type:** Annotated\[pathlib.Path \| str \| None, 'Path to the output directory']<br /><br />**Default:** None                           |
| `output_formats`      | The output formats.<br /><br />Defaults to \["markdown"].<br /><br />**Type:** Annotated\[list\[str] \| None, 'List of output formats (markdown, json)']<br /><br />**Default:** None |
| `table_output_format` | The output format for tables.<br /><br />Defaults to "html".<br /><br />**Type:** str<br /><br />**Default:** 'html'                                                                  |

<b>Returns:</b>

| Type                | Description                                            |
| ------------------- | ------------------------------------------------------ |
| list\[pathlib.Path] | list\[ConversionResult]: The result of the conversion. |

<br />
