DocumentSplitSettings
Settings for DocumentSplit. 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.
Tags: Vision
from nutrient_sdk import DocumentSplitSettingsConstruction
DocumentSplitSettings is accessed through a Document instance for per-document overrides, or via SdkSettings for SDK-wide defaults.
# Per-document overridewith Document.open("input.pdf") as doc: settings = doc.settings.document_split_settings settings.some_field = new_value # mutate fields directly
# SDK-wide default (applies to all documents)SdkSettings.document_split_settings.some_field = new_valueSettings are configured by writing to fields on the returned object. The settings property itself cannot be reassigned — doc.settings.document_split_settings = other_settings is rejected.
Properties
boundary_threshold
@propertydef boundary_threshold(self) -> float
@boundary_threshold.setterdef boundary_threshold(self, value: float) -> NoneCalibrated per-page confidence, in [0,1], at or above which a page starts a new sub-document. The first page is always a boundary. Higher values yield fewer, larger segments (the model must be more certain to cut); lower values split more eagerly. Default 0.5.
Type: float
Default: 0.5f
include_page_confidences
@propertydef include_page_confidences(self) -> bool
@include_page_confidences.setterdef include_page_confidences(self, value: bool) -> NoneDiagnostic opt-in. When true, the split artifact additionally carries the calibrated boundary confidence for every page (pageConfidences), letting a caller re-threshold the stream offline without re-running the model. Default false so production artifacts stay lean.
Type: bool
Default: false
render_dpi
@propertydef render_dpi(self) -> int
@render_dpi.setterdef render_dpi(self, value: int) -> NoneDPI used to render each page for the image tower. Default 200.
Type: int
Default: 200