Public excerpt
Locked
One document at a time, offline. Detect direct identifiers (names, addresses, IDs, contacts) and indirect ones (exact dates, rare jobs, small places), replace them with consistent tokens like [PERSON_1], keep the key table apart, then list what could still single someone out…
About this prompt
Runs on a local open model (for example through Ollama or LM Studio) to find and replace personal and confidential details in client files, patient letters, case notes or HR records before they are shared or analysed elsewhere. Produces the pseudonymised text, a key table that stays on your machine, and a residual-risk check for indirect identifiers. The reason to use Llama locally: the raw documents never leave your computer.
Example output
Pseudonymised text
Dear [PERSON_2],
I am referring [PERSON_1], a woman aged 45–49, who attended the clinic in [MONTH_YEAR_1] after a fall at work ([ORG_1], a large retailer in [REGION_1]). She reports pain in the right wrist since the fall…
KEY TABLE — KEEP LOCAL — STORE SEPARATELY
| Token | Original | Category | Doc |
| [PERSON_1] | Joanna Kowalczyk | Name | referral_0412 |
| [PERSON_2] | Dr Malik | Name (recipient) | referral_0412 |
| [MONTH_YEAR_1] | 14 March 2026 → March 2026 | Date (generalised) | referral_0412 |
…
Residual risk: medium — "the only night pharmacist at [ORG_1]" (para. 3) plus the month of the fall could identify her among colleagues. Proposed: "a shift worker at [ORG_1]".
Human review: check the letterhead, the scanned signature on page 2 and the file name "Kowalczyk_referral.pdf".
Details
- Model
- Llama
- Prompt language
- English
- Who it's for
- Small practices, consultants, researchers and analysts who must share or analyse confidential documents safely
- Length
- ~769 tokens (estimate)
- Delivered as
- Prompt text, shown online after purchase
- Category
- Data & Analytics
Reviews
No reviews yet. Only buyers of this prompt can leave one.