SearchRecommendationsRequest

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A list of item IDs to rank for the user. Use this when you want to re-rank a specific set of items rather than getting recommendations from the full item catalog. Required for personalized-ranking use cases.

Link copied to clipboard

The contextual metadata used to provide dynamic runtime information to tailor recommendations.

Link copied to clipboard

Runtime diversity configuration for this request. Enables diversity-aware recommendations and optionally supplies values for placeholder-based diversity caps configured on the recommender.

Link copied to clipboard

The unique name of the domain.

Link copied to clipboard

A searchable identifier of a customer profile. You can use a predefined key, such as _profileId, _phone, or _email, or a custom-defined key.

Link copied to clipboard

A list of key values. Provide one value for each field of the search key.

Link copied to clipboard

The maximum number of recommendations to return. The default value is 5.

Link copied to clipboard

Configuration for metadata to include in recommendation responses.

Link copied to clipboard

The recommender used to generate the recommendations.

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String