UK senior judges have published a set of AI guidelines for the judiciary to follow, which advises how to use AI and warns of the potential risks of using the technology in trials.