Generative AI for medical research