Add PII redaction POC for secure LLM prompting.

Implements detect-redact-sanitize pipeline with regex, domain rules, and ONNX NER before the LLM boundary, plus NUnit tests and Xenovex push documentation.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Bilal Nazer Ali
2026-07-07 13:05:07 +05:30
commit dfc81dea28
60 changed files with 3283 additions and 0 deletions

23
.gitignore vendored Normal file
View File

@@ -0,0 +1,23 @@
## .NET
bin/
obj/
*.user
*.suo
.vs/
## ONNX models (place downloaded models here locally)
models/*.onnx
models/vocab.txt
models/ner-labels.txt
models/*.json
!models/.gitkeep
## IDE
.idea/
*.swp
## Local experiments (not part of the solution)
scratch/
## Test artifacts
**/nunit_random_seed.tmp