The article talks about the use of artificial intelligence in education. An analysis of research in the field of artificial intelligence at different levels of education is given. The results of a survey of students on the subject of their use of chatbots are given. A possible application of it in the field of preschool education in the study of Russian and other folk tales, as well as their joint composition with children, using artificial intelligence resources that are freely available on the Internet, is revealed.