Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Embedding vendor choice is workload-driven: OpenAI 3-large for general English, Voyage voyage-code-3 for code, BGE-M3 for multilingual, Cohere for paired reranker, Nomic or Arctic for open-weights on-prem.
Picture a hardware store with five aisles, each selling a different kind of saw. There is the all-purpose handsaw most people grab without thinking. There is a tile saw for cutting ceramic, a multi-tool that works in many materials, a power saw that comes paired with a matching sander as a bundle, and a hand-built saw you can buy as a kit and assemble yourself at home. Picking the right search tool is the same exercise. There is a general-purpose option, a code specialist, a multi-language specialist, a paired-ranker option, and a self-assemble kit you can run in your own basement.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
7 minutes: the five workload buckets, vendor specializations, MTEB vs labeled eval, switching cost, and decision rule.
| Vendor / Model | Best for | Hosting | Standout feature |
|---|---|---|---|
| OpenAI text-embedding-3-large | general English RAG | hosted API | Matryoshka truncation, cheap |
| Voyage voyage-code-3 | code retrieval | hosted API | code-aware tokenizer, +10-30% on CSN |
| BGE-M3 | multilingual, hybrid | open weights | dense + sparse + multi-vector from one call |
| Cohere embed-v3 / v4 + rerank-3.5 | paired-reranker stacks | hosted API | tight embedder-reranker pairing |
| Nomic v1.5 / Arctic Embed L 2.0 | on-prem, no API | open weights | single-H100 deployable, strong MTEB |
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Picking text-embedding-3-large for everything because it is the default, then losing 10 to 30 percent recall on a code-retrieval or multilingual workload that needed a specialist.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.