Skip to course content
Free generative AI app course

Generative AI Application Development with Python

Module 12 Activity

Scenario

Before this goes anywhere near real users, work out what it collects and what you promise about it.

What you build

A logging and retention design with redaction on write, per-field retention, a privacy notice checkable against the code, and a completed deployment checklist.

Steps

  1. Print a realistic log line and mark every field carrying personal data.
  2. Redact structured identifiers on the way in, and state plainly what redaction does not catch.
  3. Set retention per field: metrics and versions indefinitely, content on a short limit.
  4. Write the privacy notice from the code and your provider's terms, including whether content is used for training.
  5. Confirm the stated deletion path corresponds to a mechanism that exists.
  6. Work through the deployment checklist and list what is outstanding.

Evidence to hand in

Review checklist