guardrails-ai / detect_pii

Guardrails AI: PII Filter - Validates that any text does not contain any PII
Apache License 2.0
6 stars 1 forks source link

pii_entities is *not* a good parameter #1

Open zsimjee opened 7 months ago

zsimjee commented 7 months ago

currently, it's overloaded so that

  1. if a str is passed, that str must be pii or spi
  2. if a str list is passed, it uses mutliple, fine-grained information to look out for.

This overloading isn't enough separation of concerns. We should add 2 diff params that control each of those behaviors