Skip to main content
Mobius
Advanced

What is an embedding

Also known as: embeddings, vector embedding

Definition

An embedding is a list of numbers that stands for the meaning of a text or image, so texts that mean the same land close together, even with different words.

Why it matters

Embeddings are why an AI search finds the cancellation rule when the customer wrote "I can't come tomorrow".

Common mistakes

Treating embeddings as anonymous numbers, when research recovered much of the original text from them.

Worked exampleIllustration

Three lines of a fictional pilates studio's policy sheet

A fictional neighbourhood pilates studio's assistant searches its policy sheet. The map positions are drawn for teaching, not computed.

  1. The passages

    "You can cancel a class up to 24 hours before it starts", "Bring a towel and water" and "Classes are for adults only" each become a list of numbers.

  2. The question

    A customer writes "I can't come tomorrow, what now?". It shares no keyword with any passage, and it becomes a list of numbers too.

  3. On the map

    The question lands next to the cancellation passage and far from the other two.

  4. The result

    The cancellation passage is the one the assistant will use.

The customer never wrote "cancel". The numbers matched the meaning, not the word.

Illustration

Questions land next to what they mean

The question “I can’t come tomorrow, what now?” lands next to “Cancel up to 24 hours before”, although they share no word. The numbers under the map are shortened and invented for this drawing.⁨Cancel up to 24⁩⁨hours before⁩⁨Bring a towel⁩⁨and water⁩⁨Classes are for⁩⁨adults only⁩⁨The question⁩

The question as numbers: 0.19 · -0.40 · 0.11 · 0.33 …

The closest passage: 0.21 · -0.43 · 0.08 · 0.37 …

The question “I can’t come tomorrow, what now?” lands next to “Cancel up to 24 hours before”, although they share no word. The numbers under the map are shortened and invented for this drawing.

An embedding turns each passage and each question into a list of numbers, a position on a map of meaning. A question lands next to the passage it means, even with no word in common. Simplified to 2 dimensions: real embeddings have hundreds or thousands of numbers.

Definition

An embedding turns a piece of text, or an image, into a list of numbers chosen so that similar meanings get similar numbers. Texts that mean the same land close together even when they share no word, which is what lets an AI tool find the passage a customer needs. Real embeddings have hundreds to thousands of numbers: OpenAI's text-embedding-3-small returns 1,536 by default and text-embedding-3-large 3,072. The maps that show embeddings as dots on a page are simplified to two dimensions for teaching. Embeddings are the first step of a vector database and of RAG.

Why it matters

An owner rarely creates them by hand, but they sit under every tool that answers from your files, so two facts matter: they match meaning, not words, and they carry the content of the text, so they need the same care as the documents.

Directly related: Vector Database, RAG, Token.

Improvement tips

  • Use one embedding model for everything you compare, because numbers from two different models do not match.
  • Keep passages short, one rule or topic each, so each embedding stands for one meaning.
  • Test with questions in your customers' own words and in the language they write in.
  • Protect stored embeddings like the documents they came from.

Common mistakes

  • Mixing embeddings from two models, so the search compares numbers that do not match.
  • Embedding long pages that mix many topics, so no single passage matches a question well.
  • Expecting embeddings to judge whether a passage is true or current, when they only measure closeness of meaning.

Related terms

Quick check

A customer writes "I can't come tomorrow". Which passage will an embedding search place closest?

Choose an answer

Frequently asked questions

What is an embedding in simple words?
A list of numbers that stands for the meaning of a text. Texts that mean the same get similar numbers, so a computer can find them by meaning instead of by exact words.
Why is it called an embedding?
Because each text is placed, embedded, as a point in a space with many dimensions, where distance stands for difference in meaning. The name is technical, and the idea is a map of meaning.
Where would my business meet embeddings?
Inside any tool that searches your documents by meaning: a support bot that answers from your common questions, a chat project with uploaded files, a shop search that understands "a gift for a runner". You use them without seeing them.
How many numbers does an embedding have?
Hundreds to thousands. OpenAI's embeddings guide, for example, gives 1,536 numbers by default for text-embedding-3-small and 3,072 for text-embedding-3-large. Pictures that show embeddings as dots on a flat map simplify them to two.
Our search finds related passages but not the right one. Why?
Often because the passages are long and mix topics, so each embedding stands for several meanings at once. Split the document into short passages, one rule each, and test again with real questions.
We changed tools and the search broke. Why?
Embeddings from different models do not match. When the embedding model changes, every stored passage must be embedded again with the new one before searches work properly.
Do embeddings work across languages?
Some embedding models are built for many languages. Cohere, for example, documents its multilingual model as placing text with a similar meaning close together. Test with real questions in each language your customers use.
Do embeddings cost a lot?
Creating them is usually a small part of an AI tool's running cost. This page gives no prices, because they change often: check the vendor's pricing page if you build your own.
Can embeddings leak my private documents?
Treat them like the documents themselves. A 2023 study recovered 92% of short 32 token texts exactly from their embeddings, and recovered full names from a dataset of clinical notes. Store them with the same access limits as the text. Israel's Privacy Protection Law, 1981, as amended by Amendment 13, in force since 14 August 2025, governs collecting, keeping and using personal details, including details you paste into or upload to an AI tool. Educational material, not legal or tax advice. Check your own case with a lawyer or an accountant.
Do embeddings understand what the text means?
They capture patterns of meaning learned from large amounts of text, well enough to place similar texts together. They do not check whether a passage is true or current.
Do I need to create embeddings myself?
Rarely. Tools that search your files create them when you upload. Building your own search is a developer task.
Is an embedding the same as a token?
No. A token is a piece of text, a word or part of one, that a language model reads and writes. An embedding, in search, is a list of numbers that stands for the meaning of a whole passage or question.

Sources: OpenAI, "Vector embeddings" guide (developers.openai.com/api/docs/guides/embeddings), read 2026-09-25, Morris, Kuleshov, Shmatikov and Rush, "Text Embeddings Reveal (Almost) As Much As Text", EMNLP 2023 (aclanthology.org/2023.emnlp-main.765), read 2026-09-25, Cohere, "Multilingual language models" (docs.cohere.com/docs/multilingual-language-models), read 2026-09-25, Privacy Protection Authority, Amendment 13 questions and answers (gov.il/he/pages/tikun13_qa), read 2026-08-31

Last reviewed: 2026-09-25

I have worked with

What Clients Say

From different fields, at different stages of business

Dan Manto

Eclipse Capital

Real Estate Investment and Finance, USA

Arty McLabin

GameReady

Game Development Education and Outsourcing, International

Anna, Beautician

Anna

Beautician

After I finished a cosmetology course at a leading company, I was confused. I didn't know how to open a business, what to sell from home, or how to bring in clients. Since I reached out to Mobius, everything has changed. We built an organized plan with clear steps and no unnecessary risks. Today I see results, and I'm growing and developing every month.

Mark, Massage therapist, Gan Yavne

Mark

Massage therapist, Gan Yavne

When I finished a massage course, I imagined a different world. I found out it's a hard field, and financial stability isn't easy to find. When I came to Mobius, something changed. We started an organized process and built a business plan. Without Mobius? I probably would have given up. Today I believe in myself and in my own path.

Wondering where AI actually fits your business?

Alex helps Israeli businesses use AI and data where it pays off, and skip it where it does not. The first call is free.

+972 055-248-6151. Better on WhatsApp: I am in meetings most of the day and answer as soon as I am free.