Skip to content

Embedding

An embedding is a list of numbers that represents the meaning of a text, so a system can find passages similar in meaning. It underlies retrieval in AI search.

Last reviewed

An embedding is a list of numbers, a vector, that a model produces to represent the meaning of a piece of text. Texts with similar meaning get vectors that lie close together, which lets a system find relevant passages by comparing numbers instead of matching exact words.

Retrieval for AI answers often uses embeddings. The question is converted to a vector, compared with vectors of stored passages, and the closest passages are passed to the language model.

For content owners the implication is practical. A passage is more likely to be found when it states its topic plainly and fully inside itself, instead of depending on a heading or an image elsewhere on the page. Wording with the same meaning as the question can match even without the same words.

Example: a question about “cancelling a subscription” can retrieve a page titled “How to end your plan”.