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

FieldAlignMode

Grooper.GPT

Specifies the method used to associate a value returned by the LLM with its location in the source document.

Remarks

The 'Field Align Mode' enumeration controls how Grooper links extracted field values from LLM output (typically in JSON) back to their original locations in the document. This association is essential for enabling users to navigate to, review, and highlight relevant content in the Data Grid and Data Viewer.

Each mode determines what information is requested from the LLM in the JSON schema, and how Grooper attempts to locate the value in the document. The choice of mode impacts review workflows, confidence scoring, and the user's ability to validate extracted data in context.

  • None: No alignment is performed; only the value is requested and used as-is.
  • Natural: The value is matched directly in the document text using normalization and type-specific matching.
  • Quoted: The LLM is asked to return the exact text as it appears in the document (originalValue), which is used to locate the value in OCR text.
  • Labeled: The LLM is asked to return a label (field name or header) from the document (label), and Grooper locates the value by finding the label and associating the nearest value.
  • LabeledAndQuoted: Both a label and a quote are requested from the LLM, and both are used to disambiguate and precisely locate the value.
  • Geometric: The LLM is asked to return explicit page number and bounding box coordinates (__pageNo, __bounds), which are used to directly extract the value from the document geometry.

Proper configuration of this setting improves the accuracy and usability of AI-driven extraction and review processes in Grooper. Choose the mode that best matches the structure of your documents and the nature of the field being extracted.

Can be one of the following values:

NameValueDescription

Used By

Notification