> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify-poc.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# parsing_docling

> Parse documents using Docling for robust text extraction from complex documents

Parse the data provided by the loader using [Docling][docling].

Docling is a more robust and thorough document parsing library that:

* Uses OCR capabilities to extract text from images
* Can parse complex documents with tables and multi-column layouts
* Supports Office formats (DOCX, XLSX, etc.)
* Preserves document structure better than other parsers
* Converts documents to markdown format

Note that docling uses ML models for improved parsing, which makes it slower than simpler parsers like pymupdf.

## Samples

```sql theme={"dark"}
SELECT ai.create_vectorizer(
    'my_table'::regclass,
    parsing => ai.parsing_docling(),
    -- other parameters...
);
```

## Arguments

This function takes no arguments.

## Returns

A JSON configuration object that you can use in `ai.create_vectorizer`.

[docling]: https://docling-project.github.io/docling/
