← Questions

Build a recommender, then a chatbot on top of it

0
NetflixSystem designLast asked Jan 2026

An AI system design interview question asked in Netflix's system design round, last asked Jan 2026. It tests recommendations, llm and chatbots.

Build a recommendation system from scratch for a catalog of items (for example titles on a streaming service), then add a conversational interface on top of it: users say what they want in plain language and a chatbot answers with recommendations and explains them. The chatbot must respect the same eligibility and ranking rules as the rest of the product and must never offer items that do not exist or are not available to the user.

Requirements

  • Part 1, recommender: data and feedback signals, candidate retrieval, ranking, cold start for new users and items, offline and online evaluation, and serving.
  • Part 2, chatbot: turn a request ("something funny and short for tonight") into a query against the recommender, return grounded results with explanations, keep context across turns, and handle safety and latency.
  • Non-functional: recommendations within a few hundred milliseconds; chatbot replies that start quickly; cost per conversation kept in check.

Clarifying questions

  • What are the items, what feedback exists (plays, completions, ratings), and what metric defines success?
  • Is there any infrastructure today, or truly nothing?
  • Should what a user says in a conversation change their long-term profile, or only this session?
  • Which eligibility rules apply (region, age rating, licensing windows)?
  • What latency is acceptable for a chat reply?

What a strong answer covers

  • A staged recommender: simple baselines first (popularity, co-occurrence), then retrieval with embeddings (two-tower or matrix factorization), a ranking model on richer features, and business rules applied last.
  • Cold start, feedback loops and exploration, and offline metrics (recall, NDCG) tied to online A/B tests.
  • Serving: precomputed candidates, an approximate nearest-neighbour index, a feature store, caching and latency budgets.
  • The chatbot as an LLM with tools: it parses intent into structured filters and calls the recommender, it only presents items returned by the tools, and it explains using item metadata rather than invention.
  • Session state across turns, guardrails on output, latency (streaming, small models for intent), and evaluation of both relevance and explanation quality.

Follow-ups

  • How would you evaluate the explanations?
  • How do you keep the recommender from narrowing what users see (feedback loops)?
  • A user asks for an item that is not available in their region. What does the chatbot say?
  • What should change in the recommender once chat data exists?

Where it's asked

  • Netflix · System design · Last asked Jan 2026Design discussion; some loops split a general round from a team-specific one

What it tests

recommendations · llm · chatbots · retrieval

Your canvas
Draw your answer hereBoxes, arrows and notes, saved for you to come back to.Sign in to start drawing