Preparing your design workspace

Loading the problem and your latest saved attempt…

Design a Grounded Recommendation Chatbot

Design a short-session chatbot grounded in an existing recommender and catalog, with bounded state and explicit refusals.

Problem statement

Design a chatbot layered on an existing recommendation system. Constrain it to short recommendation-seeking conversations grounded in the recommender's bounded catalog and candidate set, with ordered session state, replay-safe turns, verified item facts, and explicit refusal for unsupported requests.

These conversation and safety rules are labeled practice assumptions.

What to build

  1. Accept short recommendation requests and follow-up preference refinements within one bounded session.
  2. Recommend only item IDs returned by the existing recommender and confirmed in the current catalog.
  3. Persist a compact versioned session summary and replay-safe turn history.
  4. Refuse unsupported requests, avoid fabricating catalog facts, and record explicit response-attributed feedback without silently rewriting the source recommender.

At scalePractice assumption

  • Sessions contain at most 20 turns and expire after 30 minutes of inactivity.
  • 2,000 conversation turns per second at peak with a two-second p95 first-response target.
  • Each turn may request at most 50 grounded candidates and return at most five recommendations.
  • Catalog and recommender version IDs are attached to every grounded answer.