PhyseaWiki How AI actually works physea.ai →

Key terms

What is an embedding, and what do the other common terms mean?

An embedding represents text as a vector of numbers, arranged so similar meanings land near each other. This page also gives short, sourced definitions for a few other terms a newcomer meets often.

Last updated 2026-07-25 · Physea Labs

An embedding is a way to turn text into numbers a model can compare. OpenAI puts it plainly: “an embedding is a vector (list) of floating point numbers,” and “the distance between two vectors measures their relatedness.”[1] Items with similar meaning end up close together in that space of numbers, and unrelated items end up far apart. This is the trick behind semantic search and behind systems that find relevant documents to feed a model.

OpenAI recommends measuring that distance with cosine similarity, and because its embeddings are normalized to a fixed length, the calculation reduces to a simple dot product between the two vectors.[1] The same trick does more than search: cluster embeddings by proximity and related items fall into the same group; compare a new item against a set of labeled ones and you get classification without training a separate classifier. A typical embedding runs to 1,536 numbers, though newer models let you truncate that down to save space, since the front of the vector carries most of the meaning.[1]

A few more terms come up constantly:

A foundation model is “a very large pre-trained model trained on an enormous and diverse training set.”[2] It is the broad, general-purpose starting point that more specific models are built from.

Temperature is “a hyperparameter that controls the degree of randomness of a model’s output.”[2] Lower temperature makes replies more predictable and repetitive; higher temperature makes them more varied and surprising.

A hallucination is “the production of plausible-seeming but factually incorrect output by a generative AI model.”[2] The text reads confidently but the facts are wrong, which is why checking a model’s claims still matters. It’s also why the open questions around reliability treat this as an unsolved research problem, not just a bug to patch.

More terms you'll meet constantly Foundation model the broad, general starting point Temperature controls how random the output is Hallucination plausible-sounding, factually wrong
A newcomer runs into these three constantly, but none of them need more than the single line each gets here.

Where these definitions come from

References

  1. Vector embeddings — OpenAI
  2. Machine Learning Glossary: Generative AI — Google for Developers