Back

Strategies and Analysis of Chatbots in Python Teaching: A Case Study from 2020 to 2023

CHEN,YU MING
University of Taipei Department of Education Doctoral Student
E-mail:kevin@pdps.tp.edu.tw

Download PDF

Abstract

Chatbots, regardless of whether in the scientific or literary field, have had a huge impact on the way researchers work, and can even be said to bring about an unprecedented change in the field of artificial intelligence (AI) technology. Take ChatGPT as an example. It is a large language model (LLM), and GPT is a type of machine learning system that can learn autonomously from data and generate complex and seemingly intelligent text after being trained on a large dataset of textual data. The use of chatbots is inevitable, and prohibiting it is impossible. The research community must debate the potential disruptive effects of this technology. The focus should be on how to make the best use of chatbots. Python is a widely used programming language for web applications, software development, data science, and machine learning (ML). The reason we use Python is that it is efficient, easy to learn, and can run on many different platforms. However, even though Python is efficient, it still requires a period of learning and practice to achieve a certain level of proficiency. Therefore, I started thinking about how to effectively introduce chatbots in Python to speed up the learning process, evenachieving debugging and design recommendations.

This study aims to explore the application of chatbots in Python education in order to improve students’ learning outcomes and motivation towards the Python programming language. It discusses how to use Python to connect with OpenAI API and link contextual sentences using chatbots in Python education.

There are several points to consider when using chatbots: firstly, chatbot outputs need to be manually verified; secondly, relevant usage norms need to be established; thirdly, invest in the right place; fourthly, benefit from the use of artificial intelligence in chatbots; fifthly, we need to increase the discussion of artificial intelligence.

The application of chatbots in Python education has promising prospects and requires the joint efforts of educational institutions and development teams to actively explore students’ learning needs and the development trends of chatbots in order to establish more complete and reliable chatbots, effectively improving students’ learning outcomes and practical abilities.

Keywords :Chatbots, LLM, Python