Package ai.extend.types
Class ParseConfigBlockOptionsTables.Builder
- java.lang.Object
-
- ai.extend.types.ParseConfigBlockOptionsTables.Builder
-
- Enclosing class:
- ParseConfigBlockOptionsTables
public static final class ParseConfigBlockOptionsTables.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParseConfigBlockOptionsTables.Builderagentic(ParseConfigBlockOptionsTablesAgentic agentic)ParseConfigBlockOptionsTables.Builderagentic(java.util.Optional<ParseConfigBlockOptionsTablesAgentic> agentic)Options for agentic table processing using VLM-based review and correction.ParseConfigBlockOptionsTablesbuild()ParseConfigBlockOptionsTables.BuildercellBlocksEnabled(java.lang.Boolean cellBlocksEnabled)ParseConfigBlockOptionsTables.BuildercellBlocksEnabled(java.util.Optional<java.lang.Boolean> cellBlocksEnabled)Whether to include individual table cell blocks in the output.ParseConfigBlockOptionsTables.Builderenabled(java.lang.Boolean enabled)ParseConfigBlockOptionsTables.Builderenabled(java.util.Optional<java.lang.Boolean> enabled)This option is deprecated and will have no effect.ParseConfigBlockOptionsTables.Builderfrom(ParseConfigBlockOptionsTables other)ParseConfigBlockOptionsTables.BuildertableHeaderContinuationEnabled(java.lang.Boolean tableHeaderContinuationEnabled)ParseConfigBlockOptionsTables.BuildertableHeaderContinuationEnabled(java.util.Optional<java.lang.Boolean> tableHeaderContinuationEnabled)Whether to automatically copy table headers to headerless tables on subsequent pages when they have matching column counts.ParseConfigBlockOptionsTables.BuildertargetFormat(ParseConfigBlockOptionsTablesTargetFormat targetFormat)ParseConfigBlockOptionsTables.BuildertargetFormat(java.util.Optional<ParseConfigBlockOptionsTablesTargetFormat> targetFormat)The target format for the table blocks.
-
-
-
Method Detail
-
from
public ParseConfigBlockOptionsTables.Builder from(ParseConfigBlockOptionsTables other)
-
enabled
public ParseConfigBlockOptionsTables.Builder enabled(java.util.Optional<java.lang.Boolean> enabled)
This option is deprecated and will have no effect. It will be removed in the next API version.
-
enabled
public ParseConfigBlockOptionsTables.Builder enabled(java.lang.Boolean enabled)
-
targetFormat
public ParseConfigBlockOptionsTables.Builder targetFormat(java.util.Optional<ParseConfigBlockOptionsTablesTargetFormat> targetFormat)
The target format for the table blocks. Supported values:
markdown: Convert table to Markdown formathtml: Convert table to HTML format
-
targetFormat
public ParseConfigBlockOptionsTables.Builder targetFormat(ParseConfigBlockOptionsTablesTargetFormat targetFormat)
-
tableHeaderContinuationEnabled
public ParseConfigBlockOptionsTables.Builder tableHeaderContinuationEnabled(java.util.Optional<java.lang.Boolean> tableHeaderContinuationEnabled)
Whether to automatically copy table headers to headerless tables on subsequent pages when they have matching column counts. Useful for multi-page tables.
-
tableHeaderContinuationEnabled
public ParseConfigBlockOptionsTables.Builder tableHeaderContinuationEnabled(java.lang.Boolean tableHeaderContinuationEnabled)
-
cellBlocksEnabled
public ParseConfigBlockOptionsTables.Builder cellBlocksEnabled(java.util.Optional<java.lang.Boolean> cellBlocksEnabled)
Whether to include individual table cell blocks in the output. When enabled, each cell in a table will be represented as a separate block with its own bounding box and content and will be
childrenof the table block.
-
cellBlocksEnabled
public ParseConfigBlockOptionsTables.Builder cellBlocksEnabled(java.lang.Boolean cellBlocksEnabled)
-
agentic
public ParseConfigBlockOptionsTables.Builder agentic(java.util.Optional<ParseConfigBlockOptionsTablesAgentic> agentic)
Options for agentic table processing using VLM-based review and correction. Enabling this incurs additional credits on pages where agentic table correction is triggered.
-
agentic
public ParseConfigBlockOptionsTables.Builder agentic(ParseConfigBlockOptionsTablesAgentic agentic)
-
build
public ParseConfigBlockOptionsTables build()
-
-