Learn AI, Plainly How AI Works
Embeddings
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
Text
"How do I get my money back?"
Embedding
[0.12, 0.48, 0.91, ... 1,536 numbers]
Nearby in meaning
"Refund policy" and "Returning an item"
Far away
"Reset your password"
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?”
Related
Last checked
. Facts in this field move fast, so every entry is rechecked when they do.