179 questions
No questions match those filters.
How do you actually choose an embedding model for a RAG...
This is one of the questions in the full AI/ML interview bank. Pro unlocks all 1789 questions; Premium includes the same bank plus the highest daily Practice limit.
See plansFive factors, and none of them is decisive alone. Quality against cost is the obvious tradeoff — a top proprietary embedding model costs money per token but needs no infrastructure, while a strong open-source model is free to run but needs hosting. Vector dimension matters for storage and search cost: 1536+ dimensions capture more semantic nuance, but 384 or 768 dimensions are faster and cheaper at scale. If the document set spans multiple languages, that alone rules out English-only models in favor of multilingual ones. And domain fit is easy to underweight — a general-purpose embedding model can noticeably underperform a domain-tuned one on specialized vocabulary, medical or legal text being the classic case.
The MTEB leaderboard is a reasonable starting filter for retrieval performance, but it’s not the final word — it measures general benchmarks, not your specific documents. The discipline that separates a careful choice from a guess is validating the shortlist on your own data: a model that tops MTEB can still retrieve worse than a lower-ranked one once your domain’s actual vocabulary and phrasing enters the picture, so the last step is always an eval on real queries against real documents, not the leaderboard number alone.