Skip to content

Docling Core#

docling-core version

The docling-core module provides the core data types used by Docling for document representation. It defines the DoclingDocument model, which captures the structure and content of documents across various formats, along with utilities for working with these types.

The base Java version is 17. This module has no external dependencies, making it lightweight and easy to integrate into your projects. It represents the foundational building block for the other Docling Java modules.

When to use this module#

You typically won't need to use this module directly, as it is consumed by higher-level modules like docling-serve-api and docling-serve-client.

Installation#

Add the dependency to your project.

dependencies {
  implementation("ai.docling:docling-core:0.3.1")
}
<dependency>
  <groupId>ai.docling</groupId>
  <artifactId>docling-core</artifactId>
  <version>0.3.1</version>
</dependency>

Core concepts#

The DoclingDocument class is the primary representation of a document in Docling. It can be retrieved as the result of a document conversion process against a Docling Serve backend via the docling-serve-api or docling-serve-client modules.

To learn more about the DoclingDocument model and related types, refer to the Docling documentation: Docling Document.