Skip to main content

AI features

info

This page covers the two AI-powered features in the school platform: study unit generation that turns simple ideas into cross-curricular learning adventures, and Ask Bob, an interactive Q&A assistant with full conversation history.

School Platform series

  1. School Platform
  2. Architecture
  3. AI features - You are here
  4. Calendar integration
  5. Deployment

AI study units

Study units allow a parent or student to share a learning idea and have AI expand it into a structured set of activities spanning multiple curriculum areas, tailored for the student's engagement level.

For example, "Today we fixed the irrigation system in the backyard" becomes a themed unit called "Water Systems: From Backyard to Broadacres" with activities across Technologies, Science, Maths, English, and HASS.

How generation works

The AI generates:

  • Title - a catchy, engaging name for the unit
  • Description - 2-3 sentences explaining the adventure
  • AI message - a friendly response from the AI assistant
  • Categories - 4-6 themed groups of activities (e.g. Build and Create, Experiments, Write About It)
  • Options - 3-5 activity choices per category

Each activity includes a title, description, relevant learning area codes, estimated duration, and flags for whether it requires help, is outdoor, or is hands-on.

Personalised AI assistant

The AI has a configurable personality set in the app settings:

SettingPurpose
AI nameName the AI responds to (default: "Bob")
AI personalityHow the AI communicates (e.g. "friendly, enthusiastic, uses jokes and fun facts")
Student nameUsed in prompts and responses for personalisation
Parent nameReferenced for activities requiring help
Target ageContent complexity level
Year levelCurriculum alignment

All settings are configurable from the Settings page. The AI uses Australian English and relates content to the student's age and interests.

Preference memory

The system builds a memory of learning preferences over time:

CategoryExamples
Interests"Loves building things", "Into Minecraft"
Dislikes"Doesn't like long reading", "Bored by worksheets"
Learning style"Hands-on learner", "Visual explanations work best"
Topics"Interested in engineering", "Likes animals"

Preferences can be explicit (directly added in Settings), inferred (AI detects patterns from activity selections), or rating-derived (built from pre/post activity ratings).

Selective regeneration

Users can request new options for any category without regenerating the entire unit. The AI receives the existing options to avoid repeats and generates 4-5 new alternatives while maintaining consistency with the seed idea.

Rating system

Activities support engagement tracking with emoji-based ratings:

RatingWhenPurpose
Pre-ratingBefore startingInterest level
Post-ratingAfter completionEnjoyment level
Engagement notesAfter completionWhat they liked or did not like

Ratings feed back into the preference memory so the AI learns what works over time.

Study unit generation showing a seed idea expanded into categorised activities.


Ask Bob Q&A

Ask Bob is an interactive AI assistant that answers questions about any subject with personalised, age-appropriate responses. Conversations can be saved and continued later, with automatic categorisation by learning area.

Access points

LocationBehaviour
Floating button (all pages)Bottom-right; opens modal on desktop, bottom sheet on mobile
Sidebar linkNavigates to full-page chat interface
Study unit detail pageCollapsible "Ask Bob about this" section with topic context

The floating button is hidden on /questions/ pages to avoid duplication.

What Bob provides

Each answer includes:

  • An age-appropriate explanation using Australian English
  • A fun fact or interesting tidbit
  • The automatically detected learning area
  • 2-3 related topics as clickable suggestions for follow-up

Conversation history

Full chat threads are persisted in the database:

  • Conversations group messages with a title, learning area, and favourite status
  • Messages store both user questions and AI responses with metadata
  • Conversations can be continued later with new messages
  • History view groups conversations by learning area with expand/collapse

When asking from a study unit page, the study unit title is automatically passed as context so Bob can give more relevant answers.

Ask Bob floating button with chat modal showing a Q&A exchange.

AI configuration

Both features use the same OpenAI integration:

SettingDefaultPurpose
Model (quality)GPT-4oStudy unit generation, creative content
Model (speed)GPT-4o-miniQuick Q&A responses
JSON modeEnabledStructured output for study unit generation
Lazy initialisationYesClient created on first use, not at module load