How praveen0815/personalized-ai-learning-student-support-platform works
This is a student-facing personalized learning platform: students use the Next.js dashboard to upload course PDFs, ask source-grounded tutor questions, take adaptive assessments, and review mastery and learning gaps. FastAPI routes coordinate document processing, semantic retrieval, tutoring, assessment generation and scoring; PostgreSQL/pgvector stores documents, vectors and learner records. The README documents capabilities beyond the sampled excerpts; connections for those are shown only where supported by the README or SOURCE INDEX. Some frontend component-to-API wiring is not evidenced in the excerpts.
Main entry points: main.py FastAPI application · assessment_service.py Assessment engine · document_service.py PDF ingestion · knowledge.py Knowledge endpoints
Components 27
Student experience
- Learning dashboard
frontend/src/components/dashboard/DashboardScreen.tsx - Knowledge screens
frontend/src/components/knowledge/KnowledgeScreen.tsx - Tutor screen
frontend/src/components/tutor/TutorScreen.tsx - Assessment screen
frontend/src/components/assessments/AssessmentScreen.tsx - Progress and gaps
frontend/src/components/progress/LearningGapsScreen.tsx
HTTP interface
- FastAPI application
backend/app/main.py - Knowledge endpoints
backend/app/api/routes/knowledge.py - Tutor endpoints
backend/app/api/routes/tutor.py - Assessment endpoints
backend/app/api/routes/assessments.py - Student endpoints
backend/app/api/routes/students.py
Knowledge services
- PDF ingestion
backend/app/services/document_service.py - PDF extraction
backend/app/services/pdf_service.py - Text chunking
backend/app/services/chunking_service.py - Embedding provider
backend/app/services/embedding_service.py - Semantic retrieval
backend/app/services/vector_search_service.py
Learning intelligence
- Grounded tutoring
backend/app/services/tutor_service.py - Assessment engine
backend/app/services/assessment_service.py - Difficulty adaptation
backend/app/services/adaptive_assessment_service.py - Question validation
backend/app/services/question_validation.py - Topic mastery
backend/app/services/learner_model.py - Learning gaps
backend/app/services/learning_gap_service.py
Runtime and persistence
- Language model
backend/app/services/llm_service.py - SQLAlchemy database
backend/app/db/database.py - Learning records
backend/app/db/assessment_models.py - Knowledge records
backend/app/db/models.py - Runtime configuration
backend/app/core/config.py
Other components
- Student
Connections 36
- Student → Learning dashboard: uses
README.md - Learning dashboard → FastAPI application: accesses API
README.md - Knowledge screens → FastAPI application: uploads and searches
README.md - Tutor screen → FastAPI application: asks questions
README.md - Assessment screen → FastAPI application: takes assessments
README.md - Progress and gaps → FastAPI application: views progress
README.md - FastAPI application → Knowledge endpoints: registers
backend/app/main.py - FastAPI application → Tutor endpoints: registers
backend/app/main.py - FastAPI application → Assessment endpoints: registers
backend/app/main.py - FastAPI application → Student endpoints: registers
backend/app/main.py - Knowledge endpoints → PDF ingestion: ingests documents
backend/app/api/routes/knowledge.py - Knowledge endpoints → Embedding provider: embeds search query
backend/app/api/routes/knowledge.py - Knowledge endpoints → Semantic retrieval: searches chunks
backend/app/api/routes/knowledge.py - PDF ingestion → PDF extraction: extracts text
backend/app/services/document_service.py - PDF ingestion → Text chunking: splits pages
backend/app/services/document_service.py - PDF ingestion → Embedding provider: embeds chunks
backend/app/services/document_service.py - PDF ingestion → Knowledge records: persists documents
backend/app/services/document_service.py - Semantic retrieval → Knowledge records: queries vectors
backend/app/services/vector_search_service.py - Tutor endpoints → Grounded tutoring: handles chat
backend/app/api/routes/tutor.py - Grounded tutoring → Semantic retrieval: retrieves context
- Grounded tutoring → Language model: generates explanation
- Assessment endpoints → Assessment engine: generates and submits
backend/app/api/routes/assessments.py - Assessment engine → Semantic retrieval: retrieves study content
backend/app/services/assessment_service.py - Assessment engine → Difficulty adaptation: selects difficulty
backend/app/services/assessment_service.py - Assessment engine → Question validation: validates questions
backend/app/services/assessment_service.py - Assessment engine → Language model: generates questions
backend/app/services/assessment_service.py - Assessment engine → Topic mastery: updates mastery
backend/app/services/assessment_service.py - Assessment engine → Learning gaps: detects gaps
backend/app/services/assessment_service.py - Assessment endpoints → Student endpoints: exposes learner results
- Student endpoints → Learning records: reads progress
- Assessment engine → Learning records: stores assessments
backend/app/services/assessment_service.py - SQLAlchemy database → Knowledge records: creates tables
backend/app/db/database.py - FastAPI application → SQLAlchemy database: initializes
backend/app/main.py - Runtime configuration → SQLAlchemy database: configures connection
backend/app/db/database.py - Embedding provider → Runtime configuration: reads provider settings
backend/app/services/embedding_service.py - Language model → Runtime configuration: reads provider settings
backend/app/services/llm_service.py