Using Generative AI as a Teaching Assistant