Files
nemo_guardrails_oci_generat…/files/configs/default/rails/input.co
2026-04-27 07:59:20 -03:00

11 lines
303 B
Plaintext

define bot refuse to respond
"I'm sorry, I can't respond to that."
define subflow keyword check input
"""Check if the user input contains any forbidden keywords."""
$result = execute detect_keywords(source="input", text=$user_message)
if $result["is_match"]
bot refuse to respond
stop