Add ClassifierBackend (NER/PII via transformers token-classification pipeline) and TextFilter (redact / detect / spans modes). MockClassifierBackend provides deterministic PII spans for tests and CI without GPU. Enables privacy-safe pre-screening before LLM inference. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_backend.py | ||
| test_classifier.py | ||
| test_oai_compat.py | ||