Builder

class Builder

Properties

Link copied to clipboard

The type of diversity cap to apply. Valid values are PERCENTAGE (interpret Target as a percentage of returned items) and VALUE (interpret Target as an absolute count).

Link copied to clipboard
var name: String?

The name of the item catalog column on which to apply the diversity cap. The column must be defined in the recommender schema.

Link copied to clipboard

The diversity cap target. Either an integer literal (for example, "25") or a placeholder expression of the form $name whose value is supplied at inference time through GetProfileRecommendations.