---
sourceDocument: Xanadu Customer Service Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/customer-service-management

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu Customer Service Management

ft:clusterId :

    - csm

bundleId :

    - csm

workflow :

    - Customer and Industry


---

# Create a model to predict record fields

# Create a model to predict record fields {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 3 minutes to read

Create and train a model to predict fields for case and interaction
records.

Before you begin
:   Role required: ml_admin, admin

About this task

:   The field prediction model is a guide that includes some recommended settings. You can use these settings, such as the recommended input fields, or add your own preferences.You can create and train multiple field prediction models
    for cases, case types, and interactions.

## Set up your model {#csm-task-intel-create-cat-solution__section_icx_xdz_g5b}

1. Navigate to AllTask Intelligence for Customer ServiceSetup to access the Task Intelligence Admin Console.
2. Select Set up model on this model: Predict field choices to reduce handle time.

   This opens the model and displays the first of five pages. Each page in the model asks you
   questions and helps you select the information you need to build an effective model.
{#csm-task-intel-create-cat-solution__ol_lzt_g2z_g5b}

## Define the purpose {#csm-task-intel-create-cat-solution__section_l1j_32z_g5b}

Select the table and the trigger for the model's predictions.

You can have the model predict case or interaction fields when a new customer email arrives or when an interaction is created. Base your decision on the data that your model should use to make the predictions.

|-|-|
| Choose the type of table that has the fields you want to predict | Select the table type: * Cases * Interactions {#csm-task-intel-create-cat-solution__ul_kdp_xj4_qyb}The model uses data from the selected table to make predictions. |
| Choose the source of data for a prediction | Select the source for the prediction: * Cases * Emails * Interactions {#csm-task-intel-create-cat-solution__ul_qbp_ck4_qyb} |
| Choose the condition that needs to be met | Select the condition for the prediction: * After create: A prediction is triggered after a case is created. * On change: A prediction is triggered when a field is modified. {#csm-task-intel-create-cat-solution__ul_byp_vnz_rcc} |
| Choose to include optional training inputs | Enable the check box to include attachments when training the model. Email and record attachments can have information that is useful for routing records correctly. |
[Table 1. Select the table and trigger]

{#csm-task-intel-create-cat-solution__table_tkc_2yb_d5b}  
1. Choose a table type for the model.
2. Choose the source of data for prediction.
3. Choose the condition.
4. If desired, enable the check box to include attachment data.Include text from email or record attachments if this information is useful for making predictions. The model can evaluate attachment data, along with email
   or record text, to make predictions.

5. Select Save \& continue.
{#csm-task-intel-create-cat-solution__ol_xv1_42z_g5b}

## Train your model {#csm-task-intel-create-cat-solution__section_ikw_32z_g5b}

Select the input fields and output fields so your model can learn patterns. Output fields are the fields that you want the model to predict. Input fields are the fields that the model uses to make predictions.  
Selecting this information tells the model what to look for during training.  
Note:  
You can use the recommended settings or select different ones.

1. Provide a name for the model.
2. Choose the output table and the output fields for the model to predict.
3. Select conditions to choose a set of records for training.The selected conditions determine both how the model is trained and act as a filter for the conditions that a record has to meet in order for predictions to be
   made.

4. Select the fields in the training data that the model should use to make the predictions (input fields).

5. Choose the input fields.
6. Review the resulting number of cases in the training data based on the selected conditions.The model needs a minimum of 500 records for effective training. If this minimum number isn't available, try selecting
   different conditions.

7. Select Launch training.

   Training can take some time, particularly if you are training the model on a large amount of data. You can request that the system send you an email when the training is
   done.
{#csm-task-intel-create-cat-solution__ol_hzp_w2z_g5b}

## Assess your model {#csm-task-intel-create-cat-solution__section_eh3_j2z_g5b}

Assess the results from the training and view sample results for the predicted fields. Reviewing the results gives you a preview of how your model will perform after being deployed.

Select the prediction preference for each field. The model provides flexible options to autofill field values, provide recommendations for field values, monitor only, or turn off predictions depending
on the sensitivity of those fields.

1. Select a Prediction preference for each enabled field.  

   |-|-|
   | Autofill | Adds the best predicted value to the field on the record. |
   | Recommendations | Shows the recommended value in a message below the field. |
   | Monitor only | The system makes the field predictions and stores the information in the Predictions History but does not add any information to the case records. |
   | Turn off predictions | Turns off predictions for the field. |
   [ ]

   {#csm-task-intel-create-cat-solution__table_arg_4fd_d5b}
2. Select View sample results to see sample results for each predicted field.
3. Select Save \& continue.
{#csm-task-intel-create-cat-solution__ol_ukw_rfz_g5b}

## Deploy your model {#csm-task-intel-create-cat-solution__section_w13_k2z_g5b}

Review your choices from the previous pages and information about how the model was trained. Then you can select Deploy to deploy the model.

*[\>]: and then


