ContactLensRedactionConfiguration
¶
Source code in docs_src/capo_connect/types/contact_lens_redaction_configuration.py
behavior
instance-attribute
¶
behavior: NotRequired[String]
Specifies whether redaction is enabled for sensitive data, such as personal information, in the conversational analytics output. Valid values:
-
Enable– Redaction is applied according to the other values in this object. -
Disable– Redaction is not applied, and all other values in this object are ignored.
entities
instance-attribute
¶
entities: NotRequired[ContactLensRedactionEntitiesList]
The entity types to redact from the transcript (for example, NAME, EMAIL, ADDRESS).
mask_mode
instance-attribute
¶
mask_mode: NotRequired[String]
How sensitive information is masked in the transcript. Valid values:
-
PII– All redacted entities are replaced with the[PII]string. -
EntityType– All redacted entities are replaced with the label of the entity. For example, when theEMAILentity is configured for redaction, emails in the transcript are replaced with the[EMAIL]string.
policy
instance-attribute
¶
policy: NotRequired[String]
The redaction policy that determines which versions of the transcript are stored. Valid values:
-
None– No redaction is applied. -
RedactedOnly– Only the redacted transcript is stored. -
RedactedAndOriginal– Both the redacted and the original transcript are stored.