From Prompt To Response: Understanding Chatgpt Language Processing Framework To Improve Efl Teaching

Authors

Keywords:

Artificial Intelligence, ChatGPT, context, English as a Foreign Language, Large Language Model, prompt, response

Abstract

Foreign Language (FL) learning and teaching have known a drastic shift due to the implementation of the fast-growing Artificial Intelligence (AI) tools. Traditional methods to teaching English involve one-size-fits-all approach that makes it challenging to address individual needs. Teachers interacting with AI-language assistant chabots as ChatGPT for generating teaching materials and designing tasks that align with students’ different proficiency levels, may not receive the intended response of the query. This can be the result of their limited knowledge of how the model function to generate texts. The present study analyzes ChatGPT language processing framework, centered on key components of prompting, tokenization, vectorization, transformer mechanism, and semantic analysis. The research aims to analyze how ChatGPT interprets and generates human-like texts, and hypothesizing that these stages can impact significantly the response coherence and accuracy. Adopting a qualitative method, the study illustrates language processing features through examples, showcasing its capacity to extract meaning from written text, and the importance of context in constructing responses. The Findings revealed that for the Large Language Model (LLM) to provide the accurate response to the given prompt, it interacts with the input lexical and semantic structures, and contextual specificity. EFL teachers understanding prompt engineering can refine their queries to receive more reliable responses which permit them to master the skill to lessen ambiguity in prompts generation and improve AI interaction for academic and educational purposes.

References

Afrianto, I., Irfan, M. F., & Atin, S. (2019). Aplikasi Chatbot Speak English Media Pembelajaran Bahasa Inggris Berbasis Android. Komputika : Jurnal Sistem Komputer, 8(2), 99–109. https://doi.org/10.34010/komputika.v8i2.2273

Aineh, M., A. B., & Ngui, W., (2024). Teachers’ and students perceptions towards the use of ChatGPT to improve writing in the Malaysian secondary school context. International Journal of E-learning Practices, 7, pp. 117-124. https://doi.org/10.51200/ijelp.v7i1.5399

Aydın, Ö., Karaarslan, E. (2022). OpenAI ChatGPT Generated Literature Review: Digital Twin in Healthcare . In Ö. Aydın (Ed.), Emerging Computer Technologies 2 (pp. 22-31). İzmir Akademi Dernegi

Bean, S. (2018). Generations divide on the role of Artificial Intelligence in the workplace.

https://workplaceinsight.net/generations-divide-on-the-role-of-artificial-intelligence-in-the-workplace/

Benaicha, B., & Semmoud, A. (2024). Investigating Algerian EFL Teachers' Attitudes Towards AI Utilization in Language Education . ATRAS, 5, pp. 130-150. https://asjp.cerist.dz/en/article/253642

Cheng, S.-M., & Day, M.-Y. (2014). Technologies and Applications of Artificial Intelligence:19th International Conference, TAAI 2014, Taipei, Taiwan, November 21-23, 2014, Proceedings. Springer.

Eka, I. (2020, February 20). Aplikasi ELSA Speak Ekspansi ke Indonesia, Fokus TingkatkanKemampuan Berbicara Bahasa Inggris. https://hybrid.co.id/post/elsa-aplikasi-belajar-bicara-bahasa-inggris/

Gawate, S. (2019). Artificial Intelligence (AI) Based Instructional Programs in Teaching- Learning of English Language. International Journal of English Language, Literature and Translation Studies (IJELR), 6(4), pp. 69-73. https://doi.org/10.33329/ijelr.64.69

Google. (2025). Google. https://www.google.com/

Hadj Ameur, F. Z., & Belkhir, F. Z. (2024). Embracing ChatGPT enhanced English as a Foreign Language Learning and Teaching: Teachers’ Attitudes. ATRAS, 5 (3), pp. 196-209. https://asjp.cerist.dz/en/article/253646

Hatmanto, E. D., & Sari, M. I. (2023). Aligning theory and practice: Leveraging ChatGPT for effective English language teaching and learning. In E3S Web of Conferences 404 (4). EDP Sciences. https://doi.org/10.1051/e3sconf/202344005001

