- Newest
- Most votes
- Most comments
Hey hdseo,
I have a little experience with this, we had a similar issue.
Q1. If I want to get a new solution version using only recent records, Do I have to create a new DatasetGroup?: In our experience, yes. You would need to reimport a dataset only with the new data.
Q2. If new items are created every time and old items are unnecessary(e.g. news article recommendations), what is a proper personalize architecture?: The proper way to do this is as you described, by re-importing the dateset with only the relevant data.
We found that there was no way to remove old records without importing a completely new dataset. The only way to remove old items "quickly" was to use a filter expression to filter them out of recommendations (they were still, however, in the model). Essentially, you can create a status field for each of your items/users, and update it with a putItems or putUsers call and set the status to deleted or inactive, then use a filter expression to filter these out (e.g. filter out items with STATUS = INACTIVE).
This does not actually remove the item from your dataset, rather, just filters them out. This was a major issue for us with personalize because the model was still trying to recommend these now irrelevant items to users, but was just being filtered out of the recommendations.
This is how i understand it, I could be wrong, however. It would be great if there was new functionality added to actually remove items from a model, i hope it comes soon.
Hi law-dwg,
Thank you for the reply. It's very helpful for me.
I'm using filter expression now. i hope the new functionality comes soon.
Thanks again :)
Relevant content
- asked 2 years ago
- How do I troubleshoot the errors I get when I use AWS CloudFormation to create Route 53 record sets?AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 10 months ago