AI Engineering · Module 14
End-to-end AI system design
- Lessons
- 8
- Free
- 0
- Reading
- ~4 h
Your progress
0 / 8 lessons done
Sign in to trackLessons
- Design: a shopping assistant like Amazon’sA shopping assistant is the most common way a store puts a model in front of customers, and the easiest to get wrong: a model that types a price or invents a colour makes a promise the store has to keep. The design pattern here, where the model understands and explains while the store’s systems supply every fact, carries over to any assistant built on a catalogue.
- Design: a meeting notes summarizerMeeting notes look like the easiest AI feature: one transcript in, one summary out. The hard part is that people act on them. A wrong owner or an invented decision in an email to ten colleagues, or to a client, does more harm than no notes at all.
- Design: a writing assistant like Notion AIMany AI features live inside a tool where a person is already working: an editor, a form, a spreadsheet. The model call is the easy part. The hard parts are what to send, where the text lands while the person keeps working, and how to stop a helpful rewrite from quietly changing what they meant.
- Design: an AI search engine like PerplexityAn answer engine puts a model’s words in front of millions of people with a source mark beside each one. The marks make people trust the words, so the engineering is making every mark true, fast enough to beat a list of links, at a cost per query the product can afford.
- Design: a coding assistant like GitHub CopilotCoding assistants are the AI feature engineers meet every day, and building one for your own company touches every hard part of this course at once: context that can’t fit, an agent that edits real code, tests as the judge, and a codebase full of secrets and text written by strangers.
- Design: an enterprise document Q&A product like GleanSearch and answers over a company’s own documents is one of the most common AI products sold to businesses. The model call is the easy part; the product lives or dies on copying every permission correctly from dozens of systems, and on proving that it did.
- Design: an AI customer support platformMost AI products sold to businesses are multi-tenant: one system, many customers, each with its own data, rules and budget. The single features are the easy part. Keeping thousands of customers apart, fairly limited and correctly billed is where the design work sits.
- Design: a data analysis agentEvery company has more questions about its data than analysts to answer them. An AI agent can write the queries in seconds; the engineering is making each number match the one the company already agreed on, and never showing anyone data they couldn’t query themselves.
Practise with
No tools or paper guides for this module yet.
Terms this module teaches 29
Open glossaryAutonomy ladder
A fixed set of levels that says which AI outputs may run with no person and which need a person to send or approve them, ordered by what a mistake can do.
Cell (deployment)
A complete, independent copy of a system’s data plane, such as its database, indexes, queues and workers, serving a fixed set of customers, often in one region.
Citation precision
Of all the citations shown in answers, the share whose cited passage supports the sentence it is attached to.
Conversion rate
The share of visitors who complete a goal, such as placing an order, within a set time.
Dark pattern
A design that misleads or pressures users into choices they did not intend, such as an advertisement disguised as an ordinary result.
Diff
The list of lines a change removes and adds in each file, the form in which code changes are reviewed and applied.
Entailment model
A model trained to say whether one text supports, contradicts or says nothing about another, often used to check that a generated sentence follows from its source.
Fail-to-pass test
A test that fails on the code before a change and passes after it, used to check that a proposed change really fixes the problem.
Freshness class
A label for how quickly the answer to a question goes out of date, used to decide how new the sources must be and how long a cached answer may live.
Ghost text
Suggested text shown in grey after the cursor that the person can accept with one key or ignore by typing something else.
Late-arriving data
Records about a period that keep arriving after the period ends, so the period’s numbers change for a while before they are final.
Noisy neighbour
A tenant whose heavy use of a shared resource slows or breaks the service for other tenants on the same system.
Per-tenant ceiling
The most of a shared limit, such as model input tokens a minute, that one tenant may use at once, checked before the shared limit so one tenant’s burst can’t starve the others.
Permission diff
A recurring check that samples user and document pairs the copy allows and asks the original source whether that user can open that document; any pair the copy allows and the source refuses is a possible leak.
Permission lane
A separate, faster queue in an indexing pipeline for changes that only alter who may read a document, so they update stored permissions without waiting behind fetching and embedding.
Position mapping
Updating a stored position in a document after each edit, so it keeps pointing at the same text: edits before it shift it, edits after it leave it alone, and deleting the text it points into makes it invalid.
Product card
A small block showing one product’s title, image, price, stock and delivery, filled from the store’s own systems rather than written text.
Result handle
A short name for a tool result that is stored in full outside the model’s context. The model sees a summary and passes the handle to other tools that need the full data.
Search API
A paid web service that takes a search query and returns ranked web results, usually URLs, titles and short snippets, priced per request and limited in requests per second.
Search result block
A Claude API content block that carries one search result, with a source, a title and a list of text blocks, so the model can cite your own retrieved passages the way it cites web search results.
Semantic layer
A set of named business metrics, each with one agreed definition and the SQL behind it, sitting between people or tools and the raw tables.
Sentence support (citation recall)
Of all the sentences shown in answers, the share that are fully supported by their citations; a sentence with no citation counts as unsupported.
Sponsored placement
A position in a list of results that a brand pays for, shown with a visible label and subject to the same filters as unpaid results.
Stale suggestion
A model suggestion whose source text was edited after the request was sent, so applying it would overwrite the newer words.
Suggestion layer
A view drawn over a document that shows proposed text, usually as a diff, without changing the document until the person accepts it.
Symbol index
An index built by a language’s compiler tools that records where each function, class or field is defined and every place it is used.
Triggered analysis
Analysing an A/B test only over the users who reached the point where the change could affect them, decided the same way in both arms.
Trigram index
An inverted index from every three-character sequence to the files that contain it, so a text or regular-expression search checks only files that could match instead of scanning all of them.
Word diff
A comparison of two texts word by word that lists which words were kept, removed and added.