Skip to content

GetRecommendationsResponse

Source code in docs_src/capo_personalize_runtime/types/get_recommendations_response.py
class GetRecommendationsResponse(TypedDict, closed=True):
    item_list: NotRequired["capo_personalize_runtime.types.item_list.ItemList"]
    """<p>A list of recommendations sorted in descending order by prediction score. There can be a maximum of 500 items in the list.</p>"""
    recommendation_id: NotRequired[
        "capo_personalize_runtime.types.recommendation_id.RecommendationID"
    ]
    """<p>The ID of the recommendation.</p>"""

item_list instance-attribute

item_list: NotRequired[ItemList]

A list of recommendations sorted in descending order by prediction score. There can be a maximum of 500 items in the list.

recommendation_id instance-attribute

recommendation_id: NotRequired[RecommendationID]

The ID of the recommendation.