mirror of
https://github.com/hoshikawa2/nemo_guardrails_configuration.git
synced 2026-07-09 17:04:20 +00:00
First Commit
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
define flow input_check_toxicidade
|
||||
user input
|
||||
$r = execute detectar_toxicidade(text=$user_input)
|
||||
if $r.allowed == False
|
||||
bot respond "BLOCKED:TOX"
|
||||
|
||||
|
||||
define flow input_check_out_of_scope
|
||||
user input
|
||||
$r = execute detectar_out_of_scope(text=$user_input)
|
||||
if $r.allowed == False
|
||||
bot respond "BLOCKED:OOS"
|
||||
Reference in New Issue
Block a user