TsgcAIDocumentExtractor › Properties › Instructions

Instructions Property

Additional extraction instructions appended to the prompt.

Syntax

property Instructions: TStringList read FInstructions write SetInstructions;

Default Value

—

Remarks

The component always tells the model to extract only what is visible, to use null for missing or unreadable values, to write dates in ISO 8601 format (YYYY-MM-DD) and to write amounts as JSON numbers. A preset adds its own instructions. Use Instructions for anything specific to your documents, for example how to name a field or which of two dates to take. The text is appended after the built in rules under an "Additional instructions" heading.

Example

oExtractor.Instructions.Text := 'The supplier is always the company in the letterhead.';

Back to Properties