Interface ExtractAIMessageOptions

Extract structured data from an existing email or SMS. Supply exactly one of extractionPreset, outputSchema or transformId. Required strings must be grounded in source evidence; missing or ambiguous fields are reported as INCONCLUSIVE.

Export

Interface

ExtractAIMessageOptions

Hierarchy

  • ExtractAIMessageOptions

Properties

Memberof

ExtractAIMessageOptions

extractionPreset?: OTP_CODE

Built-in extraction schema. OTP_CODE returns data.code as a verbatim string, preserving leading zeros and letter case. Missing or equally eligible codes are INCONCLUSIVE.

Memberof

ExtractAIMessageOptions

instructions?: string

Memberof

ExtractAIMessageOptions

Memberof

ExtractAIMessageOptions

outputSchema?: StructuredOutputSchema

Memberof

ExtractAIMessageOptions

timeout: number

Memberof

ExtractAIMessageOptions

transformId?: string

Memberof

ExtractAIMessageOptions