Duplicate a Machine Learning Model

Members with the required privileges who intend to create two Coveo Machine Learning (Coveo ML) models with a similar configuration, should consider creating one model and then duplicating it. Duplicating a model can save time, especially if the configuration involves advanced parameters (see Custom Model Parameters). Once the first model is duplicated, you can then edit the desired parameters in the copy­.

Duplicating a model only replicates the configuration of the original model. Therefore, the duplicated model must be trained to provide recommendations.

In the Coveo Administration Console, there are currently two methods to duplicate models:

Duplicate a Coveo Machine Learning Model Using the “Duplicate” Button

  1. On the Models (platform-eu | platform-au) page of the Administration Console, click the model that you want to duplicate, and then click More > Duplicate in the Action bar.

    You should now see a new model named [duplicated model name]_copy.

    DuplicateModel

  2. Make the desired changes to the configuration of the model copy by either:

Duplicate a Coveo Machine Learning Model JSON Configuration

  1. On the Models (platform-eu | platform-au) page of the Administration Console, click the model that you want to duplicate and modify, and then click More > Edit JSON in the Action bar.

  2. In the Edit a Model JSON Configuration panel that appears, copy the entire JSON configuration inside the curved brackets ({}), and then click Cancel.

  3. Back on the Models (platform-eu | platform-au) page:

    1. On the right-hand side of the page, click the Add Model drop-down menu, and then select Add model with JSON.

    2. In the Add a Model With JSON panel that appears:

      DuplicateModel

      1. Under "engineId": "[value]",, replace the rest of the JSON configuration with the one you copied in step 3.

      2. Change the modelDisplayName parameter value, as each model name must be unique.

      3. Make the desired changes to the model JSON configuration, and then click Add Model (see Creating a Model With JSON).

        Back on the Models (platform-eu | platform-au) page, a row for the new model appears at the bottom of the model list.

What’s Next?

Required Privileges

By default, members of the Administrators and Relevance Managers built-in groups can view and edit elements of the Models (platform-eu | platform-au) page.

The following table indicates the privileges required to use elements of the Models page and associated panels (see Manage Privileges and Privilege Reference).

Action Service - Domain Required access level
View models

Machine Learning - Models

Search - Query pipelines

View
Edit models

Machine Learning - Models

Edit

Search - Query pipelines

View
What's next for me?