Abstract
Our study presents an innovative learning tool that leverages the synergy between Retrieval-Augmented Generation (RAG) and Large Language Models (LLMs) to redefine Python programming skill acquisition. This research explores how integrating RAG with LLMs like ChatGPT can overcome traditional learning barriers by providing precise, contextually relevant responses, streamlining learning, and boosting learner confidence. Implementing RAG-enhanced LLMs resulted in decreased cognitive load and enhanced grasp and application of complex programming concepts. Our findings suggest that this RAG-based tool improves information reliability and enriches learning experiences, fostering more profound understanding and robust confidence in tackling programming challenges. This study contributes to the discourse on AI-assisted learning by showcasing RAG’s potential to enhance programming learning efficacy and satisfy learners ethically and at scale.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Darsih, E.: Learner-centered teaching: what makes it effective. Indonesian EFL J. 4(1), 33–42 (2018)
Gao, Y., et al.: Retrieval-augmented generation for large language models: a survey. arXiv preprint arXiv:2312.10997 (2023)
Hadi, M.U., et al.: A survey on large language models: applications, challenges, limitations, and practical usage. Authorea Preprints (2023)
Kasneci, E., et al.: ChatGPT for good? On opportunities and challenges of large language models for education. Learn. Individ. Differ. 103, 102274 (2023)
Nelli, F.: Python data analytics: data analysis and science using PANDAs, Matplotlib, and the Python Programming Language. Apress (2015)
Pataranutaporn, P., Danry, V., Leong, J., et al.: AI-generated characters for supporting personalized learning and well-being. Nat. Mach. Intell. 3, 1013–1022 (2021)
Tsai, Y.: Empowering learner-centered instruction: integrating ChatGPT Python API and tinker learning for enhanced creativity and problem-solving skills (2023)
Zheng, Y.: ChatGPT for teaching and learning: an experience from data science education. In: SIGITE 2023: Proceedings of the 24th Annual Conference on Information Technology Education, pp. 66–72 (2023)
Amatriain, X.: Prompt design and engineering: introduction and advanced methods. arXiv preprint arXiv:2401.14423 (2024)
Gupta, A., et al.: RAG vs fine-tuning: pipelines, tradeoffs, and a case study on agriculture. arXiv preprint arXiv:2401.08406 (2024)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Ko, HT., Liu, YK., Tsai, YC., Suen, S. (2024). Enhancing Python Learning Through Retrieval-Augmented Generation: A Theoretical and Applied Innovation in Generative AI Education. In: Cheng, YP., Pedaste, M., Bardone, E., Huang, YM. (eds) Innovative Technologies and Learning. ICITL 2024. Lecture Notes in Computer Science, vol 14786. Springer, Cham. https://doi.org/10.1007/978-3-031-65884-6_17
Download citation
DOI: https://doi.org/10.1007/978-3-031-65884-6_17
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-65883-9
Online ISBN: 978-3-031-65884-6
eBook Packages: Computer ScienceComputer Science (R0)