PII
PII Detection evaluates text to identify the presence of personally identifiable information. This evaluation is crucial for ensuring privacy and compliance with data protection regulations by detecting and managing sensitive information in text data.
Evaluation Using Interface
Input:
- Required Inputs:
- input: The text content column to be analysed for PII.
Output:
- Result: Passed / Failed
Interpretation:
- Passed: Indicates that no personally identifiable information (PII) was detected in the
input
content. - Failed: Signifies that the
input
content contains potential PII (e.g., names, addresses, phone numbers, SSN, financial details), requiring review, redaction, or further processing for compliance.
Evaluation Using Python SDK
Click here to learn how to setup evaluation using the Python SDK.
Input Type | Parameter | Type | Description |
---|---|---|---|
Required Inputs | input | string | The text content to be analysed for PII. |
Output | Type | Description |
---|---|---|
Result | bool | Returns 1.0 if no PII is detected (Passed), 0.0 if PII is detected (Failed). |
What to do when PII is Detected
When PII is detected, several measures can be taken to ensure privacy protection and regulatory compliance. The first step is redaction, which involves removing or masking the identified PII using techniques such as replacing sensitive information with placeholders or anonymising data.
Effective data handling practices should also be implemented to manage and safeguard PII, ensuring adherence to data protection regulations like GDPR and CCPA. Additionally, system adjustments can enhance PII detection accuracy by refining detection mechanisms, reducing false positives, and regularly updating detection patterns and models to adapt to evolving PII types and formats.
Comparing PII Detection with Similar Evals
- Content Moderation: Content Moderation evaluates text for safety and appropriateness, focusing on harmful or offensive content. PII Detection specifically targets the identification of sensitive personal information.
- **Data Privacy:** PII Detection is more focused on identifying specific types of personal information within text, while Data Privacy Compliance has a broader scope, ensuring that data handling practices align with comprehensive privacy regulations.