Optimizing clinical development with AI and external data