arthurai.core.dataset_validation_utils.valid_rec_obj#

arthurai.core.dataset_validation_utils.valid_rec_obj(obj)#

Validates recommendation object formatting

Validates obj is a dict with an “item_id” key that has a string value :rtype: bool :returns: True if obj meets criteria, False otherwise