# Configuration Options

## Max Depth

Control how deeply nested data structures are processed:

```python
from opik.anonymizer import create_anonymizer

rules = [{"regex": r"\b\d{3}-\d{3}-\d{4}\b", "replace": "[PHONE]"}]