We already support using categories, templates, page size and other characteristics as factors when choosing which articles to send to the link recommendation service (T261408).
This task is about processing links as returned from the service. For example, if the service returns a set of 10 links, we may want to remove some of those links from the recommendation set based on categories/templates/other characteristics which belong to the pages being identified as candidate links.
As @RHo noted, one use case is to exclude disambiguation pages as link targets
We could either implement this in the link recommendation service and pass the configuration from to-be-defined keys in NewcomerTasks.json, or we could do the filtering in refreshLinkRecommendations.php