A smart AI chatbot built for Keshav Memorial Institute of Technology (KMIT) to help students, faculty, and visitors instantly access important information, events, and resources via a floating assistant on the college website.
- π¬ Conversational AI powered by Gemini LLM (Google Generative AI)
- π Retrieval-Augmented Generation (RAG) using FAISS + Sentence Transformers
- ποΈ College info and event data loaded via JSON files and Supabase
- π Quick redirects to portals like Attendance, Exam Info, Syllabus, etc.
- π§βπ Smart responses to FAQs, context-based queries, and navigation requests
- πΌοΈ Floating chatbot UI embedded on the website using Vite + TypeScript
- π CORS-enabled Flask backend serving AI and database responses
| 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 |
- User submits a question via the floating chatbot.
- Query is normalized and embedded using Sentence Transformers.
- FAISS retrieves the most relevant context from the JSON data.
- Context and query are sent to Gemini API for the final response generation.
- Supabase is queried for dynamic content like event updates.
- Response is displayed in the chatbot UI.
For questions or to see a demo, feel free to reach out!

