Download README.md from Muxperts/Veda: direct link, hf CLI and curl.
- Browser
- Download file 7.58 kB
-
https://huggingface.co/spaces/Muxperts/Veda/resolve/main/README.md
- Command line
-
hf download hf://spaces/Muxperts/Veda/README.md
-
curl -L -o README.md https://huggingface.co/spaces/Muxperts/Veda/resolve/main/README.md
title: Teacher Assistant
emoji: ๐
colorFrom: blue
colorTo: green
sdk: docker
pinned: false
app_port: 7860
license: apache-2.0
short_description: AI-Powered Teacher Assistant
๐ Just-in-Time Classroom Assistant
try it here: https://muxperts-veda.hf.space
A deterministic, real-time classroom decision-support system built for teachers operating under real classroom constraints.
Design guarantee: Given the same input and constraints, the system will always return the same output.
๐ What This System Is โ and Is Not
This system IS
- A just-in-time classroom panic button
- A deterministic decision engine, not a chatbot
- A bridge between teacher micro-moments and academic leadership insight
- Designed for government and low-infrastructure classrooms
This system IS NOT
- A generative AI chatbot
- A counselling or therapy tool
- A lesson planner or curriculum designer
- A black-box ML personalization engine
Clear boundaries ensure safety, predictability, and trust.
๐ Overview
Teachers face breakdowns during teaching, not after workshops.
The Just-in-Time Classroom Assistant supports teachers in live classroom moments by converting messy, emotional input into safe, executable actions within seconds.
Instead of post-facto feedback, the system provides micro-interventions that respect:
- Time pressure
- Large class sizes
- Limited digital infrastructure
- Zero tolerance for experimentation risk
โ ๏ธ Problem Statement
Context
Classroom breakdowns are immediate:
- Noise escalation
- Conceptual confusion
- Student disengagement
- Time overruns
Why Existing Systems Fail
- Delayed: Feedback arrives days or weeks later
- Generic: Abstract advice, not executable steps
- Disconnected: No feedback loop to academic leadership
Result
Teachers develop Implementation Anxiety, revert to rote methods, and avoid innovation.
๐ง Ground Research & Validation
Before development, we studied the field:
- Teacher surveys (Google Forms) identifying real breakdown moments
- Classroom observations in government schools
- Interviews revealing why existing EdTech tools fail:
- Too complex
- Internet dependent
- High cognitive load
Key insight:
Teachers donโt need intelligence. They need reliability under pressure.
๐ก The Solution
For Teachers
- Voice or text input (messy input allowed)
- Instant output: Top 3 low-effort classroom actions
- No follow-up questions
- No explanations
- Classroom-ready language
For Academic Leadership (CRP / BRP / ARP)
- Live dashboards of classroom issues
- Cluster-wise heat maps
- Data-backed visit planning
- Visibility into digital vs physical intervention gaps
๐ Knowledge Base & Data Sources
All solutions are pre-validated, not generated.
Sources include:
- CBSE Handbooks (official pedagogy)
- FLN & NEP resources
- Large-scale scraping of teacher forums (practical edge cases)
This forms a Solution Library blending:
- Pedagogical correctness
- Field-tested practicality
โ๏ธ How the Deterministic Decision Engine Works
End-to-End Example
Input
โStudents are noisy and donโt understand fractionsโ
Detected Signals
- NOISE_SPIKE
- CONCEPT_CONFUSION
Constraints
- No projector
- Time remaining < 10 minutes
Output
- Board-based ThinkโPairโExplain (fractions)
- Fraction voting cards
- Silent solve + peer check
Core Pipeline
Input Normalization
- Handles spelling errors, emotion, grammar noise
Signal Extraction
- Rule-based detection (e.g., NOISE_SPIKE, TIME_LOW)
Constraint Filtering
- Infrastructure, time, safety constraints applied
Deterministic Scoring
- Low effort + high safety ranked highest
Solution Selection
- Top 3 distinct solutions retrieved
- No hallucination, no free-text generation
๐ก Failure Modes & Safeguards
- No solution match โ fallback to safest generic intervention
- Overlapping solutions โ enforced diversity
- Vague input โ defaults to classroom-safe actions
- Empty output โ impossible by design
๐ Administrative Feedback Loop
Teacher โ CRP โ BRP โ ARP
- Teachers report breakdowns
- CRPs see real-time cluster issues
- BRPs monitor intervention coverage
- ARPs identify systemic academic gaps
All logging is silent and non-intrusive.
๐ Tech Stack
Current
- Backend: FastAPI (Python 3.11)
- Frontend: Jinja2 + Vanilla JS
- Database: SQLite (zero-ops, offline-friendly)
- AI: Whisper/Vosk, HuggingFace (signal detection)
- Visualization: Chart.js
Why SQLite First?
- Zero operational overhead
- Predictable performance
- Ideal for school pilots and offline-first deployment
๐ฎ Roadmap (Non-Negotiables Included)
- Offline Lite App (text-only, local DB)
- Vernacular language expansion
- SLMs for empathetic acknowledgement only
- Deterministic decision core remains untouched
๐ Installation
First edit the requirements.txt uncomment these three lines then follow the steps below it.(remove #)
# torch
# torchvision
# torchaudio #(for deployment purpose)
git clone <repo_url>
pip install -r requirements.txt
uvicorn app:app --reload
- Teacher Dashboard: http://localhost:8000/dashboard
- Admin Login: http://localhost:8000/login
- Note: The microphone and speech-to-text feature is currently a demo available only via local installation. It is not yet deployed to the live website due to the high processing power required to run the heavy AI models. You can test this feature by following the installation instructions above.
๐งญ Design Principle
Convert real-time classroom chaos into safe, ranked actions โ instantly, predictably, and explainably.