RAG Chatbot Project Presentation
RAG Chatbot Project Presentation
Dept Mission:
M1: To equip the graduates with the latest technologies in the field of Artificial Intelligence and
Machine Learning
M2: To imbibe new knowledge by collaborating with industry and research organizations to mould
competent technocrats and entrepreneurs
M3: To instill societal and ethical responsibilities in all professional activities
INDEX
⮚ Motivation
⮚ Objective
⮚ Literature Review
⮚ Data Flow Diagram and Architecture
⮚ Implementation
⮚ Methodology
⮚ Challenges
⮚ Future developments
⮚ Conclusion
⮚ Reference
Motivation
• The driving motivation behind building an AI chatbot is to revolutionize the student experience
and streamline institutional efficiency.
• Key benefits of the system:
• Available 24/7
• Immediately addresses frequently asked questions
• Relieves human staff to focus on complex problems
• Expected outcomes:
• Improved student satisfaction through immediate practical support
• Meeting the expectations of digitally native students
• Reduced burden on overwhelmed support teams
• Lowered operating costs
• Improved total resource distribution in the college
Objective
The primary objective of building a chatbot for college customer support is to provide efficient,
accessible, and immediate assistance to students, Parents and faculty regarding
common inquiries and support needs, ultimately enhancing the overall college experience
and streamlining operational processes.
Enhanced User Experience: Provide a convenient and user-friendly platform for accessing information and
support
Improved Operational Processes: Streamline support operations, reducing operational costs and improving
resource allocation within the college.
Increased Student Satisfaction: Ultimately, improve student satisfaction by providing readily available and
effective support services
Literature Review
Base Paper
A Chat Bot for Enrollment of Xi ’an Jiaotong-
Liverpool University Based on RAG*
Authors: Liwei.Xu,jiarui.Liu
Published in : IEEE,2024
• The paper "A Chat Bot for Enrollment of Xi’an Jiaotong-Liverpool University Based on RAG" is
relevant to the project as it explores AI-driven chatbot solutions for student query handling.
Key Findings – AI-driven chatbots improve information retrieval by leveraging pre-trained models like GPT and
Llama2 for context-aware responses.
Relevance to College Support – Highlights the chatbot’s ability to provide immediate and accurate answers to student
and parent queries on admissions, academics, and administration.
Document-Based Knowledge Integration – Discusses methods to incorporate PDF-based information and FAQs,
aligning with the need for domain-specific chatbot capabilities.
Implications for Implementation – Suggests that RAG-based chatbots can enhance response accuracy, reduce
administrative workload, and improve student engagement.
Relevance of RAG-Based Chatbot for College Customer Support
1. RAG for FAQs – Efficiently retrieves and answers admission, academic, and student
queries.
2. PDF Processing – Extracts relevant info from college brochures, policies, and
handbooks.
3. LLM-Powered Responses – Uses Llama2, GPT-3.5 for accurate and contextual
replies.
4. Vector Database (FAISS) – Enables fast, semantic search for student and faculty needs.
5. User-Friendly Web Interface – Chainlit framework ensures easy access for users.
6. Cost Optimization – RL techniques minimize computational costs, making AI
affordable.
7. Scalable & Adaptive – Can expand to cover multiple departments & support queries.
Paper 2
Chatbots in customer service:Their relevance and impact on service quality,2022
Authors: Chiara Valentina Misischia, Flora Poecze, Christine Strauss
Published in:ELSEVIER
1. AI & NLP – Uses AI & natural language processing for smart responses.
2. User-Friendly Interface – Ensures easy and engaging student interactions.
3. Automates Services – Handles admissions, course inquiries, and support.
4. System Integration – Connects with college databases for real-time info.
5. Context Awareness – Maintains conversation flow for better responses.
6. Data Security – Protects student data and ensures privacy.
7. Performance Metrics – Measures chatbot accuracy and user satisfaction.
Paper 3
College Enquiry Chatbot using Conversational AI
Authors:Dhruv Patel, Nihal Shetty, Paarth Kapasi, Ishaan Kangriwala
Published in: IJRASET,2023
Focus on College Chatbots – Explores chatbot development for college websites using Microsoft
Azure.
Comparative Analysis – Evaluates rule-based, Rasa NLU, and Azure-based chatbots for handling
student inquiries.
Key Technologies – Highlights NLP and machine learning for improving chatbot accuracy and user
experience.
Practical Implementation – Discusses chatbot integration with college websites and real-world
deployment strategies.
Insights for Our Project – Covers chatbot architecture, sentiment analysis, and active learning to
enhance response efficiency.
Relevance of the Paper for AI Chatbot in College Support
RAG for Relevant Answers: Shows RAG boosts chatbot accuracy, crucial for effective student
support.
Knowledge Graph Model: The approach aligns with your project's aim to organize and access
college resources.
Information Retrieval Success: Highlights the importance of retrieving right information to
ensure chatbot performance.
Contextual & Accurate Replies: Paper analyses models for contextual & accurate replies,
critical for students.
AI Testability Insights: Provides methods to evaluate and optimize chatbot performance and
measure key characteristics.
Personalized Support: Lessons from customer interactions are scalable for student-specific
chatbot.
Retrieval Augmented Generation (RAG) based Restaurant
Chatbot with AI Testability – Key Insights
• chromadb – Implements a vector database for efficient document storage and retrieval.
• ollama – Calls the Ollama language model (LLM) to generate chatbot responses.
• OllamaEmbeddingFunction (from chromadb.utils) – Converts text into vector embeddings for similarity search.
• CrossEncoder (from sentence_transformers) – Ranks retrieved documents based on relevance using a cross-
encoder model.
○ RAG reduces AI hallucinations by retrieving relevant, fact-based information from trusted sources like university databases and websites.
2. Context-Aware Answers
○ Retrieves relevant documents before generating a response, making the chatbot’s answers more contextually accurate and domain-specific.
3. Better Query Handling
○ Can process complex or uncommon questions by retrieving the most relevant documents instead of depending solely on pre-trained LLM
knowledge.
4. Multi-Source Integration
○ Allows integration of multiple data sources (FAQs, PDFs, websites, and academic policies) to improve response diversity and reliability.
5. Scalability & Efficiency
○ Optimizes large-scale document searching, making it faster and more efficient in retrieving precise information compared to traditional LLMs.
6. Improved Trust & User Satisfaction
○ Delivers more reliable and verifiable responses, increasing student confidence in the chatbot and reducing the need for human intervention.
Methodology
Methodology:
● Data Collection : Information is gathered from the web and publicly accessible
sources.
● Data Preprocessing: PDF data is processed and segmented to extract
meaningful text.
● Retrieval-Augmented Generation (RAG): Retrievers connect generative
models with external knowledge sources.
● User Interaction: A web application enables users to interact with the LLM.
● System Integration: The application integrates with both the database and the
generative model for seamless functionality.
Challenges Limitations
● Data Preprocessing : Need to change the ● Text Splitting: It sometimes causes
structure data was collected in so that context to be lost
when the text was split into chunks the ● Output Generation speed: The
context would not be lost
speed of output generated is slow
● Choosing the LLM: It was a tough choice
● Context Limit: There is a limit to the
when choosing the LLM. We needed to find
a good blance between LLM size, Context
amount of text that can be given to the
awarness, Accuracy and output speed. LLM as context.
● Choosing Chunk size: It was challenging ● The LLM may not full understand the
to find the appropriate size for each chunk query or may misunderstand the
of text to be divided. context
Future developments
➢ Add Voice assistance features
1.RAG based Chatbot using LLMs - RAG based Chatbot using LLMs PDF