Text this: Generative AI for adaptive curriculum design enhances student performance and engagement in technology enhanced learning environments