View Source AWS.PersonalizeRuntime (aws-elixir v0.13.3)

Link to this section Summary

Functions

Re-ranks a list of recommended items for the given user.

Returns a list of recommended items.

Link to this section Functions

Link to this function

get_personalized_ranking(client, input, options \\ [])

View Source

Re-ranks a list of recommended items for the given user.

The first item in the list is deemed the most likely item to be of interest to the user.

The solution backing the campaign must have been created using a recipe of type PERSONALIZED_RANKING.

Link to this function

get_recommendations(client, input, options \\ [])

View Source

Returns a list of recommended items.

For campaigns, the campaign's Amazon Resource Name (ARN) is required and the required user and item input depends on the recipe type used to create the solution backing the campaign as follows:

  • USER_PERSONALIZATION - userId required, itemId not used

  • RELATED_ITEMS - itemId required, userId not used

Campaigns that are backed by a solution created using a recipe of type PERSONALIZED_RANKING use the API.

For recommenders, the recommender's ARN is required and the required item and user input depends on the use case (domain-based recipe) backing the recommender. For information on use case requirements see Choosing recommender use cases.