aws-samples / amazon-personalize-samples

Notebooks and examples on how to onboard and use various features of Amazon Personalize
MIT No Attribution
575 stars 339 forks source link

CreateRecommender with custom domain to use Start Stop Recommender #136

Closed DaviYokogawa closed 2 years ago

DaviYokogawa commented 2 years ago

When I'm trying to create a recommender via Command Line, I receive an raise saying "Please use a domains-specific Dataset Group to create the Recommender", but I set my dataset group domain as Custom.

Screen Shot 2022-06-29 at 16 28 01

Screen Shot 2022-06-29 at 16 38 28

I don't know if I understand, but to use the GetRecommendations we need to create a solution or create a recommender, but the option to stop the solution doesn't exists, so when I try to create a recommender was raised this error, so I'm in this loop, if I try to use Solution, I can't use the Start Stop Recommender to reduce my billing costs, and if I try to create a recommender I can't because I'm using a custom solution(I don't know if is it, but my hypothesis is, the Personalize only accept VIDEO_ON_DEMAND and ECOMMERCE)

I don't know if this helps, but when I try to list the recipes, we only have domains in ECOMMERCE recipes, and maybe this is broken

Screen Shot 2022-06-29 at 16 37 58

seashman commented 2 years ago

There are two different workflows in Amazon Personalize, a workflow for Domain dataset groups and a workflow for Custom dataset groups. If you create a custom dataset group, you can't create domain based resources like recommenders. For custom dataset groups, you create a solution, then a solution version, and finally deploy a solution version with a campaign. You provide the campaign ARN when you get recommendations. See https://docs.aws.amazon.com/personalize/latest/dg/personalize-workflow.html.