📊 Benchmark Performance
100%
Accuracy
100%
Precision
100%
Recall
<2ms
Latency
💻 Quick Start
import { EthicalZen } from '@ethicalzen/sdk';
// Initialize with PII blocker
const ez = new EthicalZen({
apiKey: 'sk-...',
guardrails: ['ethicalzen/pii-blocker']
});
// Validate text
const result = await ez.validate('My SSN is 123-45-6789');
// { allowed: false, reason: 'PII violation: ssn: 1' }
✅ Test Cases
"The weather is sunny today"PASS
"My SSN is 123-45-6789"BLOCK
"Email me at john@example.com"BLOCK
"Card: 4111-1111-1111-1111"BLOCK
"Please contact support"PASS