Grooper Help - Version 25.0
25.0.0023 2,165
  • Overview
  • Help Status

LayoutComponentTypes

Grooper.GPT

Specifies which types of layout components are included in the structured layout data for AI extraction.

Remarks

The LayoutComponentTypes enumeration defines the set of visual and structural elements that can be included in the layout data generated by the Layout Objects quoting method. This allows you to precisely control which aspects of the document's visual structure are supplied to the AI model for extraction, analysis, or understanding.

Use this enumeration to enable or disable the inclusion of text segments, lines, barcodes, and checkboxes in the generated layout data. The LayoutComponentTypes enum supports bitwise combination, so you can select any combination of components to match your extraction requirements.

Usage and Configuration

  • Set the 'Layout Components' property to specify which layout elements are included in the output.
  • Combine multiple values using the bitwise OR operator (e.g., Text | Lines | Barcodes) to include several types.
  • Use the All value to include every supported layout component in the output.

Considerations

  • Including more components provides the AI with richer context but may increase prompt size.
  • Exclude components that are not relevant to your extraction scenario to streamline processing and focus the AI's attention on the most important elements.

Adjust the selection based on the structure and requirements of your documents and extraction workflow.

A combination of the following flags:

NameValueDescription

Used By

Notification