Grooper Help - Version 25.0
25.0.0017 2,127
  • Overview
  • Help Status

AI Extract Table Options

Data Table Data Element Extension Grooper.GPT

Defines options controlling how AI Extract works for a Data Table.

Remarks

The 'AI Extract Table Options' class provides advanced configuration for how Grooper's AI Extract method interacts with a specific Data Table. These options allow you to control the alignment strategy used by the LLM (Large Language Model) when extracting table rows, headers, and footers, ensuring that each row and cell is accurately located and mapped back to the document for review, navigation, and validation.

Role in Grooper

  • Used to customize the extraction and alignment behavior for individual Data Tables when using AI Extract.
  • Supports detection of table headers and footers, and enables row-level alignment for robust extraction from a wide range of tabular layouts.
  • Integrates table-specific alignment instructions into the LLM prompt, improving extraction accuracy and reliability.

How It Works

  • Each Data Table can be extended with an 'AI Extract Table Options' object, allowing you to override default alignment behavior.
  • The 'Row Alignment' property determines what information is requested from the LLM (such as geometric regions or cell values) and how Grooper interprets the LLM's output to identify and align table rows in the document.
  • Header and footer detection options control whether the LLM is asked to identify these special rows, and how they are mapped back to the document.

Configuration and Usage

  • Choose a row alignment mode that matches the structure of your tables and the requirements of your extraction scenario.
  • Enable header and footer detection as needed to improve accuracy for tables with variable or dynamic headers/footers.
  • The selected options impact the JSON schema sent to the LLM, the expected response format, and the mechanism used to locate table rows and cells in the document.

Example Scenario

For an invoice line item table with dynamic headers, you might enable 'DetectHeader' and use 'Geometric' row alignment to have the LLM return bounding boxes for each row, allowing Grooper to precisely map each row and cell to its location in the document.

These options provide granular control over AI-driven table extraction, supporting robust, accurate, and context-aware data capture in Grooper.

Properties

NameTypeDescription

See Also

Notification