Build reusable bot framework
Some checks failed
CI / test (push) Has been cancelled
CI / compose-smoke (push) Has been cancelled

This commit is contained in:
Chelsea Lee
2026-07-19 21:53:24 -05:00
parent 7ecc1107b2
commit fbdf33e894
66 changed files with 8428 additions and 0 deletions

16
ai/ai_config.json Normal file
View File

@@ -0,0 +1,16 @@
{
"model": "qwen/qwen3-next-80b-a3b-thinking:nitro",
"max_tokens": 2048,
"json_mode": false,
"prompts": {
"command_parser": {
"system": "You route user messages to one available command module. Return only a JSON object. Never invent a module name.",
"user_template": "Available modules:\n{module_context}\n\nConversation context:\n{history_context}\n\nUser message: \"{user_input}\"\nCurrent UTC time: {current_time}\nUser timezone: {timezone}\n\nReturn exactly one JSON object with interaction_type, confidence from 0 to 1, and needs_clarification when the module is unclear."
}
},
"validation": {
"max_retries": 3,
"timeout_seconds": 15,
"confidence_threshold": 0.8
}
}