Configuring Coveo Machine Learning Models

All Coveo™ for ServiceNow components automatically log usage analytics events. Once sufficient usage analytics data has been gathered, this data can be leveraged by Coveo Machine Learning (Coveo ML) models to provide highly relevant AI-powered recommendations.

This article explains how a ServiceNow instance administrator or developer who has access to the Coveo Cloud organization linked to their instance can configure their Coveo ML models.

To configure your Coveo ML models

  • In your Coveo Cloud organization:
    1. Create a new query pipeline without a condition (see Managing Query Pipelines - Create a Query Pipeline).

      All Coveo ML models must be associated with a query pipeline. While nothing prevents you from associating your Coveo ML models to your default query pipeline, it is a good practice to rather associate them to a distinct query pipeline so that you can measure the impact of Coveo ML through A/B testing before allowing all queries to be processed by your Coveo ML models.

    2. Configure an automatic relevance tuning (ART) model in the query pipeline your created at Step 1 (see Managing Coveo ML Automatic Relevance Tuning).

      An ART model uses Intelligent Term Detection (ITD) to automatically refine queries with additional contextual information (e.g., important keywords from a large textual case description). It also ensures that items deemed highly relevant are included in the query result set and have a fairly high ranking score value, even if those items do not actually match the original query.

    3. Configure a query suggestions model in the query pipeline your created at Step 1 (see Managing Coveo ML Query Suggestions).

      A query suggestions model provides a list of relevant query completion suggestions as the end-user is typing in a search box. It can also make the search-as-you-type feature more powerful and reliable.

    4. Optionally, if you want to evaluate how well your Coveo ML models are performing before routing a larger portion of queries to the query pipeline in which they are defined, setup an A/B test between the default empty query pipeline and your new query pipeline, which now contains your Coveo ML models (see Managing A/B Tests).

What’s Next