MVP Status: All core backend and frontend steps for the quiz-enabled learning flow are complete. The prototype supports PDF upload, chat, bundle recommendation, quiz generation, validation, XP/badges, and a modern UI.
Design a conversational GenAI platform that:
- Analyzes resumes and user goals via agents.
- Recommends personalized course bundles.
- Auto-prices bundles based on user-defined budgets.
- Offers interactive micro-assessments (quizzes) before advancing modules.
- Uses Pydantic AI for agent modularity, LangGraph for orchestration.
-
ResumeAgent: Parse resume and extract structured skill profile. -
ConversationAgent: Capture goals, roles, preferences, budget from user chat. -
CourseRetrievalAgent: Match skill gaps with embedded courses. -
PricingAgent: Adjust bundle price to fit user's budget constraints. -
QuizAgent: Generate quizzes to test understanding per module before unlocking the next.
- Define flow: ResumeAgent → ConversationAgent → CourseRetrievalAgent → PricingAgent → QuizAgent
- Structure LangGraph DAG using typed Pydantic nodes.
- Add LangGraph test traces for each transition.
- Ingest 10–20 sample course descriptions.
- Embed courses using OpenAI's
text-embedding-ada-002. - Store vectors in FAISS DB (
embeddings/faiss_index/). - Implement
retriever.pyfor reusable vector search abstraction.
- Upload resume (PDF or text).
- Extract → chunk → embed.
- Route into
ResumeAgent; log structured skill profile output.
- Build chat frontend to capture:
- Career goal
- Preferred tech domain (e.g., frontend, data)
- Budget
- Connect to
ConversationAgentbackend API.
- Compare user resume skills with goal skills.
- Retrieve best-fit courses from FAISS.
- Output as bundle cards (title, skills, time, price).
- Compute scaled pricing using:
scaled_price = (budget / total_base_price) * base_price
- Reflect bundle changes live in UI with budget slider.
- Build
QuizAgent(Pydantic AI)- Input:
module_title,target_skill - Output: 3–5 MCQs as JSON
- Input:
- Use GPT-4 to generate questions OR load from static quiz pool (for mock).
- Show quiz in frontend before enabling next module.
- Simple answer validation logic.
- Gate progression based on score (optional toggle for demo).
- Resume upload + status indicator.
- Chat-based assistant UI (collects resume/goals/budget).
- Bundle preview: Course cards with skill tags + pricing.
- Budget slider (UI fully implemented, live course swapping: [TODO])
- Quiz interface: MCQ with feedback + score (unlock logic optional).
- Responsive, mobile-first UI (all screens, all breakpoints)
- Light/dark mode toggle in NavBar
- Modern, custom color palette (theme-aware)
- Gamified dashboard: XP, badges, quiz history, progress
- Unit tests for all Pydantic agents (including
QuizAgent). - Validate LangGraph transitions (happy path + edge).
- Simulated full flow: resume → goals → bundle → pricing → quiz.
- Add support for persistent user accounts & profiles.
- Add XP/progress badges for quiz completion.
- Gamified dashboard (track learning over time).