ModerationToxicityError#

class langchain_experimental.comprehend_moderation.base_moderation_exceptions.ModerationToxicityError(message: str = 'The prompt contains toxic content and cannot be processed')[source]#

如果检测到有毒实体,则引发异常。

Parameters:

消息 (字符串)

message -- explanation of the error