What is an embedding?

An embedding is a numerical representation of text that captures its meaning, allowing passages with similar meaning to be found even when they share no words.

Embeddings are why an AI representative can answer "do you deliver to Berlin?" from a page that only says "we ship across the EU". Text is converted to vectors, and similar meaning lands close together.

Why it matters

Keyword search fails on paraphrase, which is how customers actually write. Embeddings make retrieval robust to phrasing, which is the difference between a bot that usually finds the answer and one that usually doesn't.

Examples

  • "Refund window" retrieving a page that says "you have 30 days to return".
  • A question in Spanish retrieving relevant English content.
  • Grouping near-duplicate customer questions to spot repeats.

Related

RubyRep is this, applied to your website.

Give it your URL and it reads your pages, then answers your customers from them.

Train My RubyRep