The use of AI in clinical trials