Artificial intelligence tools can help hospitals find urgent messages in the patient portal earlier. A new study by Mass General Brigham researchers found that artificial intelligence tools based on big language models correctly flagged the majority of patient messages that doctors deemed urgent. The study, published in npj Digital Medicine, found that models running on a hospital's own servers performed as well as commercial models hosted in a secure cloud server environment. The findings suggest that artificial intelligence can help clinicians review patient portal messages with urgency while protecting patient privacy.