Privacy, Fairness, and Responsible Use
Trace data through the whole application
A user's message can pass through application logs, model endpoints, retrieval services, analytics, human review queues, and backups. “The model does not train on requests” would not by itself establish that no request data is retained elsewhere. Verify the actual deployment's configuration and service terms.
Minimize what each component receives. A policy question may need a purchase date and plan name, not a full invoice containing an address and payment details. Redaction helps but can fail, so combine it with purpose limits, permissions, retention controls, and careful logging.
Deletion and isolation are architectural concerns
When a document is deleted, remove or invalidate associated chunks, embeddings, caches, previews, and scheduled jobs. A stale search index can expose content that disappeared from the main database. Define tenant isolation at retrieval and tool boundaries, not just in the final UI.
Logs should contain request IDs and useful failure categories without automatically copying complete prompts. For sensitive troubleshooting, use access-controlled sampled traces with explicit retention and redaction policies.
Fairness needs a task-specific definition
Different fairness goals can conflict. Equal overall accuracy does not imply equal false-negative rates across groups. Historical labels can encode unequal treatment. Evaluate relevant slices and involve people who understand the consequences of errors.
For ticket priority, relying on fluent English could systematically underrate urgent requests from non-native speakers. Add representative examples, measure recall by language, and establish a review path for uncertain cases. Avoid inferring sensitive attributes without a legitimate purpose and appropriate permission.
Explain the system honestly
Tell users when output is generated, where evidence comes from, and what actions require approval. Present uncertainty as a usable next step: ask for missing information, show sources, or route to review. Do not display fabricated precision such as an unvalidated “98% confidence” badge.
Model licenses, dataset permissions, and service policies can change and depend on jurisdiction or product. Review the applicable primary terms for a real deployment; this lesson provides engineering questions rather than legal advice.
Checkpoint with answers
Is local inference automatically private? No. The surrounding application can still log, sync, or leak data.
Exercise: A deleted employee document remains in a vector index. Is deletion complete? Answer: no. The retrieval representation and any cached evidence must also follow the deletion policy.
What should happen when the system is uncertain about a high-impact decision? Use an appropriate human decision process and preserve the relevant evidence, rather than forcing an automated answer.