🛡️Moderation
Moderation nodes are used to check whether the input or output consists of harmful or inappropriate content.
Last updated
Moderation nodes are used to check whether the input or output consists of harmful or inappropriate content.
The OpenAI Moderation node checks whether input content complies with OpenAI safety policies before sending it to the model.
Go to OpenAI Platform
Generate API Key
Add OpenAI Moderation node to the canvas
Connect Credential > paste OpenAI API Key
Configure Error Message if required
• Filtering unsafe or restricted content • Ensuring compliance with AI safety policies

The Simple Prompt Moderation node checks input against a deny list and blocks restricted content before sending it to the model.
Add Simple Prompt Moderation node to the canvas
Enter Deny List (restricted words or phrases)
Connect Chat Model if required
Configure Error Message
• Blocking specific keywords or instructions • Preventing prompt injection or misuse

Last updated