You can use the AI configuration application to enable AI-recommended values for fields.
The field value recommendations use the mcc model template. This configuration does not support
problem code recommendations in work orders. That AI feature requires a separate configuration.
Before you begin
If you are deploying Maximo® AI
Service on-premises, review the entire
process for enabling AI features and complete all prerequisites, including deploying Maximo AI
Service. For more information, see Maximo AI Service and AI features in Maximo Manage.
If you are using Maximo AI
Service SaaS, ensure that you have specified
values for the Maximo Manage system properties. For more information,
review your welcome letter.
In both cases, prepare the required components. For more information, see Preparing required components for field value recommendations.
About this task
After recommendations are enabled, the recommendation feature is accessible to all users who have
access to the base record. For example, if you enable this feature for work orders, all users with
access to work orders can see the feature.
To configure AI-recommended problem codes for work orders, you must enable another type of AI
configuration. For more information, see Enabling recommended problem codes for Work orders.
Procedure
- In
Maximo Manage, in the AI configuration
application, click Add configuration.
- In the Name field, specify a name
- Optional: In the Decription field, specify a
description.
- In the Template field, select the mcc template.
- In the Template version field, select the latest template
version.
- In the Object structure field, select the object structure that
you used in the invocation channels and the training and inference filters.
- Optional: In the Target object path
field, select the hierarchy path for the child object.
This value is required only when
the inference is on an attribute of a child object and not the main object of the object structure.
When you select child objects, during training and inferencing, the target object path maps the
hierarchy path in the object structure. The hierarchy path supports only the immediate child to the
root object.
- In the Attribute field, specify the specific object structure
attribute that represents the field for which you want to generate recommended values. Select the
same attribute as you specified in the invocation channel request template for
training.
- Optional: In the Target description field, specify the
name of the attribute that contains the description for the target attribute.
For
example, if the target attribute is for work types, specify the description field object for work
types. By selecting the target description, the model can more effectively recommend
values.
- In the Training invoke channel field, select the invocation
channel for training.
- In the Training filter field, select the training
filter.
- In the Inference invoke channel field, select the invocation
channel for inferencing.
- In the Inference filter field, specify the inferencing
filter.
- Click Create.
- In the AI configurations table, select the AI configuration that you
created.
- Set up arguments.
Arguments control some aspects of the models output,
such as the threshold for acceptable values.
- Click .
- Specify a value for the arguments. The following table describes the arguments. You
must set a value for the features argument.
Table 1. Arguments for mcc model
template
| Argument key |
Description |
Type |
Default value |
| features |
Specify the description-related features that you specified in the query templates for the object
structure. Specify a comma-separated list.
If the target attribute description is sourced from a related object, specify only the attribute
description.
To specify a description that is a child attribute of multiple related objects, use the following
notation:
relationship_name.attribute_name*
|
string |
No default value |
| score _threshold |
The model generates a score that measures how recommendable each value is. Values that have
scores above the threshold are considered for recommendation.
If you are setting up this type of recommendation for the first time, you might choose to set the
score threshold to a lower value. A lower value increases the likelihood of any output from the
model, although it does typically decrease desirable output, especially if the training filter does
not contain diverse or adequate amounts of data.
|
integer |
0.5 |
- Click Save.
- Optional: In the Edit AI configuration dialog, specify
information about your model.
- Click
.
- In the Additional details for AI explained section, provide any information that is
specific to your organization and relevant to your end users to help them understand the model and
its output.
An AI icon is located alongside your model's output.
Your users can click the AI icon and then access any information you specify
in this section alongside other general model information that's provided by IBM. You can complete
the AI configuration process, review the AI icon and its content in context,
and then edit this section later as needed.
- Click Save.
- Click .
- Click
Activating the AI configuration indicates that the AI configuration is prepared and the model is
ready to be trained.
- Optional: Change the frequency of the training process
Training is controlled on a crontask schedule. The AITRAINJOB crontask initiates training for all
eligible AI configurations. By default, the crontask runs every five minutes.
For more information, see Cron tasks for training and inferencing.
If you want training to run sooner, you can edit the cron task schedule.
- In
Maximo Manage, in the Cron Task Setup
application, open the AITRAINJOB cron task.
- In the Cron Task Instances table, for the WOAI instance, in the
Schedule field, change the value.
Wait a few minutes before continuing to the next step.
- In the AI configuration application, in the AI configuration for field value
recommendations, click
Training begins when the AITRAINJOB crontask runs. Training can take a few hours.
For conceptual information about training, see Model training overview.
You can monitor training in the Model training log table or in the
Model status dialog.
The Model training log table is in the AI configuration that you created
and contains step-by-step updates for the training process, but you must refresh the page to see
updates. To refresh the page, click Refresh.
To access the Model status dialog, in the AI configuration, click
.
The model accuracy score is a measure of how the model performs on the training data. The score
represents the amount of values that the model recommended that it considers reasonable to be the
correct or best value. The closer to 1, the more accurate the output likely is in context of the
data on which the model was trained. If the model was trained on data that was not complete or
diverse but the score threshold is low, the accuracy score might be high but the output is not
accurate.
If training fails, you can complete some troubleshooting steps. For more information, see Troubleshooting Maximo AI Service and AI features.
What to do next
Inferencing is controlled on a crontask schedule and is initiated immediately after training. The
AIINFJOB crontask initiates inferencing for all eligible AI configurations. By default, the crontask
runs every hour. If inferencing is not run promptly after training is completed, you can change the
crontask schedule.
- In
Maximo Manage, in the Cron Task Setup application, open
the AIINFJOB cron task.
- In the Cron Task Instances table, for the WOAI instance, in the Schedule
field, change the value.
After inferencing is complete, locate the field that contains the AI recommendations. Confirm
that the recommendations appear as expected. For recommendations to be enabled, the base record must
be included in the inference filter.
If you want to retrain the model on new data in the same filters or you want to edit the
arguments, make the changes and then in the AI configuration, click
.
If you need to change other configuration settings, you must deactivate the configuration first.
In the AI configuration, click
, edit the
configuration, activate the model again, and then click
.