ModerationPromptSafetyError#
- class langchain_experimental.comprehend_moderation.base_moderation_exceptions.ModerationPromptSafetyError(message: str = 'The prompt is unsafe and cannot be processed')[source]#
如果检测到不安全的提示,则引发异常。
- Parameters:
消息 (字符串)
- message -- explanation of the error