langchain_experimental.comprehend_moderation.base_moderation_exceptions
.ModerationPiiError¶
- class langchain_experimental.comprehend_moderation.base_moderation_exceptions.ModerationPiiError(message: str = 'The prompt contains PII entities and cannot be processed')[source]¶
Exception raised if PII entities are detected.
- message -- explanation of the error