---
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 detect case language

# Create a model to detect case language {#ariaid-title1}

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

Edit and test the pre-trained model to detect the language used to create customer
service cases.

Before you begin
:   Role required: ti_admin, admin

About this task

:   The language detection model is a pre-trained model. You select a set of records to test the model and then view the results before deploying.Using the language detection
    model automatically enables the Task Intelligence Case Language Detection flow and
    the sn_csm_ml_task.case.language.mlpredictor.enabled
    property.

Prerequisite
:
    * Activate the I18N: Internationalization plugin
    * Enable the ServiceNow translator.

    {#csm-task-intel-create-language-solution__ul_zqs_ltg_hvb}For more information, see [Configure language detection](https://servicenow-prod.fluidtopics.net/KJYTg748UdvHy_WHPZdn1g "Activate the required plugins and flows to use the language detection feature.").

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

1. Navigate to AllTask Intelligence for Customer ServiceSetup to access the Task Intelligence Admin Console.
2. Select Edit model on this model: Predict case language to improve assignments.

   This opens the model and displays the first of four 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-language-solution__ol_lzt_g2z_g5b}

## Test your model {#csm-task-intel-create-language-solution__section_ar2_b34_x5b}

Choose the cases to use to test the model.

Selecting this information tells the model which records to use for testing. When the model is deployed, it predicts the language on all records in the table that match the selected conditions.

1. Use conditions to choose a set of records for testing.
2. Select Launch testing.
{#csm-task-intel-create-language-solution__ol_yd2_rlv_h5b}

## Assess your model {#csm-task-intel-create-language-solution__section_agk_234_x5b}

Assess the results from the testing and view sample results for past cases.

Reviewing the results gives you a preview of how your model will perform after being deployed.

1. Select View all test results to see a list of results.
2. Select Save \& continue.
{#csm-task-intel-create-language-solution__ol_glg_b1n_z5b}

## Set your preferences {#csm-task-intel-create-language-solution__section_of1_f34_x5b}

Tell the model how you want to use the language predictions.

1. Use predictions in new cases.
   1. Add the predicted language in the Language field in cases.
   2. Use the language prediction as a skill to assist with case routing (add the language skill to the Task Skills table for the case record).
   {#csm-task-intel-create-language-solution__ol_b5q_fcn_z5b}
2. If desired, you can run the model in the background only.With this option, the system
   makes the language predictions and stores the information in the Predictions History but does
   not add any information to the case records.

3. Select Save \& continue.
{#csm-task-intel-create-language-solution__ol_n34_2mv_h5b}

## Deploy your model {#csm-task-intel-create-language-solution__section_h3d_l34_x5b}

Review your selections from the previous pages. Then you can select Deploy to deploy the model.

*[\>]: and then


