Testing a model
About this task
Use the following instructions to test a model.
Procedure
-
Open a view for an object that includes the model configuration. For example, if you
added the model to a Creation View, create a new object of that type.
Ensure that the view you added the model to is displayed as the View name. If it isn't, ensure that the stage on the workflow doesn't have a task override specified.
-
Do one of the following steps:
- If you configured the model to run automatically, enter or
modify values for the input fields that the model requires. The View Insights
button identifies an input field. If you configured notifications, a notification is displayed in
the field when the model finishes running. If your configuration is using the Set fields or Set tags insight type, and you selected Threshold set, one of the following actions occurs:
- If you specified a minimum confidence threshold, Set minimum confidence threshold for setting tags and fields, the fields or tags are automatically set if the threshold you specified is met or exceeded.
- If you did not specify a minimum confidence threshold and the model is configured to set fields, the first entry in the list is automatically applied to the field.
- If you did not specify a minimum confidence threshold and the model is configured to set tags, all tags are applied to the object.
If you want to see the results, click View Insights
associated with the input field you modified. The results are displayed in a side panel. You can
click the AI label
to view the AI model description that was used to generate insights for the
associated fields or the view. - If you configured the model to run manually, click
View Insights
associated with an input field to run the model. If you configured notifications, a notification is
displayed in the field when the model finishes running. The results are displayed in the
Insights panel. Click the AI label
to view the AI model description. If your configuration is using the Set fields or Set tags insight type, and you selected Threshold set, one of the following actions occurs:
- If you specified a minimum confidence threshold, Set minimum confidence threshold for setting tags and fields, the fields or tags are automatically set if the threshold you specified is met or exceeded.
- If you did not specify a minimum confidence threshold and the model is configured to set fields, the first entry in the list is automatically applied to the field.
- If you did not specify a minimum confidence threshold and the model is configured to set tags, all tags are applied to the object.
In the following figure, a model uses the Description field for input. When you click View Insights
,
the insights that the model generated from the Description are displayed in
the Insights panel.Figure 1. Example of using a view to test a Set tags model
You can also add a View AI insights button in the View Designer to trigger the model. The button can be placed anywhere in the canvas and can be customized to integrate with your model. For more information on the View AI insights button, see Adding machine learning models to buttons.Note: If the model you configured is of the View definition input type, then you can add only a View AI insights button in the View Designer to trigger the model instead of selecting fields to trigger it.The following image is an example of the View AI insights button customized for three different models in the View Designer for a Loss Event:

- If you configured the model to run automatically, enter or
modify values for the input fields that the model requires. The View Insights