Embeddings & vector databases
An embedding turns a piece of text into a list of numbers that captures its meaning. A vector database stores these, so you can search by meaning, not just exact words.
Everyday analogy
A library arranged by meaning instead of alphabet: books about "puppies" and "dogs" sit on the same shelf even though the words are different.
Example
Search "how many holidays do I get?" and it finds the page titled "Annual leave policy", even though no word matches.
Try it yourself
About 10 minFind meaning, not words
- Ask an AI chatbot: Rank these by how similar they are to 'car': automobile, banana, vehicle, carpet, truck.
- Ask it to explain why carpet is far away even though it contains 'car'.
- Think of a search at work that would benefit from meaning-based search.
What you should see: Embeddings compare meaning, so 'automobile' is close to 'car' and 'carpet' is not.
Use any free AI chatbot (ChatGPT, Claude, Gemini or Copilot). Never paste private or confidential information.