ConversionSettings¶
Specify the conversion settings to use.
Properties¶
Name | Type | Description | Notes |
---|---|---|---|
ocr | PartialDirectConversionParametersOcr | [optional] | |
table_structure | TableStructureOptions | [optional] | |
generate_page_images | object | [optional] | |
type | object | [optional] | |
assemble | PartialDirectConversionParametersAssemble | [optional] | |
metadata | PartialDirectConversionParametersMetadata | [optional] | |
page_labels | PageLabels | [optional] | |
model_pipeline | PartialDirectConversionParametersModelPipeline | [optional] |
Example¶
from deepsearch.cps.apis.public_v2.models.conversion_settings import ConversionSettings
# TODO update the JSON string below
json = "{}"
# create an instance of ConversionSettings from a JSON string
conversion_settings_instance = ConversionSettings.from_json(json)
# print the JSON string representation of the object
print(ConversionSettings.to_json())
# convert the object into a dict
conversion_settings_dict = conversion_settings_instance.to_dict()
# create an instance of ConversionSettings from a dict
conversion_settings_form_dict = conversion_settings.from_dict(conversion_settings_dict)