32 terms that actually come up when you are building with AI — what each one means, why it matters, and the mistake almost everyone makes with it. No prior background assumed.
Last reviewed
32 terms, grouped below by what they are about. Jump straight to one, or read the section that covers the part of AI you are working on.
Most confusion about AI is between two terms rather than inside one. These are the six pairs that get swapped most often.
| Term | What it actually is | Not the same as |
|---|---|---|
| Embedding | A piece of text turned into a list of numbers that captures what it means. | Vector database — the store those numbers live in, and what you search to find them. |
| Retrieval-augmented generation (RAG) | Fetching relevant text at answer time and handing it to the model with the question. | Fine-tuning — changing the model itself by training it further on your data. |
| Semantic search | Matching on meaning, so a search for "car" also finds "automobile". | Hybrid search — running that alongside plain keyword matching and merging both sets of results. |
| Prompt injection | Instructions hidden inside content the model reads, aimed at hijacking the system. | Jailbreak — the user themselves talking the model out of its own rules. |
| Evals | Measuring whether the thing actually works, before you ship it and after. | Guardrails — constraining what it is allowed to do while it is running. |
| Distillation | Training a smaller model to imitate a larger one. | Quantization — shrinking the numbers inside a model you already have. |
Start with model, token and context window, because almost every other term is defined using them. Add hallucination and prompt engineering next, since they explain why outputs go wrong and what you can do about it. Retrieval and embeddings come after that, when you start feeding a model your own material.
A model answers: you give it text, it gives text back, and it does nothing else. An agent uses a model in a loop, deciding what to do next and calling tools to do it — searching, writing files, calling an API. The model is the engine; the agent is what somebody built around it.
Every entry answers the same three questions: how it works, why it matters, and what people get wrong about it. That last one is the useful part — most confusion about AI comes from a term that was half-understood rather than never encountered, and a one-line definition will not fix that.
Missing a term you had to look up?
The glossary grows from the questions members actually ask. Tell us what to add and it goes on the list.