Document AI V1beta3 API - Class Google::Cloud::DocumentAI::V1beta3::ProcessOptions::LayoutConfig (v0.40.0)

Reference documentation and code samples for the Document AI V1beta3 API class Google::Cloud::DocumentAI::V1beta3::ProcessOptions::LayoutConfig.

Serving config for layout parser processor.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#chunking_config

def chunking_config() -> ::Google::Cloud::DocumentAI::V1beta3::ProcessOptions::LayoutConfig::ChunkingConfig
Returns

#chunking_config=

def chunking_config=(value) -> ::Google::Cloud::DocumentAI::V1beta3::ProcessOptions::LayoutConfig::ChunkingConfig
Parameter
Returns

#enable_llm_layout_parsing

def enable_llm_layout_parsing() -> ::Boolean
Returns
  • (::Boolean) — Optional. Whether to refine PDF layout using LLM.

#enable_llm_layout_parsing=

def enable_llm_layout_parsing=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Whether to refine PDF layout using LLM.
Returns
  • (::Boolean) — Optional. Whether to refine PDF layout using LLM.

#return_bounding_boxes

def return_bounding_boxes() -> ::Boolean
Returns
  • (::Boolean) — Optional. Whether to include bounding boxes in layout parser processor response.

#return_bounding_boxes=

def return_bounding_boxes=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Whether to include bounding boxes in layout parser processor response.
Returns
  • (::Boolean) — Optional. Whether to include bounding boxes in layout parser processor response.

#return_images

def return_images() -> ::Boolean
Returns
  • (::Boolean) — Optional. Whether to include images in layout parser processor response.

#return_images=

def return_images=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Whether to include images in layout parser processor response.
Returns
  • (::Boolean) — Optional. Whether to include images in layout parser processor response.