<?php
// AI Report Assistant Configuration

// Database settings - CHANGE TO evergreenint WHEN GOING LIVE
define('AI_DB_HOST', 'localhost');
define('AI_DB_NAME', 'evergreenint');
define('AI_DB_USER', 'ai_readonly');
define('AI_DB_PASS', 'AiR3port$2026!');

// Ollama settings
define('OLLAMA_URL', 'http://127.0.0.1:11434/api/generate');
define('OLLAMA_MODEL', 'qwen2.5:3b');

// Allowed users (add your 5 manager userids here)
$AI_ALLOWED_USERS = array('admin', 'sharukh', 'ravinesh', 'jprasad', 'nitika', 'mike', 'mikejamieson', 'joseph', 'losa', 'mkhan', 'ravneet', 'mosheed', 'priyakumar');

// Schema context file path
define('AI_SCHEMA_FILE', __DIR__ . '/ai_schema_context.txt');

// Blocked SQL keywords
$AI_BLOCKED_KEYWORDS = array('DELETE', 'UPDATE', 'INSERT', 'DROP', 'ALTER', 'TRUNCATE', 'CREATE', 'REPLACE', 'GRANT', 'REVOKE', 'EXEC', 'EXECUTE', 'CALL', 'INTO OUTFILE', 'INTO DUMPFILE', 'LOAD_FILE');
?>
