How to Handle Sensitive Data and PII in AI Workflows
Handling PII in an AI workflow means classifying data before it enters the pipeline, de-identifying it before it reaches a model, developer, or log, and defining in…
FROM THE AUTHOR
Explore the published guides and contributions from John C. Mullen.
203 published articlesHandling PII in an AI workflow means classifying data before it enters the pipeline, de-identifying it before it reaches a model, developer, or log, and defining in…
Testing a local model for JSON schema compliance means measuring two separate things: whether the output parses as JSON, and whether it satisfies every constraint in your…
Silent cloud fallback happens when a task you expected to run locally is rerouted to a remote model without a clear, task-level choice. You cannot reliably detect…
Prompt changes reach users the moment they are saved, but most teams ship them without the safeguards code changes get. The fix is a small set of…
You can add a working chatbot to WordPress without sending visitor messages to OpenAI, Anthropic, or any hosted service. Two documented self-hosted approaches exist: rule-based keyword matching…
A local model label does not prove that every request stays on your machine. Test the whole data path with a harmless canary, inspect provider and fallback…
Quantization is a representation technique that stores weights at lower precision. QLoRA is a fine-tuning method that trains low-rank adapters on a frozen 4-bit base model. They…
Temperature scales how random token selection is, top-p limits which tokens are eligible, and seed fixes the sampler's random starting point. Together they make local model runs…
Tracing AI API calls means recording structured, queryable traces and spans for every model request — prompts, token counts, latency, tool calls, and status. This guide shows…
Evaluating a local RAG pipeline means scoring two separate things: whether the retriever returned the right chunks, and whether the generator produced a correct, grounded answer. The…
Auditing an AI workflow for failure modes means tracing one real task from input through model interpretation, approval, external action, receipt, reconciliation, and recovery — then recording…
A workable team policy for AI logs and prompts fits on about one page, sorts rules by data type instead of by tool, and makes the approved…