TsgcAIDocumentExtractor › Events › OnLowConfidence
Fired once per field whose confidence is lower than MinConfidence.
property OnLowConfidence: TsgcAIDocumentLowConfidenceEvent;
// TsgcAIDocumentLowConfidenceEvent = procedure(Sender: TObject; const aField: string; aConfidence: Double) of object
—
Raised once per field whose confidence is lower than MinConfidence, after the data has been validated. aField is the field path, for example total or lines[0].amount. Requires IncludeConfidence.
procedure TForm1.oExtractorLowConfidence(Sender: TObject;
const aField: string; aConfidence: Double);
begin
Memo1.Lines.Add(Format('Review %s (%.2f)', [aField, aConfidence]));
end;