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

Data Values

Quoting Method Grooper.GPT

Supplies the AI with extracted document data in JSON format.

Remarks

The Data Values quoting method provides a way to deliver a complete, machine-readable representation of a document’s extracted data to an AI model. It serializes the document’s Data Model hierarchy—including all fields, sections, and tables— into a structured JSON object. This enables downstream AI processing, validation, or summarization workflows that require access to the full set of structured data elements from a document.

How It Works

When invoked, Data Values serializes the Data Model and all extracted values for the selected document. If the source is a Document Instance, all documents within the same Batch Folder are included in the output; otherwise, only the current instance is serialized. The resulting JSON is supplied to the AI, optionally preceded by a user-provided description for additional context or instructions.

The JSON output mirrors the structure of the Data Model, preserving the hierarchy and relationships between fields, sections, and tables. This ensures that the AI receives a faithful, context-rich representation of the document’s data, suitable for advanced analysis, validation, or integration scenarios.

Configuration

  • Use the 'Description' property to provide context or instructions to the AI about the meaning, structure, or intended use of the data.
  • The 'Included Elements' property allows you to restrict which Data Elements are included in the output, enabling focused or minimal data representations as needed.

Usage Scenarios

  • Supplying the AI with a complete, structured export of extracted document data for downstream processing, validation, or summarization.
  • Enabling advanced AI workflows that require access to the full set of structured data elements from a document, such as compliance checks, data enrichment, or automated decision-making.
  • Integrating Grooper’s extraction results with external AI services or custom logic that expects JSON-formatted input.

Diagnostic Artifacts

When executed, Data Values logs a diagnostic artifact containing the generated JSON. This artifact is named DataValues.json and can be used for troubleshooting, auditing, or reviewing the exact data supplied to the AI.

Best Practices

  • Provide a clear and concise description using the 'Description' property to help the AI interpret the data correctly.
  • Use the 'Included Elements' property to limit the output to only the data elements relevant to your workflow, especially when working with large or complex Data Models.
  • Review the diagnostic JSON artifact to verify the structure and content of the data before deploying to production AI workflows.

For more information about Data Models, Document Instances, and data extraction in Grooper, see the documentation for those types.

Properties

NameTypeDescription

See Also

Used By

Notification