first commit

This commit is contained in:
2026-04-29 20:45:00 -03:00
parent 0c4f67eb63
commit f613b58a8a
37 changed files with 1740 additions and 106 deletions

16
config/config.yml Normal file
View File

@@ -0,0 +1,16 @@
models:
- type: main
engine: openai
model: gpt-4o-mini
parameters:
api_key: ${OPENAI_API_KEY}
base_url: ${OPENAI_BASE_URL:-https://api.openai.com/v1}
rails:
input:
flows:
- self check input
output:
flows:
- self check output

5
config/input.co Normal file
View File

@@ -0,0 +1,5 @@
define flow self check input
$allowed = execute check_input
if not $allowed
bot refuse to respond
stop

5
config/output.co Normal file
View File

@@ -0,0 +1,5 @@
define flow self check output
$allowed = execute check_output
if not $allowed
bot refuse to respond
stop