First Commit

This commit is contained in:
2026-04-28 09:30:23 -03:00
parent 6c574c8929
commit fa071624eb
6 changed files with 325 additions and 27 deletions

View File

@@ -1,5 +1,12 @@
define flow check toxicidade
pass
define flow input_check_toxicidade
user input
$r = execute detectar_toxicidade(text=$user_input)
if $r.allowed == False
bot respond "BLOCKED:TOX"
define flow check out of scope
pass
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"

View File

@@ -1,5 +1,27 @@
define flow check verbalizacao prematura
pass
define flow output_check_cmp
define flow check groundedness
pass
$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"