Class LayoutConfig (3.5.0)

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

Serving config for layout parser processor.

Attributes

Name Description
chunking_config google.cloud.documentai_v1beta3.types.ProcessOptions.LayoutConfig.ChunkingConfig
Optional. Config for chunking in layout parser processor.
return_images bool
Optional. Whether to include images in layout parser processor response.
return_bounding_boxes bool
Optional. Whether to include bounding boxes in layout parser processor response.
enable_image_annotation bool
Optional. Whether to include image annotations in layout parser response.
enable_image_extraction bool
Optional. Whether to extract images in layout parser response.
enable_llm_layout_parsing bool
Optional. Whether to refine PDF layout using LLM.
enable_table_annotation bool
Optional. Whether to include table annotations in layout parser response.

Classes

ChunkingConfig

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

Serving config for chunking.