Skip to main content
Version: 10.3

AutoML plugins

AutoML plugins provide the capability to interact with AutoML services from Bot Tasks.

automl-train-start

The plugin sends a request to start training to AutoML services.

The plugin contains the following attributes:

NameRequiredDescription
versionYesPlugin version: 1 for the WorkFusion platform v10.x.
timeoutNoRequest a connection and read timeout in milliseconds. If not defined, request without a timeout.
model-idYesProvide an ID used as a trained model ID.
model-artifact-idYesModel identification in the following format: <model-code>:<model-version>.
fieldsYesTrained fields as JSON. See FieldInfo for more information.
parametersNoAdditional parameters in the <parameter name, parameter value> format mapped as JSON.

The response contains a stringified JSON with the following attributes:

  • status: request status code
  • body: response message
Response example
<?xml version="1.0" encoding="UTF-8"?>
<config>
...
<var-def name='startTrainResult'>
<automl-train-start version='1'
model-id='${experimentGroup}'
model-artifact-id='${modelArtifactId}'
fields='${fieldInfosJson}'
parameters='${parameters}'
/>
</var-def>
...
</config>

automl-train-status

The plugin sends a request to get training status from AutoML services.

The plugin contains the following attributes:

NameRequiredDescription
versionYesPlugin version: 1 for the WorkFusion platform v10.x.
timeoutNoRequest a connection and read timeout in milliseconds. If not defined, request without a timeout.
model-idYesProvide an ID of the checked trained model.
parametersNoAdditional parameters in the <parameter name, parameter value> format mapped as JSON.

The response contains the stringified JSON with the following attributes:

  • status: request status code
  • body: model training status
    • body.state
    • body.message
Example
<?xml version="1.0" encoding="UTF-8"?>
<config>
...
<var-def name='trainStatusResult'>
<automl-status version='1'
model-id='${experimentGroup}'
/>
</var-def>
...
</config>
info

The automl-execute plugin previously used for the execution flow is deprecated starting with Work.AI v10.3. Use the OOTB Model step instead.