ExtractSettings

public final class ExtractSettings

Settings for Extract. 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 extraction calls.
Link copied to clipboard
When true, score leaves whose value sits inside a repeated array/object element through the nutrient-document-decision GGUF model instead of the heuristic hypothesis path, giving it the leaf's real JSON row context.
Link copied to clipboard
public final String getEndpoint()
The endpoint for extraction calls.
Link copied to clipboard
public final String getExtractionSchema()
Caller-supplied JSON Schema (inline content) describing the extraction output shape.
Link copied to clipboard
Path to a file containing the JSON Schema for extraction output.
Link copied to clipboard
public final VlmProvider getFallbackProvider()
The provider extraction calls fail over to.
Link copied to clipboard
public final boolean getIncludeCompositeConfidence()
(Schema v1 only.) Daemon-level default for whether the legacy rolled-up composite number is attached to result.json metadata leaves as confidence.
Link copied to clipboard
public final boolean getIncludeConfidence()
Daemon-level default for whether AI processing capacities emit confidence output - the confidence.json sidecar and the per-field confidence signals on result.json metadata.
Link copied to clipboard
When true, emit diagnostics.json as an additional artifact alongside result.json, including silentDrops: parsed table blocks that nothing in the result cites.
Link copied to clipboard
public final boolean getIncludePageImages()
When true, every page of the source document is rendered to an image and sent to the model alongside the IR-lite text (multimodal extraction); there is no page cap, as large documents are fit to the model's context window by windowing across multiple calls, not by dropping pages.
Link copied to clipboard
public final boolean getIncludeSourceLocations()
Whether extraction grounds each extracted field back to its source location in the document — the metadata node of result.json with per-field match labels and source bounding boxes.
Link copied to clipboard
public final String getInstructions()
Optional caller hint appended to the extraction prompt.
Link copied to clipboard
public final Integer getMaxAttempts()
Maximum retry attempts on structured-output failure.
Link copied to clipboard
public final int getMaxInputTokens()
Input-token budget per model call.
Link copied to clipboard
public final int getMaxParallelCalls()
Maximum number of windowed extraction calls to run concurrently.
Link copied to clipboard
public final Integer getMaxTokens()
The maximum output tokens for extraction calls; zero or less sends none.
Link copied to clipboard
public final String getModel()
The model for extraction 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 emitted artifact to a file (optional).
Link copied to clipboard
public final VlmProvider getProvider()
The provider for extraction calls: `Custom`, `OpenAI`, `Anthropic`, `Google` or `Local`.
Link copied to clipboard
public final String getReasoningEffort()
The reasoning effort for extraction calls: `default`, `none`, `minimal`, `low`, `medium`, `high` or `xhigh`.
Link copied to clipboard
public final boolean getStrictStructuredOutput()
Default : structured output runs in the provider's strict mode — the response is grammar-constrained to the schema, which is normalized automatically (additionalProperties: false, all properties required, unsupported keywords moved into descriptions).
Link copied to clipboard
public final Double getTemperature()
The sampling temperature for extraction calls.
Link copied to clipboard
public final void setApiKey(String value)
The API key for extraction calls.
Link copied to clipboard
public final void setEnableComplexFieldGrounding(Boolean value)
When true, score leaves whose value sits inside a repeated array/object element through the nutrient-document-decision GGUF model instead of the heuristic hypothesis path, giving it the leaf's real JSON row context.
Link copied to clipboard
public final void setEndpoint(String value)
The endpoint for extraction calls.
Link copied to clipboard
public final void setExtractionSchema(String value)
Caller-supplied JSON Schema (inline content) describing the extraction output shape.
Link copied to clipboard
public final void setExtractionSchemaFile(String value)
Path to a file containing the JSON Schema for extraction output.
Link copied to clipboard
public final void setFallbackProvider(VlmProvider value)
The provider extraction calls fail over to.
Link copied to clipboard
public final void setIncludeCompositeConfidence(boolean value)
(Schema v1 only.) Daemon-level default for whether the legacy rolled-up composite number is attached to result.json metadata leaves as confidence.
Link copied to clipboard
public final void setIncludeConfidence(boolean value)
Daemon-level default for whether AI processing capacities emit confidence output - the confidence.json sidecar and the per-field confidence signals on result.json metadata.
Link copied to clipboard
public final void setIncludeDiagnostics(Boolean value)
When true, emit diagnostics.json as an additional artifact alongside result.json, including silentDrops: parsed table blocks that nothing in the result cites.
Link copied to clipboard
public final void setIncludePageImages(boolean value)
When true, every page of the source document is rendered to an image and sent to the model alongside the IR-lite text (multimodal extraction); there is no page cap, as large documents are fit to the model's context window by windowing across multiple calls, not by dropping pages.
Link copied to clipboard
public final void setIncludeSourceLocations(boolean value)
Whether extraction grounds each extracted field back to its source location in the document — the metadata node of result.json with per-field match labels and source bounding boxes.
Link copied to clipboard
public final void setInstructions(String value)
Optional caller hint appended to the extraction prompt.
Link copied to clipboard
public final void setMaxAttempts(Integer value)
Maximum retry attempts on structured-output failure.
Link copied to clipboard
public final void setMaxInputTokens(int value)
Input-token budget per model call.
Link copied to clipboard
public final void setMaxParallelCalls(int value)
Maximum number of windowed extraction calls to run concurrently.
Link copied to clipboard
public final void setMaxTokens(Integer value)
The maximum output tokens for extraction calls; zero or less sends none.
Link copied to clipboard
public final void setModel(String value)
The model for extraction 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 emitted artifact to a file (optional).
Link copied to clipboard
public final void setProvider(VlmProvider value)
The provider for extraction calls: `Custom`, `OpenAI`, `Anthropic`, `Google` or `Local`.
Link copied to clipboard
public final void setReasoningEffort(String value)
The reasoning effort for extraction calls: `default`, `none`, `minimal`, `low`, `medium`, `high` or `xhigh`.
Link copied to clipboard
public final void setStrictStructuredOutput(boolean value)
Default : structured output runs in the provider's strict mode — the response is grammar-constrained to the schema, which is normalized automatically (additionalProperties: false, all properties required, unsupported keywords moved into descriptions).
Link copied to clipboard
public final void setTemperature(Double value)
The sampling temperature for extraction calls.