Create and manage a Dynamic Navigation Experience (DNE) model
Create and manage a Dynamic Navigation Experience (DNE) model
To effectively rank facets and facet values, a Coveo Machine Learning (ML) DNE model learns from usage analytics events, such as search and click events in which end users interacted with facets and obtained the desired result items. Therefore, the more the model learns from facet-related actions performed by your end users, the more effectively it can rank facets and provide relevant search results.
Create a DNE model
-
On the Models (platform-ca | platform-eu | platform-au) page, in the upper-right corner, click Add Model to open the Add a Machine Learning Model panel.
-
Under Name, enter a meaningful display name for the model.
-
Under Model type, select Dynamic Navigation Experience, and then click Next.
-
(Optional) In the Learning Interval section, change the default and recommended Frequency and Data period values, and then click Next.
-
(Optional) In the Learn From section, add filters to refine the data that the model uses to make its recommendations.
-
(Optional) If you want to enable value autoselection in a facet, in the Facet Autoselect section, select the corresponding facet fields.
-
Click Add Model.
-
On the Models (platform-ca | platform-eu | platform-au) page, under the Status column, in the model row, the value is most probably Inactive.
NoteThe model value will change to Active when the model creation is complete (typically within 30 minutes, depending on the amount of usage analytics data to process). The model can only return recommendations when its status is Active.
For more information on Coveo ML model statuses, see the Status column reference.
-
(Optional) If you want to specify advanced parameters for your model, you can use the Advanced tab of the model configuration.
-
You can then associate the model with a pipeline to take advantage of the model in a search interface and test your model to ensure that it behaves as expected.
Make sure to follow the model association leading practices before associating your model with your production query pipeline.
Edit a DNE model
-
On the Models (platform-ca | platform-eu | platform-au) page, click the model you want to edit, and then click Edit in the Action bar.
-
On the subpage that opens, select the Configuration tab.
-
Under Name, you can optionally edit the model’s display name.
-
(Optional) In the Learning Interval section, change the Frequency and Data period values.
-
(Optional) In the Learn From section, add filters to refine the data that the model uses to make its recommendations.
-
Click Save.
-
On the Models (platform-ca | platform-eu | platform-au) page, under the Status column, in the model row, the value is most probably Updating.
NoteThe model value will change to Active when the model edition is complete (typically within 30 minutes, depending on the amount of usage analytics data to process). The model can only return recommendations when its status is Active.
For more information on Coveo ML model statuses, see the Status column reference.
-
You can then associate the model with a pipeline to take advantage of the model in a search interface and test your model to ensure that it behaves as expected.
Make sure to follow the model association leading practices before associating your model with your production query pipeline.
Create a DNE model with JSON
Advanced users who have the required privileges may want to create a model using a JSON configuration.
-
Access the Models (platform-ca | platform-eu | platform-au) page.
-
On the right side of the page, click
, and then select Add model with JSON.
-
In the Add a Model With JSON panel that appears, select Model configuration, and then modify the model placeholder configuration:
{ "engineId": "facetsense", "modelName": "<MODEL_NAME>", "modelDisplayName": "<MODEL_DISPLAY_NAME>", "exportPeriod": "<EXPORT_PERIOD>", "intervalTime": <INTERVAL_TIME>, "intervalUnit": "<INTERVAL_UNIT>" }
Where:
-
modelName
(string, required) is the name of the model, which must be unique in your Coveo organization. -
modelDisplayName
(string) is the name of the model appearing on the Models (platform-ca | platform-eu | platform-au) page. -
exportPeriod
(ISO-8601 string, required) is the period defining the age of the usage analytics data used to build the model. Must be in the ISO8601 period format (e.g.,PyYmMwWdDThHmMsS
).NoteUnless an
exportOffset
is specified, theexportPeriod
uses the moment when the model was generated as a base. -
intervalTime
(integer, required) is the number ofintervalUnit
(e.g.,DAY
,WEEK
, orMONTH
) between each update of the model. Must be between1
and30
inclusively. -
intervalUnit
(string enum, required) is the duration unit of the interval between each update of the model. SeeintervalTime
. Accepted values are:DAY
,WEEK
, andMONTH
.
-
-
Click Add Model.
The model now appears on the Models (platform-ca | platform-eu | platform-au) page.
|
Notes
|
Edit a DNE model JSON configuration
-
Access the Models (platform-ca | platform-eu | platform-au) page.
-
Click the desired model, and then click More > Edit JSON in the Action bar.
-
In the Edit a Model JSON Configuration panel that appears, modify the existing model configuration:
{ "modelDisplayName": "<MODEL_DISPLAY_NAME>", "exportPeriod": "<EXPORT_PERIOD>", "intervalTime": <INTERVAL_TIME>, "intervalUnit": "<INTERVAL_UNIT>", "commonFilter": "<COMMON_FILTER>", "customEventFilter": "<CUSTOM_EVENT_FILTER>", "exportOffset": "<EXPORT_OFF_SET>", "searchEventFilter": "<SEARCH_EVENT_FILTER>", "viewEventFilter": "<VIEW_EVENT_FILTER>", "extraConfig": [<ADVANCED_ML_PARAMETERS>], }
Where:
-
modelDisplayName
(string) is the name of the model appearing on the Models (platform-ca | platform-eu | platform-au) page. -
exportPeriod
(ISO-8601 string, required) is the period defining the age of the usage analytics data used to build the model. Must be in the ISO8601 period format (i.e.,PyYmMwWdDThHmMsS
).NoteUnless an
exportOffset
is specified, theexportPeriod
uses the moment when the model was generated as a base. -
intervalTime
(integer, required) is the number ofintervalUnit
(i.e.,DAY
,WEEK
, orMONTH
) between each update of the model. Must be between1
and30
inclusively. -
intervalUnit
(string enum, required) is the duration unit of the interval between each update of the model. SeeintervalTime
. Accepted values are:DAY
,WEEK
, andMONTH
. -
commonFilter
(string) is the filter to apply to the common event dimensions (shared by all event types) in the export. Multiple filter parameters are joined with theAND
operator. -
customEventFilter
(string) is the filter to apply to the custom event dimensions in the export. Multiple filter parameters are joined with theAND
operator. -
exportOffset
(ISO-8601 string) is the offset of the usage analytics data used to build the model. Must be in the ISO8601 period format (i.e.,PyYmMwWdDThHmMsS
). The default value isPT0S
, meaning that all events are considered when building a model (theexportPeriod
is based on the moment the model was generated).ExampleYou want to ignore events that occur on the current day, so you set the
exportOffset
value toP1D
. -
searchEventFilter
(string) is the filter to apply to the click and search event dimensions in the export. Multiple filter parameters are joined with theAND
operator. -
viewEventFilter
(string) is the filter to apply to the view event dimensions (shared by all event types) in the export. Multiple filter parameters are joined with theAND
operator. -
extraConfig
(array of string) are additional advanced parameters used to tailor the model to your use case.
-
-
Click Save to apply your changes.
Delete a DNE model
|
You must Dissociate a model from all its associated query pipelines before deleting it. Models aren’t automatically dissociated from pipelines when they’re deleted. |
-
On the Models (platform-ca | platform-eu | platform-au) page, click the ML model that you want to delete, and then click More > Delete in the Action bar.
-
In the Delete a Model panel that appears, click Delete model.
Review active model information
On the Models (platform-ca | platform-eu | platform-au) page, click the desired model (must be Active), and then click Open in the Action bar (see Reviewing Coveo Machine Learning model information).
Reference
DNE models reference
-
Default number of expanded facets: 4
-
Default number of displayed values in expanded facets: 8
While you can change both values, it’s not recommended and requires developer skills.
"Status" column
On the Models (platform-ca | platform-eu | platform-au) page of the Administration Console, the Status column indicates the current state of your Coveo ML models.
When inspecting the Status column, a given model is either in the Active or Inactive state. Additional information can be displayed depending on the model’s current state.

