TsgcAIDocumentExtractor › Properties
Published properties grouped by purpose, followed by the full alphabetical list.
| Name | Description |
|---|---|
| AIChat | The TsgcAIChat component that sends the documents to the AI provider. |
| Name | Description |
|---|---|
| Preset | Selects a built in schema (invoice, receipt, identity document) instead of Schema. |
| Schema | JSON Schema of the data to extract, used when Preset is dpCustom. |
| Instructions | Additional extraction instructions appended to the prompt. |
| SchemaName | Name sent to the provider together with the schema. |
| Name | Description |
|---|---|
| ValidationRetries | Number of times the model is asked again when the data does not validate. |
| RaiseOnInvalid | Raises EsgcAIDocumentExtractor when the data still does not validate after the retries. |
| IncludeConfidence | Asks the model for a confidence value per extracted field. |
| MinConfidence | Threshold under which OnLowConfidence is raised for a field. |
| Name | Description |
|---|---|
| OCR | Local OCR component used by OCRMode. |
| OCRMode | When the local OCR is used instead of sending the attachments to the model. |
| Name | Description |
|---|---|
| LastResult | Result of the last extraction: data, validation errors, confidences and OCR text. |
| Name | Description |
|---|---|
| Version | Read-only component version string. |
| Name | Description |
|---|---|
| AIChat | The TsgcAIChat component that sends the documents to the AI provider. |
| IncludeConfidence | Asks the model for a confidence value per extracted field. |
| Instructions | Additional extraction instructions appended to the prompt. |
| LastResult | Result of the last extraction: data, validation errors, confidences and OCR text. |
| MinConfidence | Threshold under which OnLowConfidence is raised for a field. |
| OCR | Local OCR component used by OCRMode. |
| OCRMode | When the local OCR is used instead of sending the attachments to the model. |
| Preset | Selects a built in schema (invoice, receipt, identity document) instead of Schema. |
| RaiseOnInvalid | Raises EsgcAIDocumentExtractor when the data still does not validate after the retries. |
| Schema | JSON Schema of the data to extract, used when Preset is dpCustom. |
| SchemaName | Name sent to the provider together with the schema. |
| ValidationRetries | Number of times the model is asked again when the data does not validate. |
| Version | Read-only component version string. |