Aiden Mak logo
GenAI Customer-Support Assessment

GenAI Customer-Support Assessment

Reading lens
Info

A customer-support assistant that routes each question deterministically — SQL for data, RAG for documents, hybrid for both — and cites where every answer came from.

Role
Technical Assessment
Solo build — technical assessment
2026
Stack
LangGraph
ChromaDB
FastMCP
Streamlit
Proof
Deterministic routing across three answer paths — SQL, RAG, hybrid
Explicit citation mechanism back to the rows or chunks used
Streamlit UI with Playwright checks over the core flows
Support questions mix data lookups with document questions — a single RAG pipe answers both badly.
01 — Core Workflow03 Films
Film — overview.mp4
01One Question, End to End

A support question goes in; a complete answer comes out with its source attached. The assistant decides on its own whether the question needs the database, the document corpus, or both — no mode switch, no dropdown, no asking the user to know the difference.

One question, end to end
Film — routing.mp4
02Three Questions, Three Routes

Ask a data question, a policy question and a mixed one — each visibly takes a different path: SQL for data, RAG for documents, hybrid for both. Routing is deterministic, so the same kind of question takes the same route every time.

Three questions, three different routes
Film — kb_answer.mp4
03Grounded, with Receipts

A knowledge-base hit comes back with the answer and its basis — the chunks it drew from, cited explicitly, so a support agent can check the source before forwarding the answer to a customer.

A knowledge-base answer with its source
02 — Trust & Verification03 Films
Film — fallback.mp4
04An Honest No

Ask something outside the assistant's scope and it says so explicitly instead of improvising a confident guess. In a support context a wrong answer costs more than no answer — the fallback is designed behavior, not an error state.

Out-of-scope input gets an honest fallback
Film — followup.mp4
05Context That Carries

Ask a follow-up in the same conversation and the context carries — the assistant answers the new question in light of the last one, without being re-briefed on what was just discussed.

Follow-up keeps the conversation's context
Film — run_tests.mp4
06The Suite Runs Green

The Playwright checks drive the real app — the flows on this page are the flows the tests walk, and the suite ends green on camera.

The test suite runs green
03 — Business ValueWhat Changes
Routing

Data questions hit the database directly; document questions stay grounded and cited; mixed questions get both. One assistant, the right tool each time.

Grounding

Every response carries an explicit citation back to the rows or chunks it used — answers a support team can forward without re-checking the source themselves.

Honesty

Out-of-scope questions get a designed fallback, not a confident guess.

Built as a technical assessment on synthetic data — what's demonstrated is the architecture, not production usage.