aita_core.admin — Admin Dashboard

Password-protected admin dashboard for viewing interaction logs, student feedback, feature requests, and editing course settings.

Entry Point

aita_core.admin.admin_page()[source]
aita_core.admin.admin_dashboard()[source]

Authentication

aita_core.admin.check_admin_auth()[source]
aita_core.admin.admin_login()[source]

Course Settings

aita_core.admin.admin_settings()[source]

The Course Settings tab provides a form to edit all CourseConfig fields at runtime. Changes are saved to config_overrides.json in the data directory and take effect immediately (except embedding/chunk settings which require re-ingestion).

Editable settings are organized into sections:

  • Course Identity — name, short name, description

  • System Prompt — the full LLM system prompt

  • LLM Settings — model, temperature, retrieval_k, chunk size, embedding model

  • Textbook — URL and chapter-to-week mapping

  • Week Schedule — topics per week (JSON editor)

  • Content Mappings — HW/topic/lab/study guide to week (JSON editors)

  • Example Prompts — clickable prompts per week (JSON editor)

Dashboard Tabs

Interaction History

Browse all student-chatbot interactions. Filter by student ID. Each entry shows the question, response, sources, and rating.

Feedback

View student feedback with linked Q&A context. Shows positive/negative ratings and comments.

Feature Requests

Manage student feature requests. Update status: openin_progressdone / wontfix.

Course Settings

Edit course configuration at runtime. See above.