Class ChunkDocumentResponse
java.lang.Object
ai.docling.serve.api.response.ProcessedDocumentResponse
ai.docling.serve.api.chunk.response.ChunkDocumentResponse
Response returned by the Chunk API for a single conversion request.
Serialization uses JsonInclude.Include.NON_EMPTY, so nulls and empty
collections/strings are omitted from JSON output.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for creatingChunkDocumentResponseinstances. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull ChunkDocumentResponse.Builderbuilder()List of document chunks.List of converted documents (if include_converted_doc was true).Total processing time in seconds.@NonNull ChunkDocumentResponse.Builder@NonNull StringtoString()
-
Method Details
-
builder
-
toBuilder
-
getChunks
List of document chunks.- Returns:
- the list of chunks
-
getDocuments
List of converted documents (if include_converted_doc was true).- Returns:
- the list of converted documents
-
getProcessingTime
Total processing time in seconds.- Returns:
- the processing time in seconds
-
toString
-