VisionSettings

public final class VisionSettings

Settings for Vision. Values fall back through three levels: document → SDK → built-in default. Writes target the document only when set on a document's settings, otherwise the SDK globally when set on SdkSettings.

Functions

Link copied to clipboard
public final boolean getAccessibleImageDescriptions()
Indicates whether VLM image descriptions should be written as screen-reader alt text.
Link copied to clipboard
public final boolean getEnableFontRecognition()
Deprecated, and has no effect.
Link copied to clipboard
public final boolean getEnableLayoutReconstruction()
Indicates whether the ICR image pipeline should run VLM layout reconstruction, which rebuilds each page into faithful structure (tables, headings, ordered paragraphs) for high-fidelity editable-document export.
Link copied to clipboard
public final OcrActivationMode getEnableOcr()
Controls OCR resource loading and OCR-based word detection inside the ICR image pipeline.
Link copied to clipboard
public final boolean getEnableVlm()
Indicates whether the ICR image pipeline should run late VLM augmentation.
Link copied to clipboard
public final VisionEngine getEngine()
Specifies which vision processing engine/pipeline to use for content extraction.
Link copied to clipboard
Indicates whether the VLM's reading of a word is weighed against the OCR evidence recorded for the word, in text zones and tables alike.
Link copied to clipboard
public final VlmProvider getFallbackProvider()
Optional secondary provider used to transparently retry a request when the primary fails in a way a retry on the same model can't fix — a content-filtered or refused response, or a transient outage (unreachable endpoint, server error, rate limit).
Link copied to clipboard
public final VisionFeatures getFeatures()
Vision features to enable during document processing.
Link copied to clipboard
public final VisionOutputFormat getOutputFormat()
Format of content returned by .
Link copied to clipboard
public final int getPageParallelism()
The most pages content extraction processes at the same time.
Link copied to clipboard
public final VlmProvider getProvider()
The primary Vision Language Model provider to use for AI-powered features.
Link copied to clipboard
public final boolean getReconcileTableText()
Indicates whether the VLM also reads table zones, so that each cell's words take the VLM's reading where the two reads align closely (a misread digit, a lost separator or accent).
Link copied to clipboard
public final boolean getRecordGraphHistory()
Indicates whether a run keeps the history of its document graph: every change, with the step that made it, its reason and its source.
Link copied to clipboard
public final void setAccessibleImageDescriptions(boolean value)
Indicates whether VLM image descriptions should be written as screen-reader alt text.
Link copied to clipboard
public final void setEnableFontRecognition(boolean value)
Deprecated, and has no effect.
Link copied to clipboard
public final void setEnableLayoutReconstruction(boolean value)
Indicates whether the ICR image pipeline should run VLM layout reconstruction, which rebuilds each page into faithful structure (tables, headings, ordered paragraphs) for high-fidelity editable-document export.
Link copied to clipboard
public final void setEnableOcr(OcrActivationMode value)
Controls OCR resource loading and OCR-based word detection inside the ICR image pipeline.
Link copied to clipboard
public final void setEnableVlm(boolean value)
Indicates whether the ICR image pipeline should run late VLM augmentation.
Link copied to clipboard
public final void setEngine(VisionEngine value)
Specifies which vision processing engine/pipeline to use for content extraction.
Link copied to clipboard
public final void setExperimentalVlmEvidenceArbitration(boolean value)
Indicates whether the VLM's reading of a word is weighed against the OCR evidence recorded for the word, in text zones and tables alike.
Link copied to clipboard
public final void setFallbackProvider(VlmProvider value)
Optional secondary provider used to transparently retry a request when the primary fails in a way a retry on the same model can't fix — a content-filtered or refused response, or a transient outage (unreachable endpoint, server error, rate limit).
Link copied to clipboard
public final void setFeatures(VisionFeatures value)
Vision features to enable during document processing.
Link copied to clipboard
public final void setOutputFormat(VisionOutputFormat value)
Format of content returned by .
Link copied to clipboard
public final void setPageParallelism(int value)
The most pages content extraction processes at the same time.
Link copied to clipboard
public final void setProvider(VlmProvider value)
The primary Vision Language Model provider to use for AI-powered features.
Link copied to clipboard
public final void setReconcileTableText(boolean value)
Indicates whether the VLM also reads table zones, so that each cell's words take the VLM's reading where the two reads align closely (a misread digit, a lost separator or accent).
Link copied to clipboard
public final void setRecordGraphHistory(boolean value)
Indicates whether a run keeps the history of its document graph: every change, with the step that made it, its reason and its source.