Class TextExtractionElementFormat
- Namespace
- LMKit.Extraction
- Assembly
- LM-Kit.NET.dll
Defines user-configurable constraints and normalization hints for extracted values.
public sealed class TextExtractionElementFormat
- Inheritance
-
TextExtractionElementFormat
- Inherited Members
Remarks
Use this object to express expected output shape for an extraction element through either JSON schema fields or the .NET API.
Properties
- AllowedValues
Gets or sets a list of acceptable values for text extraction.
- CaseMode
Gets or sets the case mode to apply to the extracted text.
- DisableSpacingCharacters
Gets or sets a value indicating whether spacing characters (spaces, tabs, newlines) should be removed from the extracted text.
- FormatHint
Gets or sets the format this element should attempt to follow.
- MaxLength
Gets or sets the maximum number of characters allowed in the extracted text. A value of -1 indicates no limit.
- Pattern
Gets or sets a pattern that extracted string values must match.
- TrimStartValues
Gets or sets a list of string prefixes to remove from the beginning of extracted text.