Skip to content

samreen-ui/College-Chatbot-RAG-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

🤖 KMIT College ChatBot (Gemini API + Flask + Supabase + RAG)

A smart AI chatbot for the Keshav Memorial Institute of Technology (KMIT), built to help students, faculty, and visitors instantly access important information, events, and resources via a floating assistant on the website.


✨ Features

  • 💬 Conversational AI powered by Gemini LLM (Google Generative AI)
  • 📚 RAG (Retrieval-Augmented Generation) using FAISS + Sentence Transformers
  • 🗃️ College Info + Event Data loaded via JSON and Supabase
  • 🔗 Quick Redirects – Like Attendance Portal, Exam Info, Syllabus, etc.
  • 🧑‍🎓 Smart Responses to FAQs, context-based queries, and navigation needs
  • 🖼️ Floating Chatbot UI integrated into the college website (Vite + TypeScript)
  • 🔐 CORS enabled Flask backend to serve AI and database responses

⚙️ Tech Stack

Layer Tech Used
🧠 AI Model Gemini API (Google Generative AI)
🔍 Embeddings Sentence-Transformers (MiniLM-L6-v2)
📥 Vector DB FAISS (Facebook AI Similarity Search)
🌐 Backend Flask + Flask-CORS + Supabase SDK
📊 Data JSON file + Supabase DB
🧪 Scraping Selenium (ChromeDriver)
🖥️ Frontend Vite + TypeScript

🖼️ Chatbot Preview

Here’s how the chatbot looks when embedded on the KMIT website:

Screenshot 2025-06-04 190815

Screenshot 2025-06-04 190823


🧠 How It Works

  1. User submits a question through the floating chatbot.
  2. Query is normalized and embedded via Sentence Transformers.
  3. FAISS finds the most relevant context from JSON data.
  4. Context + query are sent to Gemini API for final response generation.
  5. Supabase is queried for dynamic content like event updates.
  6. Response is shown in the chatbot UI.

About

VIDYA– Your Smart Campus Assistant

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published