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
November 29, 20260
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
How to Approach This
- Start by mapping the business objective to a concrete ML objective and metric.
- Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
- Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
- Address the serving latency budget and whether batch or real-time inference is needed.
- 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 ProblemsSample 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
- 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).
- User embedding: avera...