This prognostic study assesses the ability of a chatbot to write a history of present illness compared with senior internal medicine residents.