Week 10 · Wednesday 2 December 2026 · 10:00–13:00
AI for Business and FinTech · European School of Economics, Florence
| 10:20–11:10 | prototype → production, as three decisions with numbers |
| 11:20–11:40 | readiness, roles, roadmap |
| 11:40–12:40 | studio — your repo on the screen, then rehearsal |
| 12:40–13:00 | the portfolio, and three lines you write for yourself |
Ten weeks ago you had not called an API. Today you cost one at volume and defend the number.
An explanation describes the model, not the world; compute it on the period you report.
Measure errors by group; every mitigation is paid for by somebody — name who.
Red-team your own pipeline: a list of things that should break it, run as code, with a before-and-after log.
The risk and controls canvas: nine boxes, every one a specific noun.
\text{cost} = \frac{\text{tokens}_{\text{in}} \times p_{\text{in}} + \text{tokens}_{\text{out}} \times p_{\text{out}}}{1{,}000{,}000}
Bet before we compute
In a document pipeline — retrieval, long context, a short answer — which of the two terms dominates?
Input, and not by a little. You send thousands of tokens of retrieved passages to get back two hundred. Everyone optimises the answer length; the bill is on the question.
Cached input The reusable prefix — system prompt plus fixed context — billed at a discount when the provider serves it from cache.
Restructure the prompt so the fixed part comes first.
Routing Easy queries to a small model, hard ones to a frontier model.
Cost becomes a weighted average. Whether quality survives is a question for your evals, not for a vendor.
\text{break-even value per query} = \text{cost per query}
Below that line the system loses money on every call, and volume makes it worse rather than better.
Cost per query is arithmetic and you will get it right. Value per query is judgement, it is the number nobody can hand you, and it is the one the Board will ask about first.
LAB · session.ipynb § B
The honest form of an estimate
One number is a guess with a decimal point. A sensitivity table is an estimate, because it shows what would have to be true for it to be wrong.
| data | does it exist, is it clean, are you allowed to use it |
| technology | can it be deployed and monitored where you work |
| people | is there an owner after you leave the room |
| governance | is there a policy this fits inside |
A zero with a high weight is not a low score. It is a gate. Say so, and say what would clear it.
A roadmap where every arrow points forward is a wish. “Pilot with ten users; proceed if the eval score holds above 0.8 and the cost stays under X; otherwise roll back to the manual process” is a plan.
60 minutes — the review you would get from a colleague
The standard is one sentence: a stranger with your repo and no API key gets the same numbers.
Runtime ▸ Restart and run all, from clean. It either works or we fix it now.Due Sunday 6 December, 23:59. Presented Wednesday 9 December, 10:00.
| decision memo | 2,000 words |
| the prototype | working, reproducible, in the repo |
| evidence | evaluations, and the red-team log |
| risk | the canvas, completed |
| roadmap | with gates, KPIs and a rollback |
The last commit before the deadline is the one that is marked. Commit early and often; the history is part of the work, and I read it.
None of that was on a slide. You built all of it, and every line of it you can explain.
Write them now, before you leave the room. In six months they will be the most useful page in the repository.
AI for Business & FinTech · ESE Florence