← Questions

ML design for retrieval: embeddings, hybrid search and ranking

0
OpenAIMicrosoftAI/ML designLast asked Sep 2026

An AI/ML design interview question asked in OpenAI's technical screen (system design) and at Microsoft, last asked Sep 2026. It tests retrieval, embeddings and ranking.

Design the machine learning behind the retrieval stage of a question-answering system over a large document collection, for example a company's internal documents. Given a user's question, the system must return the most relevant passages…

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

What it tests

retrieval · embeddings · ranking · rag

Your canvas and the AI tutor open when you unlock this question.