Learn AI, Plainly How AI Works

Embeddings

catdogpuppy invoice

TLDR A way of turning text into numbers so that things with similar meanings sit close together.

You've seen it

OpenAI's text-embedding-3-small model, released in January 2024, turns any piece of text into a list of 1,536 numbers. Search tools built on models like this can find "how do I get my money back" when the document only says "refund policy."

Source: OpenAI

Picture it

  1. Text

    "How do I get my money back?"

  2. Embedding

    [0.12, 0.48, 0.91, ... 1,536 numbers]

  3. Nearby in meaning

    "Refund policy" and "Returning an item"

  4. Far away

    "Reset your password"

Numbers are illustrative. Closeness is measured by how alike the two lists of numbers are.

Plainly

An embedding is a list of numbers that works like a set of map coordinates for meaning. Texts that mean similar things land near each other, even when they share no words. That lets software search by meaning instead of exact matches.

Embeddings power most AI search over company documents, plus recommendations, duplicate detection and grouping support tickets by topic. The weak spot: close in meaning is not the same as right. “Refundable” and “not refundable” can land close together.

Ask this

“When our AI search returns a document, how do we check it was the right one?”

Last checked

. Facts in this field move fast, so every entry is rechecked when they do.

All AI, Plainly terms