Glaider provides powerful tools to automatically detect and anonymize PII and other sensitive information in your data before it’s processed by AI models.
Here’s how you can use Glaider to anonymize PII in a text:
Copy
import glaider# Initialize Glaider with an API key and anonymization enabledglaider.init(api_key='YOUR_API_KEY')# Text containing PIItext = "sono Mario e abito a Milano, la mia mail e' lorenzo@glaider.it"# Anonymize PII in the textanonymized_text = glaider.data_processor.anonymize_pii(text).json()