Follow a person or a category in activity feed using AWS Personalize


How can I implement feature - Follow to a person or a category of posts in the recommendation engine built using AWS Personalize. So that the followed person's post is ranked higher than non-followed person's post. Same case with category with posts. Please help.

asked a year ago203 views
1 Answer

Hi, if you add an "author" or "category" field to your item dataset, you can use either filters (to modify all the recommended items) or promotions (apply a filter to a percentage of the recommended items, for instance "have 20% of the recommendations be of followed users"). You would use a filter with a "$variable" ($author or $category) and you would provide the followed authors or categories when you do the recommendation request. You would have to have a database, for instance on dynamoDB to get for the current user, what are the followed authors and categories ad you currently cannot save this data directly in amazon Personalize.

With this methodology, you would be able to guarantee followed authors or posts are always part of the recommended items. It is the most relevant content for those authors or categories for each user that gets recommended.

This blog explains how to use filters and promotions.

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions