
Tech Stack
Next.js
Typescript
Python
FastAPI
PostgreSQL
Redis
Description
EduAI is a learning platform where students upload course material (PDFs, slides, lecture notes) and interact with an AI tutor that only answers from that material, drastically reducing hallucinated answers.
The ingestion pipeline chunks and embeds documents into pgvector, and a retrieval layer with hybrid search (BM25 + dense) feeds a streaming LLM response with inline citations.
A spaced-repetition engine auto-generates flashcards from chat sessions so students retain what they learned.
- Built a hybrid retrieval pipeline (keyword + vector) improving answer relevance by ~35% over dense-only search.
- Implemented token streaming with citation markers so students can verify every answer against the source.
- Designed multi-tenant isolation so each classroom's content stays private.
- Auto-generated spaced-repetition flashcards from tutoring sessions.
- Deployed on serverless infra with Redis caching to keep p95 response latency under 800ms.
Page Info
RAG Tutor
Chat-based tutor that retrieves relevant course chunks via pgvector and streams grounded answers with source citations.
