Project: AI Support Chatbot
Advanced · 8 missions · about 3 hours
Build a production-grade AI support assistant end to end: spec, system prompt, a Preact chat UI, a Worker API that validates input and calls Claude, FAQ retrieval to ground answers, guardrails with human escalation, and privacy-safe logging. Then deploy it live.
Missions
- Product spec for an AI support bot: Scope, escalation, metrics and risks, decided before code.
- The system prompt: Grounded answers, an escalation marker and hard rules.
- Chat UI with Preact: Messages state, pending and error states, accessible live updates.
- The Worker chat handler: Validate untrusted input, call the model safely, fail gracefully.
- FAQ retrieval: ground the answers: Find the relevant FAQ entries and put them in front of the model.
- Fix the AI: guardrails & escalation: Case bugs, substring false positives and a leaked marker.
- Conversation logs with PII redaction: Learn from conversations without hoarding customer secrets.
- Boss: Deploy Loopy: Wire every piece into one Worker and ship it.
Part of: AI Product Engineer career path