Function getPersonalizedRecommendations