langchain_experimental.comprehend_moderation.base_moderation_exceptions.ModerationIntentionError¶
class langchain_experimental.comprehend_moderation.base_moderation_exceptions.ModerationIntentionError(message: str = 'The prompt indicates an un-desired intent and cannot be processed')[source]¶
Exception raised if Intention entities are detected.
message -- explanation of the error