Student Name: Alwin Project Title: AI Study Pal: Personalized RAG-Based Learning Assistant Date: December 2025
AI Study Pal is a local-first, privacy-focused educational platform designed to help students learn faster and more effectively. Unlike generic AI chatbots, it uses Retrieval Augmented Generation (RAG) to "read" your personal notes and syllabus, ensuring that every answer is relevant to your specific curriculum.
- Personalization: Adapt study plans and answers to the user's specific syllabus and files.
- Privacy: Run AI models locally (TinyLlama) on consumer hardware without sending private data to the cloud.
- Efficiency: Automate the creation of study schedules, quizzes, and summaries.
- 🧠 Chat with Notes (RAG): Upload PDF/DOCX files and ask questions. The system references your content to answer accurately.
- 📅 Dynamic Study Planner: Generates a structured hourly schedule based on your subject, available hours, and goals.
- ❓ AI Quiz Engine: Automatically generates Multiple Choice Questions (MCQs) from your notes or any academic topic. Tracks performance over time.
- 📊 Adaptive Analytics: Visualizes your learning progress and knowledge gaps using dynamically generated charts.
- 📝 Intelligent Summarizer: Distills long documents into key themes and actionable insights.
- ⚡ Hardware-Aware Backend: "Smart Loader" detects your GPU (e.g., RTX 3050) and optimizes inference speed automatically.
- Framework: React + Vite (TypeScript)
- UI Library: Tailwind CSS + shadcn/ui
- Charts: Recharts
- Server: Python Flask
- AI Models: TinyLlama-1.1B (Local), Google Gemini (Cloud Fallback)
- RAG Engine: LangChain + FAISS + Sentence-Transformers
- Database: Supabase (PostgreSQL)
Technical_Reference.md: A complete dictionary of every file in the codebase.PROJECT_REPORT.md: A detailed report on architecture, challenges, and future scope.SETUP_GUIDE.md: Instructions to install and run the project from scratch.
- Navigate to
ai-study-pal-uifolder. - Run
npm run devto start the Frontend. - In a new terminal, run
python backend/app.pyto start the Backend. - Open
http://localhost:5173.
(For full installation instructions, see SETUP_GUIDE.md)