new AISMessage parsing interface