How barveshakthar/ai-education-mentor works
The repository is an AI education mentor web application for student retention, combining student and faculty management, marks entry, learning materials, and academic chatbot support. The main user-to-result flow is a student submitting a question to the Flask chatbot, which processes it with an intent model and returns a response; voice queries add speech recognition and spoken output. Faculty registration/login and student profile access are distinct workflows. The source excerpts show these Flask routes and separate Node services, but do not establish how the pages invoke them or how the Node services are deployed together.
Main entry points: bot.py Flask app routes · Studentlogin.js Student login · server.js Student records · Facultyregistration.js Faculty registration
Components 21
Web and accounts
- Flask app routes
bot.py - Student records
server.js - Student login
Studentlogin.js - Student profile
templates/student_profile.html - Faculty registration
Facultyregistration.js - Faculty login
Facultylogin.js
Learning support
- Marks entry API
mark.js - Learning dashboard
dashboard.html - Learning materials
learning.html - Syllabus page
Syllabus.html - Risk page
Risk.html - Help desk page
templates/ind.html
AI mentor
- Chat response route
bot.py - Intent processing
bot.py - Chat intents
bot.json - Chatbot model
chatbot_model1.h5 - Speech input/output
bot.py
Application data
- MongoDB
Other components
- Student
- Faculty
- Google speech recognition
Connections 22
- Student → Student login: submits credentials
Studentlogin.js - Student login → MongoDB: looks up record
Studentlogin.js - Student login → Student profile: renders profile
Studentlogin.js - Student → Student records: submits details
- Student records → MongoDB: saves record
server.js - Faculty → Faculty registration: registers
Facultyregistration.js - Faculty registration → MongoDB: stores account
Facultyregistration.js - Faculty → Faculty login: submits credentials
Facultylogin.js - Faculty login → MongoDB: checks account
Facultylogin.js - Faculty → Marks entry API: enters marks
README.md - Marks entry API → MongoDB: saves marks
mark.js - Faculty → Learning dashboard: shares materials
README.md - Flask app routes → Learning dashboard: serves page
bot.py - Flask app routes → Syllabus page: serves page
bot.py - Flask app routes → Help desk page: serves page
bot.py - Student → Chat response route: asks question
- Chat response route → Intent processing: processes input
bot.py - Intent processing → Chat intents: loads intents
bot.py - Intent processing → Chatbot model: predicts intent
bot.py - Student → Speech input/output: speaks query
- Speech input/output → Google speech recognition: recognizes speech
bot.py - Chat response route → Speech input/output: uses voice mode
bot.py