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>
11 lines
260 B
C#
11 lines
260 B
C#
using PiiRedaction.Core.Models;
|
|
|
|
namespace PiiRedaction.Core.Tests.TestSupport;
|
|
|
|
public sealed record PromptScenario(
|
|
string Name,
|
|
string Prompt,
|
|
string ExpectedSanitized,
|
|
PiiEntityType[] ExpectedTypes,
|
|
string[] MustNotContainInSanitized);
|