langchain_experimental.comprehend_moderation.base_moderation_exceptions.ModerationToxicityError

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

检测到有害实体时引发的异常。

参数

message (str) –

message -- 错误解释