Recommend Relevant Custom GPTs Based on a User's Recent Chats

Last updated: November 29, 2026

Quick Overview

Design a system that recommends custom GPTs from the GPT Store to users, for example a slide-making GPT for someone who often asks for presentations, using embeddings and simple ranking.

OpenAI
ML System Design
Machine Learning Engineer
OpenAI
November 29, 2026
Machine Learning Engineer
Technical Screen
ML System Design
Easy

0

0

0 solved


Design a system that recommends custom GPTs from the GPT Store to users, for example a slide-making GPT for someone who often asks for presentations, using embeddings and simple ranking.

With a catalog of millions of GPTs, discovery beyond the top charts needs personalization. In a screen-level ML design, the interviewer checks that you can set up a straightforward two-stage recommender with sensible features and evaluation, and handle catalog quality.

What the Interviewer Expects
  • Represent users and GPTs in a shared embedding space
  • Generate candidates with approximate nearest neighbor search
  • Rank with a lightweight model using quality and engagement signals
  • Filter low-quality, unsafe or unlisted GPTs
  • Define offline and online metrics
Key Topics to Cover
embeddings
two-stage recommender
ANN search
quality filtering
How to Approach This
  1. Start by mapping the business objective to a concrete ML objective and metric.
  2. Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
  3. Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
  4. Address the serving latency budget and whether batch or real-time inference is needed.
  5. Think about the data flywheel: how user feedback improves the model over time.
Possible Follow-up Questions
  • How do you avoid recommending spammy GPTs that game keywords?
  • How do you handle a brand new GPT with no usage?
  • How would you explain to the user why a GPT was recommended?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice ML System Design Problems
Sample Answer
Requirements
  • Surface up to 5 recommended GPTs in the explore page and occasionally in-chat.
  • Objective: user starts a conversation with the GPT and returns to it within 7 days.
  • Catalog: millions of GPTs, long...
High-Level Design
  1. GPT embeddings: embed name, description and sample conversation starters with a text embedding model; store in an ANN index (only GPTs passing a quality threshold).
  2. User embedding: avera...

Submit Your Answer
Markdown supported