Class ConvertDocumentOptions.Builder
java.lang.Object
ai.docling.serve.api.convert.request.options.ConvertDocumentOptions.Builder
- Enclosing class:
- ConvertDocumentOptions
-
Method Summary
Modifier and TypeMethodDescriptionabortOnError(@Nullable Boolean abortOnError) build()doCodeEnrichment(@Nullable Boolean doCodeEnrichment) documentTimeout(@Nullable Duration documentTimeout) doFormulaEnrichment(@Nullable Boolean doFormulaEnrichment) doPictureClassification(@Nullable Boolean doPictureClassification) doPictureDescription(@Nullable Boolean doPictureDescription) doTableStructure(@Nullable Boolean doTableStructure) fromFormat(InputFormat fromFormat) fromFormats(Collection<? extends InputFormat> fromFormats) imageExportMode(@Nullable ImageRefMode imageExportMode) imagesScale(@Nullable Double imagesScale) includeImages(@Nullable Boolean includeImages) mdPageBreakPlaceholder(@Nullable String mdPageBreakPlaceholder) ocrLang(Collection<? extends String> ocrLang) pageRange(Collection<? extends Integer> pageRange) pdfBackend(@Nullable PdfBackend pdfBackend) pictureDescriptionApi(@Nullable PictureDescriptionApi pictureDescriptionApi) pictureDescriptionAreaThreshold(@Nullable Double pictureDescriptionAreaThreshold) pictureDescriptionLocal(@Nullable PictureDescriptionLocal pictureDescriptionLocal) pipeline(@Nullable ProcessingPipeline pipeline) tableCellMatching(@Nullable Boolean tableCellMatching) tableMode(@Nullable TableFormerMode tableMode) toFormat(OutputFormat toFormat) toFormats(Collection<? extends OutputFormat> toFormats) toString()vlmPipelineModel(@Nullable VlmModelType vlmPipelineModel) vlmPipelineModelApi(@Nullable String vlmPipelineModelApi) vlmPipelineModelLocal(@Nullable String vlmPipelineModelLocal)
-
Method Details
-
fromFormat
-
fromFormats
-
clearFromFormats
-
toFormat
-
toFormats
-
clearToFormats
-
imageExportMode
- Returns:
this.
-
doOcr
- Returns:
this.
-
forceOcr
- Returns:
this.
-
ocrEngine
- Returns:
this.
-
ocrLang
-
ocrLang
-
clearOcrLang
-
pdfBackend
- Returns:
this.
-
tableMode
- Returns:
this.
-
tableCellMatching
- Returns:
this.
-
pipeline
- Returns:
this.
-
pageRange
-
pageRange
-
clearPageRange
-
documentTimeout
- Returns:
this.
-
abortOnError
- Returns:
this.
-
doTableStructure
- Returns:
this.
-
includeImages
- Returns:
this.
-
imagesScale
- Returns:
this.
-
mdPageBreakPlaceholder
public ConvertDocumentOptions.Builder mdPageBreakPlaceholder(@Nullable String mdPageBreakPlaceholder) - Returns:
this.
-
doCodeEnrichment
- Returns:
this.
-
doFormulaEnrichment
- Returns:
this.
-
doPictureClassification
public ConvertDocumentOptions.Builder doPictureClassification(@Nullable Boolean doPictureClassification) - Returns:
this.
-
doPictureDescription
- Returns:
this.
-
pictureDescriptionAreaThreshold
public ConvertDocumentOptions.Builder pictureDescriptionAreaThreshold(@Nullable Double pictureDescriptionAreaThreshold) - Returns:
this.
-
pictureDescriptionLocal
public ConvertDocumentOptions.Builder pictureDescriptionLocal(@Nullable PictureDescriptionLocal pictureDescriptionLocal) - Returns:
this.
-
pictureDescriptionApi
public ConvertDocumentOptions.Builder pictureDescriptionApi(@Nullable PictureDescriptionApi pictureDescriptionApi) - Returns:
this.
-
vlmPipelineModel
- Returns:
this.
-
vlmPipelineModelLocal
- Returns:
this.
-
vlmPipelineModelApi
- Returns:
this.
-
build
-
toString
-