mirror of
https://github.com/hoshikawa2/nemo_guardrails_configuration.git
synced 2026-07-09 17:04:20 +00:00
27 lines
499 B
Plaintext
27 lines
499 B
Plaintext
define flow output_check_cmp
|
|
|
|
$r = execute cmp(resposta="dummy")
|
|
|
|
if $r.allowed == False
|
|
bot respond "BLOCKED:CMP"
|
|
|
|
bot respond "OK"
|
|
|
|
|
|
define flow output_check_verbalizacao_prematura
|
|
|
|
$r = execute verbalizacao_prematura(resposta="dummy")
|
|
|
|
if $r.allowed == False
|
|
bot respond "BLOCKED:REVPREC"
|
|
|
|
bot respond "OK"
|
|
|
|
define flow output_check_groundedness
|
|
|
|
$r = execute validar_groundedness(resposta="dummy")
|
|
|
|
if $r.allowed == False
|
|
bot respond "BLOCKED:GND"
|
|
|
|
bot respond "OK" |