experimental[patch]: update module doc strings (#19539)

Added missed module descriptions. Fixed format.
This commit is contained in:
Leonid Ganeline
2024-03-26 07:38:10 -07:00
committed by GitHub
parent 72ba738bf5
commit 4159a4723c
30 changed files with 154 additions and 40 deletions

View File

@@ -1,4 +1,13 @@
"""Data anonymizer package"""
"""**Data anonymizer** contains both Anonymizers and Deanonymizers.
It uses the [Microsoft Presidio](https://microsoft.github.io/presidio/) library.
**Anonymizers** are used to replace a `Personally Identifiable Information (PII)`
entity text with some other
value by applying a certain operator (e.g. replace, mask, redact, encrypt).
**Deanonymizers** are used to revert the anonymization operation
(e.g. to decrypt an encrypted text).
"""
from langchain_experimental.data_anonymizer.presidio import (
PresidioAnonymizer,
PresidioReversibleAnonymizer,