FastAPI backend for LENA AI—course Q&A, feedback, and analytics to support online learning.
10K+
watrall/lena-backendGitHub repo: https://github.com/watrall/lena
LENA (Learner Engagement and Needs Assistant) is a lightweight AI chatbot pilot designed to support students in online courses. It helps learners get quick, accurate answers about assignments, schedules, and university policies, reducing instructor burden in high-enrollment classes and helping students stay on track.
LENA isn’t meant to replace instructors. It handles common questions and points students toward course resources, then routes low-confidence questions into an instructor review workflow. Every question and interaction is logged, creating a feedback loop that helps instructors spot confusion early, adjust materials, and improve the course.
Students interact through a simple chat interface that works on desktop and mobile. Instructors and course admins can view real-time insights in an analytics dashboard, tracking trends, top questions, and emerging pain points across multiple courses. The pilot version is fully containerized (FastAPI backend + Next.js frontend + Qdrant vector store) and integrates with GitHub Actions for automated testing and builds.
This backend service, built with FastAPI, handles course-scoped Q&A, ingestion, and pilot analytics. It provides endpoints for chat, feedback, escalations, insights, exports, and instructor tools (demo-only auth).
Frontend image: https://hub.docker.com/r/watrall/lena-web
docker pull watrall/lena-backend:latest
docker run -d -p 8000:8000 watrall/lena-backend:latest
Once running, the API is available at http://localhost:8000.
course_id enforced) with citationsThis backend includes demo-only instructor authentication for instructor tools. It is not production authentication. For real deployments, integrate institutional auth/SSO and proper role-based authorization, and apply standard perimeter controls.
Content type
Image
Digest
sha256:e67cc416f…
Size
337.2 MB
Last updated
8 months ago
docker pull watrall/lena-backend