hi dear, this could be a metabolic or hepatic encephalopathy
, could be due to h/o chronic seizures . I would advice you to take a CT scan
, and few blood test
like, RBS, ABG, cardia monitoring , I think she need to be hospitalised and a through examination has to be carried out.