Back to concept
QuestionMediumML System DesignRAG question from a technical interview

Vector retrieval with diversity constraints

A vector search returns top-k nearest items, but all results are too similar to each other. How can you keep relevance while increasing diversity?

Answer as you would in an interview

Answer aloud or write down a few key points. The text field is optional; the review opens after your attempt.

Loading
Vector retrieval with diversity constraints — interview question — ML Mentor