Package ai.extend.types
Class ParseConfigBlockOptionsFigures.Builder
- java.lang.Object
-
- ai.extend.types.ParseConfigBlockOptionsFigures.Builder
-
- Enclosing class:
- ParseConfigBlockOptionsFigures
public static final class ParseConfigBlockOptionsFigures.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParseConfigBlockOptionsFigures.BuilderadvancedChartExtractionEnabled(java.lang.Boolean advancedChartExtractionEnabled)ParseConfigBlockOptionsFigures.BuilderadvancedChartExtractionEnabled(java.util.Optional<java.lang.Boolean> advancedChartExtractionEnabled)Whether to enable advanced chart extraction using vision models for improved data extraction from charts.ParseConfigBlockOptionsFiguresbuild()ParseConfigBlockOptionsFigures.BuildercustomInstructions(java.lang.String customInstructions)ParseConfigBlockOptionsFigures.BuildercustomInstructions(java.util.Optional<java.lang.String> customInstructions)Custom instructions injected into the vision model prompt used to analyze and summarize figures.ParseConfigBlockOptionsFigures.Builderenabled(java.lang.Boolean enabled)ParseConfigBlockOptionsFigures.Builderenabled(java.util.Optional<java.lang.Boolean> enabled)Whether to include figures in the output.ParseConfigBlockOptionsFigures.BuilderfigureImageClippingEnabled(java.lang.Boolean figureImageClippingEnabled)ParseConfigBlockOptionsFigures.BuilderfigureImageClippingEnabled(java.util.Optional<java.lang.Boolean> figureImageClippingEnabled)Whether to clip and extract images from figures.ParseConfigBlockOptionsFigures.Builderfrom(ParseConfigBlockOptionsFigures other)
-
-
-
Method Detail
-
from
public ParseConfigBlockOptionsFigures.Builder from(ParseConfigBlockOptionsFigures other)
-
enabled
public ParseConfigBlockOptionsFigures.Builder enabled(java.util.Optional<java.lang.Boolean> enabled)
Whether to include figures in the output.
-
enabled
public ParseConfigBlockOptionsFigures.Builder enabled(java.lang.Boolean enabled)
-
figureImageClippingEnabled
public ParseConfigBlockOptionsFigures.Builder figureImageClippingEnabled(java.util.Optional<java.lang.Boolean> figureImageClippingEnabled)
Whether to clip and extract images from figures.
-
figureImageClippingEnabled
public ParseConfigBlockOptionsFigures.Builder figureImageClippingEnabled(java.lang.Boolean figureImageClippingEnabled)
-
advancedChartExtractionEnabled
public ParseConfigBlockOptionsFigures.Builder advancedChartExtractionEnabled(java.util.Optional<java.lang.Boolean> advancedChartExtractionEnabled)
Whether to enable advanced chart extraction using vision models for improved data extraction from charts.
-
advancedChartExtractionEnabled
public ParseConfigBlockOptionsFigures.Builder advancedChartExtractionEnabled(java.lang.Boolean advancedChartExtractionEnabled)
-
customInstructions
public ParseConfigBlockOptionsFigures.Builder customInstructions(java.util.Optional<java.lang.String> customInstructions)
Custom instructions injected into the vision model prompt used to analyze and summarize figures. Use to steer figure descriptions toward your use case (e.g. domain terminology, details to always capture). Requires
enabled: true. Available onparse_performance>=2.0.0andparse_light>=1.0.0.
-
customInstructions
public ParseConfigBlockOptionsFigures.Builder customInstructions(java.lang.String customInstructions)
-
build
public ParseConfigBlockOptionsFigures build()
-
-