Class ChunkDocumentResponse.Builder

java.lang.Object
ai.docling.serve.api.chunk.response.ChunkDocumentResponse.Builder
Enclosing class:
ChunkDocumentResponse

public static class ChunkDocumentResponse.Builder extends Object
Builder for creating ChunkDocumentResponse instances. Generated by Lombok's @Builder annotation.

Builder methods:

  • chunk(Chunk) - Add a single chunk (use with @Singular)
  • chunks(List<Chunk>) - Set the list of chunks
  • document(Document) - Add a single document (use with @Singular)
  • documents(List<Document>) - Set the list of converted documents
  • processingTime(Double) - Set the processing time in seconds