This module collects class implementations for interfaces defined in saasy-ml-app-plugins-api. SaaSyML users must implement classes in this module that extends the ExpectedLabels
interface in saasy-ml-app-plugins-api to train classification models with expected label that are determined by custom logic executed while training data is being fetched.
Read the documentation on getting started with the Plugin Framework for Java (PF4J).
To implement and run new plugins:
- Create a new module directory as the plugin directory.
- Implement the plugin class(es) and the necessary files under the plugin directory.
- List the module in the
saasy-ml-app-plugins
parent pom.xml. - Run
mvn clean install
from thesaasy-ml-app-plugins
parent directory. - Copy the
x-all.jar
build artifacts intosaasy-ml-app/plugins
. - Build and run
saasy-ml-app
. - Set the
labelsPlugin
JSON payload property when invoking the API requests to enable the training data feed subscription or to save training data provided by the user.
The following custom expected label plugins are available as reference implementations: