Investigation of the effectiveness of applying ChatGPT in Dialogic Teaching Using Electroencephalography