I will add pii redaction with presidio before your app sends data to openai


About this gig
PII redaction for your AI app: use GPT or Claude without leaking personal data.
Want to use OpenAI or Claude on customer data, but your legal or compliance team says no? I add a PII redaction layer using Microsoft Presidio that detects and masks personal data before it leaves your server, and restores it in the AI's response.
What I protect:
- Names, emails, phone numbers and addresses
- Credit cards, bank details and national IDs
- Health data and custom IDs (policy numbers, patient IDs)
What you get:
- A working redaction service (Python function, REST API or gateway)
- Reversible masking: "John Smith" becomes <PERSON_1>, then is restored in the reply
- Custom detectors for your specific data
- Tests showing what is caught
Why me: I built PII redaction with Presidio for a production AI insurance platform handling sensitive customer documents, so this is real-world experience, not a tutorial.
Perfect for: healthcare, HR, legal, insurance, fintech and EU (GDPR) apps.
Stack: Python, FastAPI, Presidio, OpenAI, Claude, LangChain, Docker
Message me about your use case and I'll suggest the right setup.
Get to know Chamara
Full Stack AI Software Developer
- FromSri Lanka
- Member sinceNov 2022
- Last delivery1 year
Languages
English, Spanish
My Portfolio
Other AI Development Services I Offer
FAQ
What is PII redaction and why do I need it?
PII is personally identifiable information, like names, emails and IDs. Redaction removes or masks it before your data is sent to an external AI provider, which reduces privacy and compliance risk.
Will the AI still give useful answers if data is masked?
Yes. The AI sees placeholders like <PERSON_1> and <EMAIL_1>, which keep the meaning of the text. After the response comes back, the real values are restored, so your users see normal results.
Can Presidio detect 100% of personal data?
No tool can guarantee that. I improve accuracy with custom recognizers for your data and give you tests showing what is caught. For high-risk data, I recommend adding human review.
Does this make my app GDPR or HIPAA compliant?
It provides an important technical safeguard, but compliance also depends on legal agreements (like a DPA or BAA) and your processes. The Compliance doc extra helps with your review.
Does it work with my existing app?
Yes. I can add it as a Python function, a REST API your Node.js or other backend calls, or a gateway in front of all your LLM calls, whichever fits your architecture.
Which AI providers does it support?
OpenAI, Claude, Azure OpenAI, Gemini and open-source models. The redaction runs before any provider call, so it works with all of them.
Does it support languages other than English?
Yes, with the Extra language add-on. Each language needs its own detection model, so please mention which languages you need.
What do I need to provide?
A description of your data flow and some sample text with fake personal data. I never need your real customer data to build this.
2 reviews for this Gig
| (2) | ||
| (0) | ||
| (0) | ||
| (0) | ||
| (0) |
Rating Breakdown
- Seller communication level
- Quality of delivery
- Value of delivery
Sort By
A ahmed_keswani

United Kingdom
Mr Chamara with the excellent delivery time!
$50
Price
1 day
Duration
Helpful?U user29461209

South Africa
Chamara's professionalism, excellent communication, and ability to deliver work before the deadline were truly impressive. His satisfactory performance exceeded expectations.Highly recommended!
$50-$100
Price
3 days
Duration
C 
Seller's Response
Helpful?
2 reviews for this Gig
| (2) | ||
| (0) | ||
| (0) | ||
| (0) | ||
| (0) |
Rating Breakdown
- Seller communication level
- Quality of delivery
- Value of delivery
Sort By
A ahmed_keswani

United Kingdom
Mr Chamara with the excellent delivery time!
$50
Price
1 day
Duration
Helpful?U user29461209

South Africa
Chamara's professionalism, excellent communication, and ability to deliver work before the deadline were truly impressive. His satisfactory performance exceeded expectations.Highly recommended!
$50-$100
Price
3 days
Duration
C 
Seller's Response
Helpful?

