Skip to content

QWED v2.2.0 - Enterprise Privacy Protection 🔒

Choose a tag to compare

@rahuldass19 rahuldass19 released this 04 Jan 13:51

QWED v2.2.0 introduces automatic PII (Personally Identifiable Information) masking - protecting sensitive data before it reaches LLM providers.

🎉 What's New

PII Masking (Enterprise Privacy Feature)
Automatically detect and mask 9 types of PII before sending to LLM providers:

✅ Email addresses
✅ Credit card numbers
✅ Phone numbers
✅ US SSN
✅ IBAN codes
✅ IP addresses
✅ Person names
✅ Locations
✅ Medical licenses
Your data stays private. The LLM never sees the actual sensitive information.

Perfect for:

  • Healthcare - HIPAA compliance
  • Finance - PCI-DSS compliance
  • Enterprise - GDPR compliance
  • Legal - Attorney-client privilege
  • Any privacy-sensitive application

### 🚀 Quick Start
Installation

# Standard installation
pip install qwed
# With PII masking support
pip install 'qwed[pii]'
python -m spacy download en_core_web_lg

Usage
Python API:

from qwed_sdk import QWEDLocal
client = QWEDLocal(provider="openai", mask_pii=True)
result = client.verify("My email is john@example.com")
# LLM sees: "My email is <EMAIL_ADDRESS>"

CLI:

qwed verify "Email: user@example.com" --mask-pii
qwed pii "Test: 123-45-6789"  # Test detection

✨ Key Features
🔐 Privacy-First Architecture

  • 100% local PII detection (powered by Microsoft Presidio)
  • No data sent to QWED servers
  • One-way masking (non-reversible)

📊 Transparent Auditing

  • All verification results include PII metadata
  • See exactly what was masked and why
  • Full compliance audit trail

⚡ Performance

  • ~100-200ms latency impact
  • 95%+ detection accuracy
  • English language support (v2.2.0)

🎯 Flexible Configuration

  • Opt-in design (mask_pii=False by default)
  • Customize which PII types to detect
  • Works with ALL LLM providers

📚 Documentation
New guides added:

Updated:

  • README with PII section
  • Unit tests for PII functionality
  • CLI reference

🔄 Breaking Changes
None! This release is fully backward compatible.

  • PII masking is opt-in (disabled by default)
  • Optional dependency (doesn't affect existing installations)
  • All existing code works without changes

🐛 Bug Fixes

  • Fixed CI test suite to gracefully skip PII tests when dependencies not installed
  • Improved error messages for missing PII dependencies

🎯 What's Next
v2.3.0 (Q1 2026) - Planned features:

  • Multi-language PII support
  • Cost tracking & analytics
  • Streaming verification
  • Enhanced confidence scores
    See full ROADMAP

📦 Links

🙏 Acknowledgments
Special thanks to:

  • Microsoft Presidio team for excellent PII detection
  • spaCy for NLP infrastructure
  • Community feedback on privacy features

Install now: pip install 'qwed[pii]'

Questions? Open an issue or reach out on Twitter