A lightweight FastAPI service that detects and anonymizes sensitive user data before sending prompts to Large Language Models (LLMs), and safely restores them in the final response.
- PII detection using Microsoft Presidio
- Anonymization of pii
- Context-preserving masking
- REST API-based design for easy integration
- Python
- FastAPI
- Microsoft Presidio
- POST /anonymize
- POST /deanonymize
Designed as a privacy layer for AI applications in domains like banking, healthcare, and customer support.