DATA FLOW
Upload PDF ↓ Extract page chunks → Titan embeddings → Aurora pgvector ↓ Retrieve chunks → Bedrock generation → Grounded MCQs ↓ Study → FSRS scheduling + BKT mastery → Dashboard
HOW IT WORKS
Adaptive cert prep built on your own materials — grounded citations, real forgetting curves, and one database that holds everything.
DATA FLOW
Upload PDF ↓ Extract page chunks → Titan embeddings → Aurora pgvector ↓ Retrieve chunks → Bedrock generation → Grounded MCQs ↓ Study → FSRS scheduling + BKT mastery → Dashboard
ARCHITECTURE
Amazon Aurora PostgreSQL + pgvector stores cert objectives, uploaded PDF chunks, embeddings, generated questions, and every review event. Coverage, citations, and scheduling all read from the same data.
Amazon Bedrock powers retrieval and generation: Titan Text Embeddings V2 for semantic search over lecture pages, and Claude Sonnet for original MCQs tied to source passages.
FSRS schedules when each card is due based on recall history. BKT estimates per-objective mastery for dashboard readiness bars.
The app runs on Vercel — serverless API routes connect to Aurora over a secure connection.
SCHEMA
CREATE EXTENSION IF NOT EXISTS vector; with HNSW index on chunk embeddings for fast similarity search.
VECTOR SEARCH
Retrieval finds the most relevant lecture pages before question generation:
SELECT c.content, c.page_number, d.filename FROM chunks c JOIN documents d ON d.id = c.document_id ORDER BY c.embedding <=> $query_embedding LIMIT 5;
BUSINESS MODEL
Free — one cert goal, limited uploads, cited practice questions, and adaptive review.
Pro (~$12–15/month) — multiple goals, unlimited PDFs, full dashboard readiness, and priority generation.
B2B cohort analytics— team readiness and instructor dashboards — on the roadmap for bootcamps and enterprise L&D.
Your uploaded PDFs are stored for your study sessions only. You can delete documents at any time. Mastery does not use your documents to train public models.
Mastery generates original practice questions grounded in your materials. It is a study aid, not an official exam provider, and does not guarantee certification outcomes.
Coming next: additional AWS certifications, B2B cohort dashboards for bootcamps, and deeper instructor analytics.