via “configurable-pii-detection-rules-and-patterns”
A zero-trust SDK for anonymizing PII locally before sending prompts to LLMs and seamlessly rehydrating the response.
Unique: Implements a pluggable rule engine that supports multiple detection backends (regex, NER, custom functions) with a unified interface, allowing users to compose detection strategies without modifying core code. Rules are first-class objects that can be serialized, versioned, and audited, enabling reproducible PII detection across different environments.
vs others: Unlike fixed PII detection libraries (e.g., presidio, better-profanity) that have hardcoded patterns, rehydra's rule engine allows domain-specific customization without forking or extending the library. Configuration-driven approach enables non-developers to adjust detection rules without code changes.