import { Router } from 'express';
import { explain } from '../controllers/ai.controller.js';
import { authenticate } from '../middleware/auth.middleware.js';

const router = Router();

router.post('/explain', authenticate, explain);

export default router;
