ParseSettings

public final class ParseSettings

Settings for Parse. 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 String getApiKey()
The API key for parse calls.
Link copied to clipboard
public final Integer getBatchSize()
How many zones each zone-reading call carries.
Link copied to clipboard
The confidence the model's zone classification needs before it replaces the layout model's.
Link copied to clipboard
public final VlmClassificationStrategy getClassificationStrategy()
How parse sends zones to the model: MultiZone (in batches, the default) or OneShot (the whole page in one call).
Link copied to clipboard
public final boolean getEmitFigurePlaceholders()
Controls whether pictures that have no alt text and no extractable words emit a [Figure] placeholder line in the Markdown output.
Link copied to clipboard
public final boolean getEmitPageBoundaryMarkers()
When enabled, the converter emits a unique HTML-comment marker at the start of every page (, where N is the 1-indexed physical page number).
Link copied to clipboard
public final boolean getEnableInlineFormatting()
Controls whether inline text formatting is preserved in the Markdown output using Markdown or inline HTML markers for bold, italic, underline, highlight, strikethrough, superscript, and subscript text.
Link copied to clipboard
public final boolean getEnableSemanticBlockFormatting()
Controls whether footnotes render as a blockquote (> ) and whether pictures, charts and barcodes are emitted at all (pictures render as ![alt]() when they carry alt text; refer to for pictures without one; charts render as their table only).
Link copied to clipboard
public final boolean getEnableTableCellInlineFormatting()
Controls whether inline text formatting is also preserved inside table cells.
Link copied to clipboard
public final String getEndpoint()
The endpoint for parse calls.
Link copied to clipboard
public final Array<String> getExportFormats()
Several export formats at once.
Link copied to clipboard
public final boolean getExtractWordsFromPictures()
Controls whether words detected inside picture regions are emitted as plain text in Markdown output.
Link copied to clipboard
public final VlmProvider getFallbackProvider()
The provider parse calls fail over to.
Link copied to clipboard
public final boolean getFoldTypographicPunctuation()
Controls whether typographic punctuation is written as its ASCII equivalent.
Link copied to clipboard
When true, emit diagnostics.json when VLM/model diagnostics were produced.
Link copied to clipboard
public final boolean getIncludeHeadersAndFooters()
Controls whether running page headers and footers are included in the Markdown output.
Link copied to clipboard
public final Boolean getIncludeWords()
Include word-level details with bounding boxes
Link copied to clipboard
public final boolean getInverseDeskew()
Indicates whether the inverse deskew transform is enabled.
Link copied to clipboard
public final Integer getMaxTokens()
The maximum output tokens for parse calls; zero or less sends none.
Link copied to clipboard
public final String getModel()
The model for parse calls, one the chosen provider serves.
Link copied to clipboard
public final String getOutputDirectory()
Directory to write all emitted artifacts to (optional).
Link copied to clipboard
public final String getOutputFilePath()
Path to write the single exported artifact to a file (optional).
Link copied to clipboard
public final Boolean getPrettyPrint()
Emit indented JSON
Link copied to clipboard
public final VlmProvider getProvider()
The provider for parse calls: `Custom`, `OpenAI`, `Anthropic`, `Google` or `Local`.
Link copied to clipboard
public final String getReasoningEffort()
The reasoning effort for parse calls: `default`, `none`, `minimal`, `low`, `medium`, `high` or `xhigh`.
Link copied to clipboard
Whether each zone-reading call also carries the whole page image.
Link copied to clipboard
public final String getSystemPrompt()
The prompt parse sends with each zone-reading call.
Link copied to clipboard
public final Double getTemperature()
The sampling temperature for parse calls.
Link copied to clipboard
public final boolean getUseHtmlTables()
Controls how tables are rendered in the Markdown output.
Link copied to clipboard
public final void setApiKey(String value)
The API key for parse calls.
Link copied to clipboard
public final void setBatchSize(Integer value)
How many zones each zone-reading call carries.
Link copied to clipboard
public final void setClassificationConfidence(Double value)
The confidence the model's zone classification needs before it replaces the layout model's.
Link copied to clipboard
public final void setClassificationStrategy(VlmClassificationStrategy value)
How parse sends zones to the model: MultiZone (in batches, the default) or OneShot (the whole page in one call).
Link copied to clipboard
public final void setEmitFigurePlaceholders(boolean value)
Controls whether pictures that have no alt text and no extractable words emit a [Figure] placeholder line in the Markdown output.
Link copied to clipboard
public final void setEmitPageBoundaryMarkers(boolean value)
When enabled, the converter emits a unique HTML-comment marker at the start of every page (, where N is the 1-indexed physical page number).
Link copied to clipboard
public final void setEnableInlineFormatting(boolean value)
Controls whether inline text formatting is preserved in the Markdown output using Markdown or inline HTML markers for bold, italic, underline, highlight, strikethrough, superscript, and subscript text.
Link copied to clipboard
public final void setEnableSemanticBlockFormatting(boolean value)
Controls whether footnotes render as a blockquote (> ) and whether pictures, charts and barcodes are emitted at all (pictures render as ![alt]() when they carry alt text; refer to for pictures without one; charts render as their table only).
Link copied to clipboard
public final void setEnableTableCellInlineFormatting(boolean value)
Controls whether inline text formatting is also preserved inside table cells.
Link copied to clipboard
public final void setEndpoint(String value)
The endpoint for parse calls.
Link copied to clipboard
public final void setExportFormats(Array<String> value)
Several export formats at once.
Link copied to clipboard
public final void setExtractWordsFromPictures(boolean value)
Controls whether words detected inside picture regions are emitted as plain text in Markdown output.
Link copied to clipboard
public final void setFallbackProvider(VlmProvider value)
The provider parse calls fail over to.
Link copied to clipboard
public final void setFoldTypographicPunctuation(boolean value)
Controls whether typographic punctuation is written as its ASCII equivalent.
Link copied to clipboard
public final void setIncludeDiagnostics(Boolean value)
When true, emit diagnostics.json when VLM/model diagnostics were produced.
Link copied to clipboard
public final void setIncludeHeadersAndFooters(boolean value)
Controls whether running page headers and footers are included in the Markdown output.
Link copied to clipboard
public final void setIncludeWords(Boolean value)
Include word-level details with bounding boxes
Link copied to clipboard
public final void setInverseDeskew(boolean value)
Indicates whether the inverse deskew transform is enabled.
Link copied to clipboard
public final void setMaxTokens(Integer value)
The maximum output tokens for parse calls; zero or less sends none.
Link copied to clipboard
public final void setModel(String value)
The model for parse calls, one the chosen provider serves.
Link copied to clipboard
public final void setOutputDirectory(String value)
Directory to write all emitted artifacts to (optional).
Link copied to clipboard
public final void setOutputFilePath(String value)
Path to write the single exported artifact to a file (optional).
Link copied to clipboard
public final void setPrettyPrint(Boolean value)
Emit indented JSON
Link copied to clipboard
public final void setProvider(VlmProvider value)
The provider for parse calls: `Custom`, `OpenAI`, `Anthropic`, `Google` or `Local`.
Link copied to clipboard
public final void setReasoningEffort(String value)
The reasoning effort for parse calls: `default`, `none`, `minimal`, `low`, `medium`, `high` or `xhigh`.
Link copied to clipboard
public final void setSendFullPageReference(Boolean value)
Whether each zone-reading call also carries the whole page image.
Link copied to clipboard
public final void setSystemPrompt(String value)
The prompt parse sends with each zone-reading call.
Link copied to clipboard
public final void setTemperature(Double value)
The sampling temperature for parse calls.
Link copied to clipboard
public final void setUseHtmlTables(boolean value)
Controls how tables are rendered in the Markdown output.