Ho,P.X.P.(2024). Using ChatGPT in English language learning: A study on I.T. students’ attitudes, habits, and perceptions. International Journal of TESOL & Education, 4(1), 55-68. https://doi.org/10.54855/ijte.24414

Iqbal, N., Ahmed, H., & Azhar, K. A. (2022). Exploring teachers’ attitudes towards using ChatGPT. Global Journal for Management and Administrative Sciences, 3(4), 97–11. https://doi.org/10.46568/gjmas.v3i4.163

Karsenti, T. (2019). Artificial intelligence in education: The urgent need to prepare teachers for tomorrow" s schools. Formation et Profession, 27(1), 105-111. https://dx.doi.org/10.18162/fp.2019.a166

Mayumi, T., Yusuke, T., Akihiro, Y . (2013). CAPTCHA Suitable for Smartphones. 1st International Conference on Information and Communication Technology (ICT-EurAsia), Mar 2013, Yogyakarta, Indonesia. 131-140. https://doi.org/10.1007/978-3-642-36 818-9_14

Napkin AI. (2025). Napkin AI: The visual AI for business storytelling. https://www.napkin.ai/

Nghi, T. T., Phuc, T. H., & Thang, N. T. (2019). Applying Ai chatbot for teaching a foreign Language: An Empirical Research, International Journal of Scientific & Technology Research, 8(11): 897-902. https://www.researchgate.net/publication/337965319_Applying_Ai_Chatbot_For_Teaching_A_Foreign_Language_An_Empirical_Research

Nivre, J.(1998). Klassificering och kodning. In Allwood, Jens (ed.) Lingvistisk metod. Göteborg University: Department of Lingustics.

https://citeseerx.ist.psu.edu/document?repid=rep1&type=pdf&doi=b9920127ccdc13f423fd8eeb1fd63e90ef2494ff

OpenAI. (2025). ChatGPT (January 27 version) [Large language model]. https://chat.openai.com/

Patel, R. (October 19, 2024). Understanding LLMs from Scratch Using Middle School Math. Published in: Towards Data Science.

https://towardsdatascience.com/understanding-llms-from-scratch-using-middle-school-math-e602d27ec876/

Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit,J.; Jones, l.; Gomez, A. N.; Kaiser, L.; & Polosukhin, I. (2017). Attention is all you need. Presented at Advances in Neural Information Processing Systems, pp. 6000–6010. https://proceedings.neurips.cc/paper_files/paper/2017/file/3f5ee243547dee91fbd053c1c4a845aa-Paper.pdf

Visual Storytelling Team, & Murgia, M. (2023, September 11). Generative AI exists because of the transformer. Financial Times.

https://ig.ft.com/generative-ai/

Wikipedia contributors. (2024). ChatGPT. Wikipedia. https://en.wikipedia.org/wiki/ChatGPT

Wikipedia contributors. (2025). Deepseek. Wikipedia. https://en.wikipedia.org/wiki/DeepSeek

Walter, Y. (2024). Embracing the future of artificial intelligence in the classroom: The relevance of AI literacy, prompt engineering, and critical thinking in modern education. International Journal of Educational Technology in Higher Education, 21(15). https://doi.org/10.1186/s41239-024-00448-3

Wolfram, S. (2023, February 14). What Is ChatGPT Doing ... and Why Does It Work?. https://writings.stephenwolfram.com/2023/02/what-is-chatgpt-doing-and-why-does-it- work/

Ziatdinov, R., Atteraya, M. S., & Nabiyev, R. (2024). The Fifth Industrial Revolution as a transformative step towards society 5.0. Societies, 14(2), 19. https://doi.org/10.3390/soc14020019

Downloads

Published

2025-07-18

How to Cite

Bengrait, N. . (2025). From Prompt To Response: Understanding Chatgpt Language Processing Framework To Improve Efl Teaching. The Journal of Studies in Language, Culture, and Society, 8(2), 271–293. Retrieved from https://univ-bejaia.dz/revue/jslcs/article/view/683