const express = require('express');
const router = express.Router();
const { generateAlertScenario, askAITutor } = require('../controllers/aiController');
const { protect } = require('../middleware/authMiddleware');

// Route to generate alert details from a prompt
router.post('/generate', protect, generateAlertScenario);

// Route for AI Tutor "Handler Echo"
router.post('/tutor', protect, askAITutor);

module.exports = router;
