langchain_experimental.comprehend_moderation.base_moderation_exceptions.ModerationPromptSafetyError¶

class langchain_experimental.comprehend_moderation.base_moderation_exceptions.ModerationPromptSafetyError(message: str = 'The prompt is unsafe and cannot be processed')[source]¶

Exception raised if Intention entities are detected.

message -- explanation of the error