Class ConvertDocumentOptions

java.lang.Object
ai.docling.serve.api.convert.request.options.ConvertDocumentOptions

public class ConvertDocumentOptions extends Object
Options for configuring the document conversion process with Docling.
  • Method Details

    • builder

      public static ConvertDocumentOptions.Builder builder()
    • toBuilder

      public ConvertDocumentOptions.Builder toBuilder()
    • getFromFormats

      public List<InputFormat> getFromFormats()
    • getToFormats

      public List<OutputFormat> getToFormats()
    • getImageExportMode

      public @Nullable ImageRefMode getImageExportMode()
    • getDoOcr

      public @Nullable Boolean getDoOcr()
    • getForceOcr

      public @Nullable Boolean getForceOcr()
    • getOcrEngine

      public @Nullable OcrEngine getOcrEngine()
    • getOcrLang

      public List<String> getOcrLang()
    • getPdfBackend

      public @Nullable PdfBackend getPdfBackend()
    • getTableMode

      public @Nullable TableFormerMode getTableMode()
    • getTableCellMatching

      public @Nullable Boolean getTableCellMatching()
    • getPipeline

      public @Nullable ProcessingPipeline getPipeline()
    • getPageRange

      public List<Integer> getPageRange()
    • getDocumentTimeout

      public @Nullable Duration getDocumentTimeout()
    • getAbortOnError

      public @Nullable Boolean getAbortOnError()
    • getDoTableStructure

      public @Nullable Boolean getDoTableStructure()
    • getIncludeImages

      public @Nullable Boolean getIncludeImages()
    • getImagesScale

      public @Nullable Double getImagesScale()
    • getMdPageBreakPlaceholder

      public @Nullable String getMdPageBreakPlaceholder()
    • getDoCodeEnrichment

      public @Nullable Boolean getDoCodeEnrichment()
    • getDoFormulaEnrichment

      public @Nullable Boolean getDoFormulaEnrichment()
    • getDoPictureClassification

      public @Nullable Boolean getDoPictureClassification()
    • getDoPictureDescription

      public @Nullable Boolean getDoPictureDescription()
    • getPictureDescriptionAreaThreshold

      public @Nullable Double getPictureDescriptionAreaThreshold()
    • getPictureDescriptionLocal

      public @Nullable PictureDescriptionLocal getPictureDescriptionLocal()
    • getPictureDescriptionApi

      public @Nullable PictureDescriptionApi getPictureDescriptionApi()
    • getVlmPipelineModel

      public @Nullable VlmModelType getVlmPipelineModel()
    • getVlmPipelineModelLocal

      public @Nullable String getVlmPipelineModelLocal()
    • getVlmPipelineModelApi

      public @Nullable String getVlmPipelineModelApi()
    • toString

      public String toString()
      Overrides:
      toString in class Object