Skip to end of metadata
Go to start of metadata

In this topic:

One of the many advantages of using a Pro or Enterprise Cloud edition of Coveo for Sitecore is the possibility to use Coveo™ Machine Learning (Coveo ML). Coveo ML is a powerful analytics-based machine learning service that continuously analyzes search behavior patterns by leveraging the Usage Analytics to determine what are the most relevant items related to any given query. Coveo ML can also provides proactive query recommendations to your users which you can place either on a search page or anywhere on your website where recommendations are useful.

Enabling Coveo Machine Learning in Coveo for Sitecore

By default, when you install Coveo for Sitecore, two Machine Learning models are created: one for relevance tuning (see Automatic Relevance Tuning Feature) and one for query suggestions (see Query Suggestions Feature). They start gathering data right from the beginning to train the models to ultimately enhance your search relevance. You can also add a model to enable the Recommendations on your website to redirect users to the page they are most likely to need according to their search profile (see Recommendations Feature). 

For the models to work properly, you need to:

  1. Index with Coveo Cloud (Coveo ML is exclusive to the cloud platform).
  2. Have enough Analytics data (the more data there is, the more precise the models are).

If you do not have a high traffic on your search pages, the models will keep building until there is enough data to enable the relevance boosting in queries.

Enabling Coveo ML Query Suggestions Within a Coveo Search Page

Coveo for Sitecore enables Coveo ML within your search pages right out of the box. This section explains how to enable/disable Coveo ML query suggestions.

To check if query suggestions are enabled:

  1. In your Sitecore instance, in your launchpad, open the Content Editor.
  2. In the navigation tree on the left, under Content, select a Coveo search page, and open it in the Experience Editor.
  3. Click a blank space in the page and open the properties of the Coveo Search component.
  4. In the Searchbox Suggestions section, locate the Searchbox suggestions behavior option.
  5. To enable Coveo ML query suggestions, ensure Query suggestions is selected and Coveo Machine Learning Advanced Query Suggestions is checked.

Sending Data to Coveo Usage Analytics

Icon

Coveo for Sitecore pages will only send data to Coveo Usage Analytics when actual users access them on your website and never when you edit the pages in the Content Editor.

Coveo for Sitecore already enables search pages to send data to Coveo Usage Analytics right out of the box. This section explains how to enable/disable this functionality.

To check if Coveo Usage Analytics is enabled:

  1. In your Sitecore instance, in your launchpad, open the Content Editor.
  2. In the navigation tree on the left, under Content, select a Coveo search page, and open it in the Experience Editor.
  3. Click a blank space in the page and open the properties of the Coveo Search component.
  4. Scroll down to the Analytics section and make sure that Enable Coveo Usage Analytics is enabled.

Configuring a Model for Coveo Machine Learning

The models for Coveo ML are all created and managed in the Coveo Cloud administration console which you can access directly or via the Control Panel in Sitecore.  By default, the models are trained every week and use data of the last 3 months to ensure they are always up to date and suggesting the most relevant queries or items to your users at any given time. If the users change their behavior over a certain period of time, so will the Coveo ML models. 

The models are tethered to a query pipeline in your organization (What Is a Query Pipeline?):

  1. Log in to the Coveo Cloud administration console.
  2. In the sidebard, navigate to Search > Query Pipelines.
  3. Double-click the default pipeline or select it and click Edit Components.

    Icon

    The default pipeline is created when you first install Coveo for Sitecore. You may have other pipelines in your organization or the default pipeline may be named differently. You must then select the pipeline that is used by your website Coveo search components.

  4. In the Machine Learning tab, click Add Model and then select Configuration Panel.
  5. In the Add a Machine Learning Model panel, you can add any of the three models:
    1. Tune relevance (see Manage Automatic Relevance Tuning (Coveo Cloud V2))
    2. Suggest queries (see Manage Query Suggestions (Coveo Cloud V2))
    3. Give recommendations (see Manage Recommendations (Coveo Cloud V2))

 

 

  • No labels