Skip to main content

Definition

The PII test detects and validates the presence of personal identifiable information (PII) in your data. The test supports detection of a comprehensive range of PII types, including financial information, government identifiers, contact details, and location data across multiple countries and regions. You can specify one or multiple PII types to check for, and set thresholds on either the absolute count or percentage of rows containing PII.

Taxonomy

  • Task types: LLM, tabular classification, tabular regression, text classification.
  • Availability: and .

Why it matters

  • Data privacy compliance: Ensures your data meets privacy regulations like GDPR, CCPA, and other data protection laws
  • Security: Prevents accidental exposure of sensitive personal information
  • Model safety: LLMs are prone to memorizing and potentially leaking PII from training data
  • Audit trail: Provides documentation of PII detection for compliance reporting

Supported PII types

General PII Types

United States

United Kingdom

European Union

Asia-Pacific

South America

Test configuration examples

If you are writing a tests.json, here are a few valid configurations for the PII test: