ModerationPiiError#
- class langchain_experimental.comprehend_moderation.base_moderation_exceptions.ModerationPiiError(message: str = 'The prompt contains PII entities and cannot be processed')[source]#
如果检测到PII实体,则引发异常。
- Parameters:
消息 (字符串)
- message -- explanation of the error