Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
product recommendation api.drawioImage Modified

Configuration

Configuration of the product recommendation feature for Quotes is stored in advanced configuration property quoteProductRecommendationsConfig.

This property stores the link to the model with product recommendation data.

Code Block
languagejson
themeMidnight
titleExample of product recommendation configuration in advanced property quoteProductRecommendationsConfig
linenumbersfalse
{
  "recommendationsEnabled": true,
  "modelName": "ProductRecommendation",
  "evaluationName": "ProductRecommendation_Eval",
  "elementName": "ProductRecommendation",
  "allowDuplicates": false,
  "categories": [
    {
      "categoryName": "customer",
      "defaultMaxResults": 10,
      "enabled": true
    },
    {
      "categoryName": "productHistory",
      "defaultMaxResults": 5,
      "enabled": true
    },
    {
      "categoryName": "customerSegment",
      "defaultMaxResults": 5,
      "enabled": true
    }
  ]
}

...