What Are Embeddings? Explained Simply for Business (2026)
What an embedding is, what businesses use embeddings for, how they relate to the LLM in an AI assistant, and what OpenAI, Google, Cohere and Voyage AI say to get right before you build search on them.
An embedding is a list of numbers that represents a piece of text, an image or another input, so software can compare meaning. Inputs that mean similar things get vectors that sit close together. Businesses use them for search, recommendations, clustering and classification, and to find the passages an AI assistant answers from.
An embedding is a list of numbers that stands for a piece of text, an image or another input. OpenAI's embeddings guide puts it simply: an embedding is a vector, a list of numbers, and "the distance between two vectors measures their relatedness." Small distances suggest the inputs are closely related, and large distances suggest they aren't. That lets software match "reimbursement" with "repayment of expenses" even though the words differ.
What businesses use embeddings for
OpenAI lists the common uses:
- Search, where results are ranked by how relevant they are to a query.
- Clustering, where similar items are grouped together.
- Recommendations, where items related to one you liked are suggested.
- Anomaly detection, where outliers with little relation to the rest stand out.
- Classification, where text is matched to the label it is most similar to.
Google's Gemini embeddings documentation adds retrieval augmented generation (RAG), the setup where an AI assistant answers from your own documents. Google's newest model, gemini-embedding-2, maps text, images, video, audio and documents into one space, so a text query can find a matching image or video.
How embeddings relate to the AI assistant
A large language model reads and writes text as tokens, as the guide to LLMs explains. An embedding model is a separate kind of model that turns inputs into vectors you can store and compare. The LLM is the part that writes the answer.
In a RAG system the two work together. The embedding model finds the passages in your documents that sit closest to the question, and the LLM writes an answer from those passages. If the search step brings back the wrong passage, the answer starts from the wrong place.
You may need a separate vendor for this step. Anthropic's embeddings page says Anthropic does not offer its own embedding model and points to Voyage AI by MongoDB as one provider.
A worked example
Picture three records in a company's document store. They are made up for illustration.
| Record | Content | Who may see it |
|---|---|---|
| A | Current expense policy: meal claims need an itemized receipt | All staff |
| B | Old expense policy with an earlier receipt rule | Archive reviewers |
| C | Finance team's discussion of an exception | Finance only |
An employee asks, "What receipt do I need for a meal claim?" All three records are close in meaning to that question, so all three could score well. The right answer is A. B is out of date and C is one the employee shouldn't see. Similarity can't tell those apart. The dates and access rules stored next to each record can, so filter on them before anything reaches the user or the assistant.
The same goes for exact lookups. "Find expense policy EXP-204" is a job for keyword or ID search, which looks for that exact string. A search system can combine both kinds.
What the vendor documentation says to get right
Use one model for everything you compare
Vectors from different models don't line up. Google says embeddings from gemini-embedding-001 and gemini-embedding-2 are incompatible and can't be compared directly, so moving to the newer model means re-embedding all your existing data. Record which model and settings built your index, and plan a rebuild when you change either one.
Tell the model which inputs are questions and which are documents
Several providers embed a short question differently from the passage that answers it. Cohere's documentation says to embed search queries with input_type="search_query" and the passages being searched with input_type="search_document". Voyage AI uses input_type="query" and "document", and Google's gemini-embedding-001 uses task types such as RETRIEVAL_QUERY and RETRIEVAL_DOCUMENT. The Sentence Transformers documentation calls this asymmetric search: a short query looking for a longer paragraph that answers it.
Check the size and the price
OpenAI's text-embedding-3-small returns 1,536 numbers per input by default and text-embedding-3-large returns 3,072, and both accept a dimensions setting to make vectors shorter. Shorter vectors take less storage. OpenAI prices embeddings per input token, so cost grows with the amount of text you embed.
Consider a reranker
Voyage AI also offers rerankers, which take a question and a list of candidate passages and return them ordered by relevance. A reranker reorders what search found. It can't add a passage that search missed.
Compare providers on your own data
Anthropic suggests weighing how relevant a model's training data is to your domain, its speed and latency, and whether it can be customized for your vocabulary.
How to test before you commit
- Write 20 to 50 real questions your staff or customers ask, and note which document should answer each.
- Include exact lookups, such as policy numbers, and at least one question your documents don't answer.
- Run the same questions through each model or search setup you're considering.
- Check whether the right passage comes back, whether an outdated or restricted one sneaks in, and what happens on the unanswerable question.
- Rerun the test whenever the documents, the model or the settings change.
Before any of this, decide which documents an AI system may read at all. The guide on what is safe to put into ChatGPT covers that question.
Sources
- Vector embeddings (OpenAI API documentation) (checked 2026-12-02)
- Embeddings (Gemini API documentation, Google) (checked 2026-12-02)
- Embeddings (Claude API documentation, Anthropic) (checked 2026-12-02)
- Embeddings (Cohere documentation) (checked 2026-12-02)
- Semantic search (Sentence Transformers documentation) (checked 2026-12-02)
Get the next one.
Field notes from real deployments, written the way this one was. No schedule promised and nothing sold to you. Unsubscribe whenever.
Frequently asked questions
What is an embedding in simple terms?
A list of numbers that represents a piece of text, an image or another input. Inputs with related meaning get vectors that are close together, and OpenAI describes the distance between two vectors as a measure of how related they are. That lets software find matches by meaning instead of exact words.
Are embeddings the same as an LLM?
No. An embedding model turns inputs into vectors for search and comparison. An LLM writes text. In a RAG system the embedding model finds relevant passages and the LLM answers from them. Anthropic, for example, does not offer its own embedding model and points to Voyage AI.
Can I mix embeddings from different models?
No. Vectors from different models aren't comparable. Google says even its own gemini-embedding-001 and gemini-embedding-2 are incompatible, so switching models means re-embedding all your existing data.
Does a close match mean the answer is right?
No. Similarity only says two things are related. Whether a passage is current, correct and allowed for this user comes from the dates, versions and access rules you store with it. Filter on those, and test with real questions that include exact lookups and one your documents can't answer.
Need help implementing this?
Prometheus does AI consulting and implementation, remote, with onsite days available in Milwaukee. We set it up, train your team, and make sure it works.
let's talk
