PartialDirectConversionParameters¶
Specify conversion settings (OCR, Assemble, ML Models) directly. Fields left null are set to platform defaults.
Properties¶
Name | Type | Description | Notes |
---|---|---|---|
type | str | [optional] [default to 'direct'] | |
ocr | OcrSettings | [optional] | |
assemble | AssembleSettings | [optional] | |
metadata | CollectionMetadataSettings | [optional] | |
page_labels | Dict[str, object] | [optional] | |
model_pipeline | ModelPipelineSettings | [optional] |
Example¶
from deepsearch.cps.apis.public_v2.models.partial_direct_conversion_parameters import PartialDirectConversionParameters
# TODO update the JSON string below
json = "{}"
# create an instance of PartialDirectConversionParameters from a JSON string
partial_direct_conversion_parameters_instance = PartialDirectConversionParameters.from_json(json)
# print the JSON string representation of the object
print(PartialDirectConversionParameters.to_json())
# convert the object into a dict
partial_direct_conversion_parameters_dict = partial_direct_conversion_parameters_instance.to_dict()
# create an instance of PartialDirectConversionParameters from a dict
partial_direct_conversion_parameters_form_dict = partial_direct_conversion_parameters.from_dict(partial_direct_conversion_parameters_dict)