How shezinkhais/cognitive_learning_intelligence_platform works
C.L.I.P is a Teams-oriented AI assistant for live university classes. Lecturers upload learning material, review generated comprehension questions, then run sessions where students answer periodic checkpoints and lecturers see comprehension and engagement signals. Students can also review progress and use a grounded chat tutor; administrators govern access and import timetable and roster data. The graph follows the documented frontend/API, content-preparation and live-session flows. Some capabilities are documented but their implementation was not sampled, so those links are shown only where the README supports them.
Main entry points: App.tsx Role-based app · useLiveSession.ts Student live panel · classroom.py Live WebSocket hub · router.py Versioned API routes
Components 29
User experience
- Role-based app
frontend/src/App.tsx - Student live panel
frontend/src/features/student/useLiveSession.ts - Local attention sensors
frontend/src/features/attention/useLocalSensor.ts - Lecturer session view
frontend/src/pages/LecturerLiveSessionPage.tsx - Question review
frontend/src/pages/QuestionReview.tsx - Student progress review
frontend/src/pages/StudentReviewPage.tsx - API client
frontend/src/api.ts - Teams client
frontend/src/teams/teamsClient.ts
Application API
- FastAPI application
backend/app/main.py - Versioned API routes
backend/app/api/v1/router.py - Identity and consent
backend/app/auth/service.py - Teams meeting integration
backend/app/services/teams_bot.py
Material intelligence
- Material and question API
backend/app/api/v1/content.py - Upload storage
backend/app/services/storage.py - Extraction and generation
backend/app/services/pipeline.py - Document extraction
backend/app/services/extraction.py - Local model gateway
backend/app/services/ai_gateway.py
Live learning
- Session and meeting routes
backend/app/api/v1/sessions.py - Live WebSocket hub
backend/app/realtime/classroom.py - Engagement and alerts
backend/app/services/engagement.py - Grounded tutor chat
backend/app/services/tutor_chat.py - Reports and review
backend/app/services/reports.py
Platform services
- Persistence repositories
backend/app/repositories/live_event_repository.py - PostgreSQL and pgvector
backend/app/core/database.py
Other components
- Student
- Lecturer
- Administrator
- Ollama models
- Microsoft Teams
Connections 37
- Student → Role-based app: uses
README.md - Lecturer → Role-based app: uses
README.md - Administrator → Role-based app: uses
README.md - Role-based app → Student live panel: routes to
frontend/src/App.tsx - Role-based app → Lecturer session view: routes to
frontend/src/App.tsx - Role-based app → Question review: routes to
frontend/src/App.tsx - Role-based app → Student progress review: routes to
frontend/src/App.tsx - Student live panel → API client: requests
frontend/src/features/student/useLiveSession.ts - Local attention sensors → Student live panel: provides signals
- API client → Versioned API routes: HTTPS requests
README.md - FastAPI application → Versioned API routes: mounts
backend/app/main.py - FastAPI application → Live WebSocket hub: mounts socket
backend/app/main.py - Versioned API routes → Material and question API: registers
backend/app/api/v1/router.py - Versioned API routes → Session and meeting routes: registers
backend/app/api/v1/router.py - Versioned API routes → Student progress review: registers review
backend/app/api/v1/router.py - Material and question API → Upload storage: stores uploads
backend/app/api/v1/content.py - Material and question API → Extraction and generation: starts processing
backend/app/api/v1/content.py - Extraction and generation → Document extraction: extracts content
backend/app/services/pipeline.py - Extraction and generation → Local model gateway: generates questions
- Extraction and generation → PostgreSQL and pgvector: indexes chunks
README.md - Local model gateway → Ollama models: calls locally
README.md - Lecturer session view → Live WebSocket hub: connects live
README.md - Live WebSocket hub → Student live panel: delivers checkpoints
README.md - Student live panel → Live WebSocket hub: sends answers
README.md - Live WebSocket hub → Engagement and alerts: provides signals
- Live WebSocket hub → Persistence repositories: records events
- Engagement and alerts → Lecturer session view: shows alerts
README.md - Lecturer → Question review: reviews drafts
README.md - Student → Student progress review: checks progress
README.md - Student live panel → Grounded tutor chat: asks questions
- API client → Grounded tutor chat: chat requests
- Session and meeting routes → Persistence repositories: persists session data
- Reports and review → Persistence repositories: reads learning data
- Persistence repositories → PostgreSQL and pgvector: queries and writes
- Microsoft Teams → Teams meeting integration: sends meeting events
README.md - Teams meeting integration → Session and meeting routes: starts and ends sessions
- Teams client → Microsoft Teams: runs within
README.md