INLINE GPT – CONTEXT-AWARE AI DOUBT RESOLUTION SYSTEM
Author
Ms. C.Samlin Jenifer, Abinayaa R, Adithya R, Deepika S, Devadharshini U R
Abstract
INLINE GPT – Context-Aware AI Doubt Resolution System is an AI-powered learning application developed to help students understand educational content and resolve doubts without leaving the material they are studying. Students usually meet a doubt while reading lecture notes, e-books or PDF documents, and the usual remedy is to copy the passage into a separate chatbot, retype the background and then return to the page, often having lost their place. This switching interrupts concentration and frequently produces generic answers that do not address the exact sentence that caused the confusion. To overcome this problem, the proposed system treats the text selected by the student as part of the request itself. When a student highlights a sentence or paragraph and submits a question, the selected passage and the question are combined into a contextual prompt and sent to a generative AI model, so that the explanation stays focused on the material being studied. The application is organised around a main AI chat for general questions and a separate context-aware doubt-resolution interface. It also provides adaptive explanation styles with Tamil and English options, chat history management, a Smart Doubt Notebook, an AI-based quiz generator, an AI Revision Notebook and an AI Notes and PDF Solver that answers questions from uploaded documents with page references, so that an answered doubt can be saved, organised and revised later. The system is implemented with a Python Django backend that validates input, prepares prompts and communicates with the Google Gemini API, and a web frontend built with HTML, CSS and JavaScript. Keeping the API key on the server, validating all input and handling API failures gracefully are part of the design. INLINE GPT is positioned as a learning-support tool and not as a replacement for textbooks or teachers; by making AI assistance contextual, organised and easy to reach, it demonstrates how conversational AI can be integrated into everyday study in a practical, student-friendly way.
Keywords
Context-Aware AI, Doubt Resolution, Educational Chatbot, Gemini API, Django, Selected-Text Context, Smart Learning, Quiz Generation, Revision Notebook, PDF Solver, Large Language Model.
Full Text:
Download Paper PDF
References
[1] Django Software Foundation, Django Documentation. https://docs.djangoproject.com/
[2] Google, Gemini API Documentation. https://ai.google.dev/gemini-api/docs
[3] Mozilla Developer Network, HTML, CSS and JavaScript Documentation. https://developer.mozilla.org/
[4] Fielding, R. T., “Architectural Styles and the Design of Network-based Software Architectures,” Doctoral dissertation, University of California, Irvine, 2000.
[5] Zawacki-Richter, O., Marín, V. I., Bond, M. and Gouverneur, F., “Systematic review of research on artificial intelligence applications in higher education – where are the educators?,” International Journal of Educational Technology in Higher Education, vol. 16, art. 39, 2019.
[6] Kasneci, E. et al., “ChatGPT for good? On opportunities and challenges of large language models for education,” Learning and Individual Differences, vol. 103, 102274, 2023.
[7] Vaswani, A. et al., “Attention Is All You Need,” Advances in Neural Information Processing Systems, 2017.
[8] Brown, T. B. et al., “Language Models are Few-Shot Learners,” Advances in Neural Information Processing Systems, 2020.
[9] Devlin, J., Chang, M.-W., Lee, K. and Toutanova, K., “BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding,” Proceedings of NAACL-HLT, 2019.
[10] Gemini Team, Google, “Gemini: A Family of Highly Capable Multimodal Models,” arXiv:2312.11805, 2023.
[11] Rajpurkar, P., Zhang, J., Lopyrev, K. and Liang, P., “SQuAD: 100,000+ Questions for Machine Comprehension of Text,” Proceedings of EMNLP, 2016.
[12] Lewis, P. et al., “Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks,” Advances in Neural Information Processing Systems, 2020.
[13] Kulik, J. A. and Fletcher, J. D., “Effectiveness of Intelligent Tutoring Systems: A Meta-Analytic Review,” Review of Educational Research, vol. 86, no. 1, pp. 42–78, 2016.
[14] Reynolds, L. and McDonell, K., “Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigm,” Extended Abstracts of the ACM CHI Conference, 2021.
Share your valuable work from Social Media Buttons