YeneSchool
AI Intelligence Suite

AI Assistant Configuration & Model Settings

How school directors configure AI providers, OpenRouter API keys, model selections, token budgets, and autonomous autopilot switches.

AI Assistant Configuration & Model Settings

School Directors and System Administrators can configure, customize, and monitor the AI intelligence engine across the school from Director Portal > School Settings > AI Configuration.


1. Provider & LLM Model Setup

YeneSchool natively supports OpenRouter-compatible LLM endpoints as well as direct provider integrations:

┌────────────────────────────────────────────────────────────────────────┐
│ ⚙️ AI Engine Configuration                                             │
├────────────────────────────────────────────────────────────────────────┤
│ Provider:               [OpenRouter (Recommended)         ▼]           │
│ API Key:                [••••••••••••••••••••••••••••••••] [Test Key]  │
│ Primary Model:          [anthropic/claude-3.5-sonnet       ▼]           │
│ Fast / Utility Model:   [google/gemini-2.0-flash           ▼]           │
│ Temperature:            [0.3 (Deterministic / Pedagogical) ▼]          │
└────────────────────────────────────────────────────────────────────────┘
  1. Navigate to Director Portal > School Settings > AI Configuration.
  2. Enter your OpenRouter API Key or custom gateway URL.
  3. Select your preferred models:
    • Primary Model: Used for in-depth 5E lesson planning, exam question generation, and complex risk diagnostics.
    • Fast Model: Used for real-time streaming chat, quick translations, and morning executive summaries.
  4. Click Test Connection to verify API key validity and quota status.
  5. Click Save Configuration.

2. Autonomous Autopilot Switches

Enable or disable specific background agents to suit your school's operating preferences:

Autopilot SwitchDefaultOperational Impact
AI_MORNING_BRIEFING_ENABLEDtrueSynthesizes daily 06:30 AM executive briefing card for School Director.
AI_PROACTIVE_TIMETABLE_WATCHDOGtrueDetects teacher absences and automatically negotiates Telegram substitute swaps.
AI_TIMETABLE_AUTO_APPROVEfalseWhen true, automatically commits substitute periods without requiring manual Director sign-off.
AI_EMPATHETIC_PARENT_DIALOGUEtrueFormats grade drop and attendance alerts with warm pedagogical encouragement.
AI_EARLY_WARNING_CRONtrueRuns continuous student dropout and academic risk score evaluations.

3. Token Budgets & Rate Limiting

To prevent unexpected API costs and ensure equitable access:

  • Daily Token Limits per Role: Set maximum generation limits for teachers, students, and administrative staff.
  • Context Window Cache: Repeated queries against the same school curriculum units are cached in Redis to minimize token consumption by up to 60%.

Next Steps in AI Intelligence

Copyright © 2026 YeneSchool · All rights reserved.