Offline PII redaction before cloud upload
A short Python script loops over HR or patient records, sends each row to a locally running Llama 3 model via the Ollama REST API, and asks it to replace names, addresses, and ID numbers with placeholders — the cleaned file is written locally before anything goes to an external service.
Sensitive records are de-identified on the machine, satisfying data-governance requirements without involving a third-party API.
Run `ollama pull llama3`, then POST each row to `localhost:11434/api/generate` with prompt: "Replace all PII in the following text with [REDACTED_<TYPE>]. Return only the cleaned text."