IProcessingEvents Interface
This is a callback interface that is used for reporting events from the ClassificationTrainer and the FieldsExtractionTrainer objects during classifier training, field extraction training and NLP models training. The object implementing the IProcessingEvents Interface is connected to the trainer objects via the IConnectionPointContainer interface.
This interface is implemented on the client side. See the detailed implementation advice for your development tool in Working with Connectable Objects.
It is also used by the methods of other objects to report progress and warnings; those methods receive the object implementing this interface as an input parameter.
Methods
Name | Description |
---|---|
OnError | Called when an error is reported. Delivers to the client information about the errors which occur during the processing. |
OnMessage | Called when a message is reported. Allows the client to terminate the current operation of the processing. |
OnProgress | Delivers to the client information about approximate readiness of the current operation. |
OnWarning | Called when a warning is reported. Delivers to the client information about the warnings which occur on the client side. |
Input parameter
The following methods receive a pointer to an object implementing this interface as an input parameter:
- Commit method of the DataSetTableRecords object
- Commit method of the BusinessUnitRecords object
- Commit method of the VendorRecords object
- LoadClassifier method of the ClassificationTrainingBatch object
See also
15.08.2023 13:19:30