Privacy Shield: Preventing PII Leakage in Prompts

Security · updated Mon Feb 23

Steps to reduce PII exposure in prompts, retrieval, and logs.

Steps

  1. Mask PII client-side before sending prompts.
  2. Retrieve only necessary facts in RAG contexts.
  3. Use role-based references instead of names.
  4. Scrub telemetry and logs for sensitive data.
  5. Aggregate analytics to preserve privacy.

view raw JSON →