Class LayoutParsingConfig (0.13.11)

LayoutParsingConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The layout parsing configurations for documents.

Attributes

Name Description
enable_table_annotation bool
Optional. If true, the LLM based annotation is added to the table during parsing.
enable_image_annotation bool
Optional. If true, the LLM based annotation is added to the image during parsing.
structured_content_types MutableSequence[str]
Optional. Contains the required structure types to extract from the document. Supported values: - shareholder-structure
exclude_html_elements MutableSequence[str]
Optional. List of HTML elements to exclude from the parsed content.
exclude_html_classes MutableSequence[str]
Optional. List of HTML classes to exclude from the parsed content.
exclude_html_ids MutableSequence[str]
Optional. List of HTML ids to exclude from the parsed content.