Postprocessing

18 public types in this namespace, organized by kind.

Models & Types (13)

Type Summary
DocumentSchema Schema for document validation.
Entity Represents an extracted entity from document text.
EntityLinking<T> EntityLinking - Entity extraction and linking for document text.
FieldExtractionRule Rule for extracting a field from document text.
InvoiceData Structured invoice data extracted from documents.
InvoiceLineItem Invoice line item.
PostprocessingPipeline<T, TInput, TOutput> Chains multiple data transformers into a sequential postprocessing pipeline.
ReceiptData Structured receipt data extracted from documents.
ReceiptItem Receipt line item.
SpellCorrection<T> SpellCorrection - Spell checking and correction for OCR output.
StructuredOutputParser<T> StructuredOutputParser - Parses document AI outputs into structured data formats.
TextPostprocessor<T> TextPostprocessor - OCR text postprocessing utilities.
ValidationResult Result of document schema validation.

Base Classes (1)

Type Summary
PostprocessorBase<T, TInput, TOutput> Abstract base class for all postprocessors providing common functionality.

Enums (2)

Type Summary
DataType Data types for parsed document values.
EntityType Types of entities that can be extracted from documents.

Options & Configuration (1)

Type Summary
TextPostprocessorOptions Options for text postprocessing.

Helpers & Utilities (1)

Type Summary
PostprocessingRegistry<T, TOutput> Global registry for the postprocessing pipeline.