docling-java icon indicating copy to clipboard operation
docling-java copied to clipboard

A Java API for Docling

Results docling-java issues
Sort by recently updated
recently updated
newest added

Serve keeps `"text": ""` on formula items (`do_formula_enrichment=false`). The Java `DoclingDocument` still has text as `""`, but serialization drops it: ```java DoclingDocument doc = response.getDocument().getJsonContent(); // doc still has text...

released

#696 replaced the `DoclingServeApiBuilderFactory` SPI with `DoclingServeApiProvider` and deprecated the old types for removal in 0.7.0, keeping a fallback so existing implementations keep working. This issue tracks removing them. ##...

module:docling-serve-api
module:docling-serve-client
area:docling-serve

## Summary `docling-serve-api` / `docling-core` models use Jackson via Lombok `@Jacksonized` builders, `@JsonProperty` on enums, polymorphic types, and custom deserializers (e.g. `Jackson3ConvertDocumentResponseDeserializer`). On the JVM this works. Under GraalVM Native...

released

Looking at the `ChunkDocumentRequest` vs `BatchConvertDocumentRequest` vs `ConvertDocumentRequest` object hierarchies - they all have very similar structures. They all have ```java @JsonProperty("sources") @JsonSetter(nulls = Nulls.AS_EMPTY) @lombok.Singular private List sources; /**...

enhancement

DoclingDocument in Java deserializes from JSON, but there is no local export API (`export_to_markdown()` / `text`) like in Python. We persist Docling JSON as canonical artifact and need text/md in...

docling-serve `v1.22.0` introduced a `/v1/convert/source/batch` endpoint. https://developer.dcls.saas.ibm.com/api/convert-batch/ describes the endpoint. https://developer.dcls.saas.ibm.com/examples/batch/ describes how to use it. Here is the full OpenAPI document - the api endpoint is in there: [api-1.yaml](https://github.com/user-attachments/files/28962329/api-1.yaml)

docling-serve `v1.22.0` introduced a `PresignedUrlConvertResponse` response format. Here is the full OpenAPI document - the response format is in there: [api-1.yaml](https://github.com/user-attachments/files/28962329/api-1.yaml)

The [documentation](https://docling-project.github.io/docling/examples/hybrid_chunking/#basic-usage) explains how to configure and use OpenAI Tokenizer with hybrid chunker in python. ``` import tiktoken from docling_core.transforms.chunker.tokenizer.openai import OpenAITokenizer tokenizer = OpenAITokenizer( tokenizer=tiktoken.encoding_for_model("gpt-4o"), max_tokens=128 * 1024, #...

See https://github.com/docling-project/docling-serve/issues/493 Whatever the outcome of that is will affect what we do here.

released

Publish a maven bill of materials when performing a release.

automation
released
devops