Skip to content

Recommender

Source code in docs_src/capo_customer_profiles/types/recommender.py
class Recommender(TypedDict, closed=True):
    name: "capo_customer_profiles.types.name.name"
    """<p>The unique name of the recommender.</p>"""
    filters: NotRequired[
        "capo_customer_profiles.types.recommender_filters.RecommenderFilters"
    ]
    """<p>A list of filters to apply to the returned recommendations. Filters define criteria for including or excluding items from the recommendation results.</p>"""
    promotional_filters: NotRequired[
        "capo_customer_profiles.types.recommender_promotional_filters.RecommenderPromotionalFilters"
    ]
    """<p>A list of promotional filters to apply to the recommendations. Promotional filters allow you to promote specific items within a configurable subset of recommendation results.</p>"""

filters instance-attribute

filters: NotRequired[RecommenderFilters]

A list of filters to apply to the returned recommendations. Filters define criteria for including or excluding items from the recommendation results.

name instance-attribute

name: name

The unique name of the recommender.

promotional_filters instance-attribute

promotional_filters: NotRequired[RecommenderPromotionalFilters]

A list of promotional filters to apply to the recommendations. Promotional filters allow you to promote specific items within a configurable subset of recommendation results.