Class FieldExtractionRule
- Namespace
- AiDotNet.Postprocessing.Document
- Assembly
- AiDotNet.dll
Rule for extracting a field from document text.
public class FieldExtractionRule
- Inheritance
-
FieldExtractionRule
- Inherited Members
Properties
DataType
Expected data type.
public DataType DataType { get; set; }
Property Value
DefaultValue
Default value if extraction fails.
public object? DefaultValue { get; set; }
Property Value
FieldName
Name of the field to extract.
public string FieldName { get; set; }
Property Value
Labels
Labels that might precede the value.
public IList<string>? Labels { get; set; }
Property Value
Pattern
Regex pattern for extraction.
public string? Pattern { get; set; }