Multimode / Config /bot_flows.co
MEOW
Create bot_flows.co
2c73167 unverified
Raw History Blame Contribute Delete
493 Bytes
define flow self check input
$allowed = execute self_check_input
if not $allowed
bot refuse to respond
stop
define flow self check output
$allowed = execute self_check_output
if not $allowed
bot refuse to respond
stop
define flow user query
$answer = execute user_query
bot $answer
define flow self check hallucinations
$answer = execute rag()
$check_hallucination = True
bot $answer
define bot refuse to respond
"I'm sorry, I can't respond to that."