A RAG-Based AI Chatbot for Dynamic Contextual Question Answering on Educational Platforms

This paper presents a Retrieval-Augmented Generation (RAG)-based AI chatbot designed to provide accurate, context-aware responses to natural language queries on educational websites. The proposed system targets PreGrad.in, a dynamic learning platform, and integrates web content retrieval, semantic embedding, and large language model (LLM) generation. Live content is collected and semantically indexed using Google Gemini text-embedding-004, stored in a FAISS vector database, and queried using LangChain's RetrievalQA framework. The response generation leverages the Gemini-2.0-flash LLM, ensuring fluent, grounded answers. Evaluation demonstrates the system’s ability to handle diverse and dynamic content queries efficiently. This research highlights the potential of RAG pipelines for scalable, domain-specific conversational agents in education and beyond.

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2025-06-30
DOI
https://doi.org/10.5281/zenodo.15772726
Primary Topic
AI in Service Interactions
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A RAG-Based AI Chatbot for Dynamic Contextual Question Answering on Educational Platforms

Zenodo (CERN European Organization for Nuclear Research)
AI in Service Interactions
article

A RAG-Based AI Chatbot for Dynamic Contextual Question Answering on Educational Platforms

article en

Abstract

This paper presents a Retrieval-Augmented Generation (RAG)-based AI chatbot designed to provide accurate, context-aware responses to natural language queries on educational websites. The proposed system targets PreGrad.in, a dynamic learning platform, and integrates web content retrieval, semantic embedding, and large language model (LLM) generation. Live content is collected and semantically indexed using Google Gemini text-embedding-004, stored in a FAISS vector database, and queried using LangChain's RetrievalQA framework. The response generation leverages the Gemini-2.0-flash LLM, ensuring fluent, grounded answers. Evaluation demonstrates the system’s ability to handle diverse and dynamic content queries efficiently. This research highlights the potential of RAG pipelines for scalable, domain-specific conversational agents in education and beyond.

Zenodo (CERN European Organization for Nuclear Research)
Rajiv Gandhi University of Knowledge Technologies (IN)
Quality Education
Openalex Percentile: Top 76%
AI in Service Interactions
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

A RAG-Based AI Chatbot for Dynamic Contextual Question Answering on Educational Platforms · Zenodo (CERN European Organization for Nuclear Research) (2025) | TGRS Research Map | TGRS