The following table lists the possible model statuses, their definitions, and their status colors as shown in the Administration Console:
Status | Definition | Status color |
---|---|---|
Active |
The model is active and available. |
|
Inactive |
The model isn’t available. |
|
Update in queue |
Waiting to process a scheduled update or configuration change. |
|
Updating |
The model is being rebuilt based on a new configuration. |
|
Waiting |
The model is in the building queue. |
|
Building |
The model is currently being processed. |
|
Degraded |
The model is active, but has some limitations. Additional information is available in the Error section of a model (see Review Coveo Machine Learning model information). |
|
Failed |
The model couldn’t be built with the requested configuration. Additional information is available in the Error section of a model (see Review Coveo Machine Learning model information). See Edit a DNE Model for information on how to edit a model configuration. |
|
Update failed |
The model couldn’t be updated with the requested configuration. |
|
Error |
An error prevented the model from being built successfully. |
|
Archived |
The model was archived because it hasn’t been queried for at least 30 days. |
“Learning Interval” section
In this section, you can modify the following:
The more data the model has access to and learns from, the better the recommendations. As a general guide, a usage analytics data set of 10,000 queries or more typically allows a Coveo ML model to provide very relevant recommendations. You can look at your Coveo Usage Analytics (Coveo UA) data to evaluate the volume of queries on your search hub, and ensure that your Coveo ML models are configured with a training Data Period that corresponds to at least 10,000 queries. When your search hub serves a very high volume of queries, you can consider reducing the data period so that the model learns only more recent user behavior and be more responsive to trends.
A Coveo ML model is regularly retrained on a more recent Coveo UA data set, to ensure that recent user behavior is learned and that the model freshness maintained.
Set the Coveo ML model training Frequency based on the Data Period value. Less frequent for a larger Data Period and more frequent for a smaller Data Period as recommended in the following table.
Data Period |
Frequency |
||
---|---|---|---|
Daily |
Weekly |
Monthly |
|
1 month |
|||
3 months (Recommended) |
|||
6 months |
|
Note
If you’re testing the model in a sandbox environment in which very little analytics data is available to train the model, you can activate the Test configuration mode advanced option to ensure the model provides recommendations. |
“Learn From” section
The Learn From section allows you to refine the data that the model uses to make its recommendations. By narrowing down the set of data that a model uses, you can better customize relevancy for specific user groups and use cases. You can apply filters on all events, or on every event that belongs to a specific category (i.e., search, click, view, or custom events).
Depending on the search interfaces in which the model is used, you want your DNE model to learn differently. Therefore, you add a filter on the Origin 1 (Page/Hub) dimension.
To add an event filter:
-
(When creating a model only) Click
.
-
In the Select a dimension dropdown menu, select the dimension on which you want to base the learning of the model.
-
In the Select an operator dropdown menu, select the appropriate operator.
-
In the Select value(s) dropdown menu, add, type, or select the appropriate value.
-
Click Add filter.
"Facet Autoselect" section
In the Facet Autoselect section, you can optionally enable the DNE automatic selection of facet values feature.
When enabled, this feature automatically selects facet values according to the end-user query. The feature learns from your end-users behaviors to understand which categories are the most relevant according to their current browsing task.
The Facet Autoselect section lets you choose the facet fields to which the automatic selection of facet values should apply.
To enable the autoselection of facet values:
-
In the Select facet fields dropdown menu, select the fields for which the automatic selection of facet values should apply.
-
In the Associated sources section, depending on whether you want the field selection from step 1 to apply to all or specific matching sources:
-
Select All if you want all items matching the fields selected in step 1 to be taken into account by the model.
-
Select Specific if you only want items matching the fields of specific sources to be taken into account by the model. You can then deselect undesired sources.
-
-
Click Add model.
|
Notes
|
Required privileges
By default, members with the required privileges can view and edit elements of the Models (platform-ca | 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 |
View |
Edit models |
Organization - Organization |
View |
Machine Learning - Models |
Edit |