Skip to content

GetPersonalizedRankingResponse

Source code in docs_src/capo_personalize_runtime/types/get_personalized_ranking_response.py
class GetPersonalizedRankingResponse(TypedDict, closed=True):
    personalized_ranking: NotRequired[
        "capo_personalize_runtime.types.item_list.ItemList"
    ]
    """<p>A list of items in order of most likely interest to the user. The maximum is 500.</p>"""
    recommendation_id: NotRequired[
        "capo_personalize_runtime.types.recommendation_id.RecommendationID"
    ]
    """<p>The ID of the recommendation.</p>"""

personalized_ranking instance-attribute

personalized_ranking: NotRequired[ItemList]

A list of items in order of most likely interest to the user. The maximum is 500.

recommendation_id instance-attribute

recommendation_id: NotRequired[RecommendationID]

The ID of the recommendation.