Additionally, to evaluate the model’s predictive efficacy for severe AE associated with different antibody types, external validation was conducted separately on the 109 cases of anti-NMDAR encephalitis and 48 cases of anti-LGI1 encephalitis included in this study. Here, LGI1 is linked to encephalitis.