Skip to main content

AI tools

AI tools help staff generate course content, questions and lesson materials using a configured AI provider.

Entitlement note​

AI tools must be enabled for your tenant by the platform operator. If you do not see the AI menu items, contact your operator. See Entitlements and feature flags.

Screens​

ScreenRouteWhoDescription
Prompt templates/admin/ai-promptsAdmin, ModeratorCreate and manage reusable prompt templates
AI usage/admin/ai-usageAdminView token usage and request history per user
AI settings/admin/ai-settingsAdminConfigure the active provider and model
Generate question/question/ai-generateAdmin, Moderator, TeacherGenerate assessment questions using AI

Supported providers​

Configured via environment variables by the platform operator:

ProviderVariables
OpenAIAI_OPENAI_KEY, AI_OPENAI_MODEL
Azure OpenAIAI_AZURE_KEY, AI_AZURE_ENDPOINT, AI_AZURE_DEPLOYMENT
Google GeminiAI_GEMINI_KEY, AI_GEMINI_MODEL
Ollama (self-hosted)AI_OLLAMA_BASE_URL, AI_OLLAMA_MODEL
HuggingFaceAI_HF_TOKEN, AI_HF_MODEL, AI_HF_BASE_URL

The active provider is set with AI_ACTIVE_PROVIDER.

Prompt templates​

Prompt templates are reusable instructions that pre-fill the AI generation form. Create them under AI tools → Prompt templates to standardise how staff generate content.

  1. Go to AI tools → Prompt templates and select New template.
  2. Enter a Name and the Prompt text.
  3. Select Save. The template is available to all staff in the generation form.

Generate a question with AI​

  1. Go to Questions → Generate with AI (or open a course and select AI generate).
  2. Select a prompt template or enter a custom prompt.
  3. Select Generate. Review the output and edit as needed.
  4. Select Save to add the question to the course.

View AI usage​

Go to AI tools → Usage to see token consumption and request counts by user and date range. Use this to monitor costs and identify heavy users.