Similar Items: Artificial intelligence within the legal framework