To be honest, the criticisms of timed, closed book examinations aside, even if students use ChatGPT for homework and essays, you can still test their retained knowledge in exams. It then becomes a matter of teaching children to use AI to learn as opposed to merely produce work.