DocumentSettings
Provides configuration settings for SDK document operations. Manages document-level settings with overrides over SDK defaults.
from nutrient import DocumentSettingsMethods
export
def export(self, path: str) -> NoneExports the current document settings to a JSON file.
Parameters:
| Name | Type | Description |
|---|---|---|
path | str | The file path where the JSON settings will be saved. |
load
def load(self, path: str) -> NoneLoads document settings from a JSON file.
Parameters:
| Name | Type | Description |
|---|---|---|
path | str | The file path to the JSON settings file. |
Properties
ai_augmenter_settings
@propertydef ai_augmenter_settings(self) -> AiAugmenterSettingsGets the settings for aiaugmenter.
Type: AiAugmenterSettings
Read-only property.
cad_settings
@propertydef cad_settings(self) -> CadSettingsGets the settings for CAD.
Type: CadSettings
Read-only property.
claude_api_settings
@propertydef claude_api_settings(self) -> ClaudeApiSettingsGets the settings for claudeapi.
Type: ClaudeApiSettings
Read-only property.
content_extraction_settings
@propertydef content_extraction_settings(self) -> ContentExtractionSettingsGets the settings for contentextraction.
Type: ContentExtractionSettings
Read-only property.
conversion_settings
@propertydef conversion_settings(self) -> ConversionSettingsGets the settings for conversion.
Type: ConversionSettings
Read-only property.
custom_vlm_api_settings
@propertydef custom_vlm_api_settings(self) -> CustomVlmApiSettingsGets the settings for customvlmapi.
Type: CustomVlmApiSettings
Read-only property.
document_layout_json_export_settings
@propertydef document_layout_json_export_settings(self) -> DocumentLayoutJsonExportSettingsGets the settings for documentlayoutjsonexport.
Type: DocumentLayoutJsonExportSettings
Read-only property.
finalizer_settings
@propertydef finalizer_settings(self) -> FinalizerSettingsGets the settings for finalizer.
Type: FinalizerSettings
Read-only property.
html_settings
@propertydef html_settings(self) -> HtmlSettingsGets the settings for HTML.
Type: HtmlSettings
Read-only property.
image_settings
@propertydef image_settings(self) -> ImageSettingsGets the settings for image.
Type: ImageSettings
Read-only property.
inference_layout_settings
@propertydef inference_layout_settings(self) -> InferenceLayoutSettingsGets the settings for inferencelayout.
Type: InferenceLayoutSettings
Read-only property.
jbig2_settings
@propertydef jbig2_settings(self) -> Jbig2SettingsGets the settings for jbig2.
Type: Jbig2Settings
Read-only property.
jpeg_settings
@propertydef jpeg_settings(self) -> JpegSettingsGets the settings for jpeg.
Type: JpegSettings
Read-only property.
ocr_settings
@propertydef ocr_settings(self) -> OcrSettingsGets the settings for ocr.
Type: OcrSettings
Read-only property.
open_ai_api_endpoint_settings
@propertydef open_ai_api_endpoint_settings(self) -> OpenAIApiEndpointSettingsGets the settings for openaiapiendpoint.
Type: OpenAIApiEndpointSettings
Read-only property.
open_ai_languages_detection_settings
@propertydef open_ai_languages_detection_settings(self) -> OpenAILanguagesDetectionSettingsGets the settings for openailanguagesdetection.
Type: OpenAILanguagesDetectionSettings
Read-only property.
open_ai_picture_alt_settings
@propertydef open_ai_picture_alt_settings(self) -> OpenAIPictureAltSettingsGets the settings for openaipicturealt.
Type: OpenAIPictureAltSettings
Read-only property.
open_settings
@propertydef open_settings(self) -> OpenSettingsGets the settings for opening documents.
Type: OpenSettings
Read-only property.
pdf_page_settings
@propertydef pdf_page_settings(self) -> PdfPageSettingsGets the settings for PDF page.
Type: PdfPageSettings
Read-only property.
pdf_settings
@propertydef pdf_settings(self) -> PdfSettingsGets the settings for PDF.
Type: PdfSettings
Read-only property.
presentation_settings
@propertydef presentation_settings(self) -> PresentationSettingsGets the settings for presentation.
Type: PresentationSettings
Read-only property.
reading_order_settings
@propertydef reading_order_settings(self) -> ReadingOrderSettingsGets the settings for readingorder.
Type: ReadingOrderSettings
Read-only property.
segmenter_settings
@propertydef segmenter_settings(self) -> SegmenterSettingsGets the settings for segmenter.
Type: SegmenterSettings
Read-only property.
spreadsheet_settings
@propertydef spreadsheet_settings(self) -> SpreadsheetSettingsGets the settings for spreadsheet.
Type: SpreadsheetSettings
Read-only property.
table_recognition_settings
@propertydef table_recognition_settings(self) -> TableRecognitionSettingsGets the settings for tablerecognition.
Type: TableRecognitionSettings
Read-only property.
tiff_settings
@propertydef tiff_settings(self) -> TiffSettingsGets the settings for tiff.
Type: TiffSettings
Read-only property.
vision_descriptor_settings
@propertydef vision_descriptor_settings(self) -> VisionDescriptorSettingsGets the settings for visiondescriptor.
Type: VisionDescriptorSettings
Read-only property.
vision_settings
@propertydef vision_settings(self) -> VisionSettingsGets the settings for vision.
Type: VisionSettings
Read-only property.
words_detection_settings
@propertydef words_detection_settings(self) -> WordsDetectionSettingsGets the settings for wordsdetection.
Type: WordsDetectionSettings
Read-only property.
word_settings
@propertydef word_settings(self) -> WordSettingsGets the settings for Word documents.
Type: WordSettings
Read-only property.