Embedding

Numbers that capture the meaning of text, images or audio.

What it is

An embedding is a list of numbers. Each number captures a piece of meaning. Similar ideas get similar numbers.

Why it matters

Embeddings let you find related content without exact keyword matches. They power search, recommendations and RAG.

How to use

  • Pick an embedding model for your domain and language.
  • Break content into small, self-contained chunks.
  • Store each chunk as a vector in a database.
  • At query time, embed the question and find the closest chunks.

FAQ

  • How many numbers in an embedding?

    Most range from 384 to 3072 numbers. More numbers capture more detail.