This idea carries a full system design question on its own. Each walks through the full answer.
AI Engineering · Security
Free preview: the first part of this 15-part lesson.
Already bought the course? Sign in to read the whole lesson.
this lesson is part of
AI Engineering
Unlock this lesson and the 199 other paid lessons
$49 once, by PayPal
See the AI Engineering courseread the rest of this lesson in
AI Engineering
Unlock this lesson and the 199 other paid lessons
$49 once, by PayPal
See the AI Engineering coursein Security
This lesson is part of the AI Engineering course. Unlock the full course, a separate one-time payment, for lifetime access.
One-time payment by card or PayPal
Get Lifetime AccessOne-time payment: UPI, card or netbanking
Get Lifetime AccessFoundation lessons of this course are free, no payment needed. Try them now
In December 2024 the Italian data protection authority fined OpenAI 15 million euros over how ChatGPT processed personal data, citing among other things a missing legal basis for the processing. You can read the regulator's own account on the Garante's site. Whatever you think of the specific ruling, the message to anyone shipping an LLM feature is direct: the text your app sends to a model provider is regulated personal data the moment it contains a name, an email, or a support transcript, and a regulator will treat mishandling it as a breach, not a rough edge.
Engineers reason about a provider call as if it were a library function. Input goes in, a completion comes back. Legally and operationally it is nothing like that. The call leaves your trust boundary, travels to a third party's servers in some jurisdiction, may be retained there for a window you did not choose, and lands in your own logs on the way out. Every one of those steps is a place personal data now sits.

The supply-chain and provenance lesson tracked where your model came from. This lesson tracks the other direction: where your users' data goes once the model is running, what is kept, and how you get it back. The agent identity lesson answered who is allowed to act. This one answers a different question that legal and security teams care about just as much: what is the model allowed to see, store, and send onward.
The rest of this lesson is the practical version of that question. Detect and remove PII before it crosses the boundary or hits a log. Understand what the provider keeps on the far side. Put a clock on everything you store, and make deletion actually delete, including the parts of your system where deletion is genuinely hard.