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>
1.7 KiB
1.7 KiB
Git setup — Xenovex (xts.xenovex.com)
This repository is ready for push to your Xenovex Git server after you create a remote repository.
Prerequisites
- Git 2.x (installed at
C:\Program Files\Git\bin\git.exe) - Access to https://xts.xenovex.com/explore/repos
- .NET 10 SDK for build/test
1. Create the remote repository
- Sign in to https://xts.xenovex.com
- Open Explore repos (or New repository)
- Create a new empty repository, e.g.
llm-pii-poc - Copy the HTTPS or SSH clone URL (example shapes):
https://xts.xenovex.com/<org-or-user>/llm-pii-poc.gitgit@xts.xenovex.com:<org-or-user>/llm-pii-poc.git
Do not initialize the remote with a README if you are pushing an existing local history.
2. Add remote and push (from repository root)
cd C:\Users\bilal.n\Projects\llm-pii-poc
# Use full path if git is not on PATH
$git = "C:\Program Files\Git\bin\git.exe"
& $git remote add origin <YOUR_CLONE_URL>
& $git branch -M main
& $git push -u origin main
If the remote already has commits (e.g. auto-generated README), either use an empty remote or:
& $git pull origin main --rebase
& $git push -u origin main
3. What is committed vs excluded
| Included | Excluded (.gitignore) |
|---|---|
Source (src/), tests, scripts, docs |
bin/, obj/, .vs/ |
README.md, PiiRedaction.slnx |
models/*.onnx, vocab.txt, ner-labels.txt (~431MB model) |
models/.gitkeep (empty models folder) |
scratch/ |
After clone, download the NER model locally:
.\scripts\download-ner-model.ps1
4. Verify after clone
dotnet build
dotnet test
dotnet run --project src/PiiRedaction.ConsoleApp -- --sample 0