Lattice
Skip to content

Embedding

A vector representation of text such that semantically similar inputs land near each other.

By Entry last reviewedmethod

What it implies

The same model must produce embeddings for documents and queries, or the space is meaningless. The failure mode to know about: embeddings are bad at exact tokens (part numbers, error codes, names), because `ERR-4421` and `ERR-4412` really are nearly the same thing. Users type exact tokens constantly.

Related terms

Rules of thumb

  • A definition is only useful next to the decision it changes. Read the linked layer to see where this term bites.
  • If a vendor's definition differs from this one, ask what it measures. Marketing definitions rarely name a number.
  • Every optimisation spends latency, memory or quality somewhere. Find out which before you turn it on.

Ask an AI about this page

Opens the assistant with this page’s link and a question already filled in.