Searching by meaning is not searching by words
A keyword search finds the texts that contain the same terms.
A search with embeddings finds the ones that mean the same, even when they share no words. Many search engines combine the two, because proper names and error codes are found better by exact match.
Why it matters
It is the piece that lets a search find the right article even when the customer uses different words.
Without embeddings, a help center only finds what is written with the same words as the title, which is almost never.
What they are used for in customer service
Wherever it helps to know whether two texts are about the same thing.
- Searching the help center by meaning.
- Retrieving the passages an AI agent writes its answer from.
- Grouping conversations on the same topic even when they are worded differently.
- Spotting the questions that repeat and the article that is missing.
- Finding conversations similar to the one being handled.
The intuition
Picture each text as a point in a space.
Texts with similar meanings land near each other. Searching means turning the question into a point and looking at what documents surround it. The real dimensions number in the hundreds, but the idea holds.
How closeness is measured
With cosine similarity, which compares the direction of the vectors rather than their length.
It is the usual measure because what matters is similarity of meaning, not how long the text is.
Passage size matters
Long passages dilute meaning and retrieve vaguely related things; short ones lose context and retrieve stray sentences.
Tuning that size usually improves answers more than switching models.
They are recomputed when content changes
Update an article and its embedding has to be rebuilt, or search keeps finding the old version.
It is the usual reason a system keeps answering with information that was already corrected.
