Personally Identifiable Information (PII) protection is critical for AI systems to prevent privacy breaches and ensure compliance.
There can be two ways to deal with PII:
Validate: Validate the input and reject the input if it contains PII. (raise a 400 error)
Mutate/Mask: Mask the PII data in the input. (replace the PII data with a placeholder)