FormLabelingSettings

public final class FormLabelingSettings

Settings for FormLabeling. 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 Generalist labeling calls.
Link copied to clipboard
public final String getCandidateLabels()
Optional vocabulary of candidate labels the model should prefer when labeling.
Link copied to clipboard
public final boolean getEnableAiLabeling()
Opt in to AI semantic labeling of detected form fields.
Link copied to clipboard
public final boolean getEnableAiRemoveFalsePositives()
When true, form fields the AI flags as false positives are removed from the document graph so they never reach the exported output.
Link copied to clipboard
public final String getEndpoint()
The endpoint for Generalist labeling calls.
Link copied to clipboard
public final FormVlmEnrichmentModel getEnrichmentModel()
Which model family enriches fields, and therefore which flow runs, when is true.
Link copied to clipboard
public final FormVlmEnrichmentModel getFallbackEnrichmentModel()
Optional fallback flow, retried on the whole document when fails outright — its connection can't be reached, or, for , every page failed.
Link copied to clipboard
public final VlmProvider getFallbackProvider()
The provider Generalist labeling calls fail over to.
Link copied to clipboard
public final Integer getMaxTokens()
The maximum output tokens for Generalist labeling calls; zero or less sends none.
Link copied to clipboard
public final String getModel()
The model for Generalist labeling calls, one the chosen provider serves.
Link copied to clipboard
public final float getOverlapThreshold()
only: the geometric overlap bar (IoU for a type-agnostic claim, or IoS for a type-compatible containment claim) the RF-DETR x VLM correlator uses for its hard-match phase and its soft-tier corroboration phase (FormVlmCorrelator.Correlate) — its phase-3 bare-box rescue does not require any overlap at all; it accepts a genuinely disjoint box within the edge-to-edge gap configures.
Link copied to clipboard
public final VlmProvider getProvider()
The provider for Generalist labeling calls (the dedicated form-field model keeps ).
Link copied to clipboard
public final String getReasoningEffort()
The reasoning effort for Generalist labeling calls: default, none, minimal, low, medium, high, or xhigh.
Link copied to clipboard
public final float getRescueDistanceMultiplier()
only: how the correlator's phase-3 distance-based rescue decides a bare hard-tier box is close enough to a VLM item to claim it — the edge-to-edge gap on each axis must be less than this value times that box's own width (x) / height (y) (FormVlmCorrelator.Correlate).
Link copied to clipboard
public final Double getTemperature()
The sampling temperature for Generalist labeling calls.
Link copied to clipboard
public final void setApiKey(String value)
The API key for Generalist labeling calls.
Link copied to clipboard
public final void setCandidateLabels(String value)
Optional vocabulary of candidate labels the model should prefer when labeling.
Link copied to clipboard
public final void setEnableAiLabeling(boolean value)
Opt in to AI semantic labeling of detected form fields.
Link copied to clipboard
public final void setEnableAiRemoveFalsePositives(boolean value)
When true, form fields the AI flags as false positives are removed from the document graph so they never reach the exported output.
Link copied to clipboard
public final void setEndpoint(String value)
The endpoint for Generalist labeling calls.
Link copied to clipboard
public final void setEnrichmentModel(FormVlmEnrichmentModel value)
Which model family enriches fields, and therefore which flow runs, when is true.
Link copied to clipboard
public final void setFallbackEnrichmentModel(FormVlmEnrichmentModel value)
Optional fallback flow, retried on the whole document when fails outright — its connection can't be reached, or, for , every page failed.
Link copied to clipboard
public final void setFallbackProvider(VlmProvider value)
The provider Generalist labeling calls fail over to.
Link copied to clipboard
public final void setMaxTokens(Integer value)
The maximum output tokens for Generalist labeling calls; zero or less sends none.
Link copied to clipboard
public final void setModel(String value)
The model for Generalist labeling calls, one the chosen provider serves.
Link copied to clipboard
public final void setOverlapThreshold(float value)
only: the geometric overlap bar (IoU for a type-agnostic claim, or IoS for a type-compatible containment claim) the RF-DETR x VLM correlator uses for its hard-match phase and its soft-tier corroboration phase (FormVlmCorrelator.Correlate) — its phase-3 bare-box rescue does not require any overlap at all; it accepts a genuinely disjoint box within the edge-to-edge gap configures.
Link copied to clipboard
public final void setProvider(VlmProvider value)
The provider for Generalist labeling calls (the dedicated form-field model keeps ).
Link copied to clipboard
public final void setReasoningEffort(String value)
The reasoning effort for Generalist labeling calls: default, none, minimal, low, medium, high, or xhigh.
Link copied to clipboard
public final void setRescueDistanceMultiplier(float value)
only: how the correlator's phase-3 distance-based rescue decides a bare hard-tier box is close enough to a VLM item to claim it — the edge-to-edge gap on each axis must be less than this value times that box's own width (x) / height (y) (FormVlmCorrelator.Correlate).
Link copied to clipboard
public final void setTemperature(Double value)
The sampling temperature for Generalist labeling calls.