Personal · · 7 min read
An AI Glossary for Builders: The Terms Nobody Puts on the Slide
A terse, opinionated glossary for people shipping real AI products: tokens, grounding, prompt injection, chunking and the other unglamorous terms that show up when the thing breaks.
Updated
A product manager once tried to explain "hallucination" to me by comparing it to a colleague who is confidently wrong in meetings. Fine analogy, except the colleague eventually learns. The model does not. It will make the same mistake next Tuesday with the same swagger, and that difference is basically the whole ballgame when you are shipping something real.
Most AI glossaries are written for people raising money. Some cover the terms that matter when you are pitching, others the terms that matter when things break. This one is for the boring middle bit: three weeks into a build, when someone on the team says a word you have nodded along to in meetings but never had to define under pressure. So let's define it under pressure now. Terse, opinionated, and aimed at what each term means when the thing breaks.
Cost and limits
Inference. Running a trained model to get an output, rather than training it. Every dollar you spend after launch is inference cost, not training cost, so if your unit economics only look good in the training phase, you have built a demo, not a product.
Cost per token. The price of each unit of text the model reads or generates. It is the number that decides whether your business model survives contact with real usage, and nobody wants to talk about it at the pitch stage. It is also what turns a beautiful product into one that loses money on every active user.
Token budget. The rough allowance of tokens you have in a single request before cost or context limits bite. It sounds abstract until your prompt, plus your retrieved documents, plus your conversation history blows past it and the model quietly drops the bit you needed most.
Context window. The maximum amount of text the model can see at once, measured in tokens. Go over it and older content gets silently truncated, and the model starts confidently answering questions about information it can no longer see. A special kind of nightmare to debug.
Latency budget. How much delay your product can tolerate before users notice or care. A chatbot can eat a second or two. A voice product cannot, and building as if it can is a fast way to ship something that feels broken even when it is not.
Latency vs. throughput. Latency is how long one request takes. Throughput is how many requests you can process in a given time. Optimising hard for one often costs you the other. If it has to feel instant, you are fighting latency. If you are working through a backlog overnight, you care about throughput. Confusing the two is how teams over-engineer the wrong problem for months.
Steering the model
System prompt vs. user prompt. The system prompt is the instruction layer you set once, the scaffolding. The user prompt is whatever gets typed in the moment. Mixing them up is how you end up debugging "weird behaviour" for two days when your instructions were simply in the wrong slot.
Temperature. A setting that controls how random or safe the output is. Low is boring and consistent, high is creative and occasionally unhinged. If your product feels inconsistent between runs, check this before you blame the model.
Fine-tuning vs. prompting. Fine-tuning changes the model's weights with your own data. Prompting just gives the existing model better instructions at request time. Prompting is cheaper, faster and reversible in five minutes. Fine-tuning is expensive, slow and basically permanent. Start with prompting, and fine-tune only once you have proven prompting genuinely cannot get you there.
Guardrails. The rules and filters you bolt on to stop the model doing something daft, offensive or off-brief. People treat them as a nice-to-have. They are load-bearing, especially the day your product meets the public.
Knowledge and retrieval
Embeddings. A way of turning text, images or audio into a list of numbers that captures meaning, so similar things end up close together. It is the engine behind most search and recommendation features that feel smart, and also where a lot of quietly bad decisions get made, because nobody checks whether the embedding model understands their domain's jargon.
Chunking. Splitting long documents into smaller pieces so a model can process or retrieve them properly. Get the chunk size wrong and retrieval quality tanks, and nobody will know why. They will just say the answers feel off.
Vector store. A database built to hold and search embeddings quickly, the thing that makes retrieval fast rather than agonisingly slow. If you are building anything RAG-shaped, this choice matters more than the model choice, honestly.
Retrieval-augmented generation (RAG). Bolting a search step onto a language model so it pulls in relevant documents before answering, instead of relying on what it memorised in training. It is the difference between a model that guesses and one that at least gets to cheat off the textbook. But garbage retrieval means garbage generation, full stop, however good the model is.
Hallucination. The model stating something false with the same tone and confidence it uses for something true. There is no reliable uncertainty flag you can build a UI around yet, so you end up designing the whole product around the assumption that the model will sometimes lie to you and you will not know when.
Grounding. Tying the model's output back to real, verifiable source material rather than its own internal guesswork, so a claim can be checked instead of taken on faith. It is the actual antidote to hallucination in production, and the difference between a tool people trust and one they quietly stop using after it confidently invents something. Any team that skips it because "the model's pretty good now" will learn the hard way, usually in front of a customer.
Acting in the world
Function calling. Letting the model trigger real code, such as sending an email, querying a database or hitting an API, instead of just generating text. This is where an AI product stops being a chatbot with a nice font and becomes a system. It is also where you need real engineering discipline around permissions, because a model that can call functions is a model that can do damage.
Agent loop. A pattern where the model does not answer once. It plans, takes an action, observes the result and decides what to do next, repeating until some stopping condition. Your failure modes multiply with every iteration, because you are no longer debugging one bad output but a chain of decisions that each had their own chance to go sideways.
Prompt injection. Someone hiding instructions inside content your model processes, such as a webpage, a document or an email, to hijack its behaviour. Your model does not distinguish "system instructions I trust" from "random text from the internet" nearly as cleanly as you would hope, and that gap is a genuine security surface. If your product ever ingests user-supplied text and acts on it, this is not a hypothetical. It is a when.
Keeping it honest
Eval set. A fixed batch of test cases you run every time you change a prompt or a model, so you can tell whether things got better or worse. Without one you are just vibing, and vibing does not scale past about the second week of building.
Model drift. The way a model's behaviour shifts over time, sometimes because the provider quietly updated it underneath you. It is why "it worked fine last month" is one of the most useless sentences in this whole industry.
Fallback logic. What your product does when the model fails, times out or gives you garbage. Most teams design the happy path beautifully and treat the fallback as an afterthought, which is exactly backwards, because the fallback is what your users remember.
Stylometric analysis. The statistical study of writing style, things like sentence rhythm, word choice, punctuation habits and structure, to identify or verify who, or what, actually wrote a piece of text. This is close to home for us. As AI-generated text floods every channel, detecting a consistent, distinctive human voice, or the absence of one, becomes a product feature rather than an academic curiosity. It is most of what we build tools around: not "is this AI or human", which is a dumber question than it sounds, but "does this sound like the person it claims to be".
None of this is glamorous. There is no slide in the world where "chunking strategy" gets applause. But this is the actual texture of building the thing, not talking about the thing, and the gap between those two skills is enormous and mostly invisible until you are in it. It is where most AI products quietly die, and it rarely announces itself. It just shows up later, as a support ticket nobody can quite explain.
If you are starting out, do not learn these terms in the abstract. Learn them the way you learn where the potholes are on a road you drive every day: by hitting them, ideally at low speed, ideally early. You will hit most of these anyway. Might as well know the name of the thing that just wrecked your afternoon.
Filed under Personal