Nizomiy UstozProfessional development center
Switch course ▾
5.1 Understanding How Students Learn5.2 Lesson Planning Fundamentals5.3 Classroom Management5.4 Student Engagement5.5 Assessment Fundamentals5.6 Differentiated Instruction5.7 Communication with Students & Parents5.8 Digital Teaching Fundamentals5.9 AI Literacy for Teachers5.10 Reflective Teaching Practice6.1 Multilingual Classrooms: Uzbek, Russian & English Instruction6.2 Teaching Large Classes Effectively6.3 Early Literacy & Numeracy Foundations6.4 Classroom Technology Basics6.5 Working with Parents in a Multicultural Community6.6 Wellbeing & Stress Management for New Teachers8.1 Advanced Assessment & Feedback8.2 Learning Analytics8.3 Inquiry-Based Learning8.4 Project-Based Learning8.5 Critical Thinking8.6 Differentiation & Inclusion8.7 AI-Enhanced Teaching8.8 Curriculum Design8.9 Student Motivation8.10 Action Research9.1 Teaching STEM through Inquiry9.2 Arts & Creativity Integration9.3 Environmental & Sustainability Education9.4 Blended & Flipped Classroom Design9.5 Supporting Multilingual Learners9.6 Gamification & Game-Based Learning11.1 Instructional Coaching11.2 Mentoring Beginning Teachers11.3 Advanced Pedagogical Design11.4 Evidence-Based Teaching11.5 Classroom Research11.6 Learning Analytics for Improvement11.7 AI Innovation in Education11.8 Designing Professional Learning11.9 Peer Observation11.10 Leading Classroom Innovation12.1 Coaching Colleagues Through Instructional Rounds12.2 Data-Informed School Improvement12.3 Designing Assessment for National/International Benchmarks12.4 Leading a Professional Learning Community12.5 AI Tools for Personalized Learning at Scale12.6 Special Educational Needs & Inclusive Pedagogy14.1 Educational Leadership14.2 Instructional Leadership14.3 Teacher Development Systems14.4 School Improvement14.5 Leading Educational Innovation14.6 Strategic Use of AI14.7 Education Research & Policy14.8 Coaching & Mentoring Systems14.9 Professional Learning Communities14.10 Change Management in Education15.1 Education Policy & Systems Thinking15.2 Building a Teacher Training Curriculum15.3 Grant Writing & Resourcing School Innovation15.4 International Benchmarking: AITSL, NIE & PISA Frameworks15.5 AI Governance & Ethics in Schools15.6 Scaling Innovation Across a School Network17.1 From Teacher to Team Leader17.2 Leading Curriculum and Planning in a Subject17.3 Leading Assessment and Moderation17.4 Observation, Feedback and Coaching for Middle Leaders17.5 Using Data to Improve a Team's Results17.6 Leading Professional Learning in Your Team17.7 Difficult Conversations and Managing Performance17.8 Leading Inclusion and Pupil Support across a Year Group17.9 Workload, Time and Wellbeing for Teams17.10 Leading Change at Team Level18.1 Leading Literacy across the Curriculum18.2 Leading Digital and AI Practice in a Department18.3 Leading Class Teachers and Pastoral Care18.4 Leading Olympiad and Gifted Education18.5 Leading Multilingual Teaching (Uzbek, Russian, English)18.6 Preparing Pupils for National and International Assessments Responsibly20.1 The Senior Leader's Role, Ethics and Accountability20.2 Leading Teaching and Learning across the School20.3 Timetabling, Staffing and Resource Deployment20.4 Whole-School Assessment, Data and Reporting20.5 Teacher Development and Appraisal Systems20.6 Behaviour, Safeguarding and Pupil Wellbeing20.7 School Self-Evaluation and Improvement Planning20.8 Leading Inclusion and Special Educational Needs Provision20.9 Leading Digital Transformation and AI Policy20.10 Leading Strategic Change21.1 Partnerships with Parents and the Mahalla21.2 School Budgeting and Financial Management21.3 Leading Spiritual, Educational and Character Education Work21.4 Recruiting, Inducting and Retaining Teachers21.5 Leading Career Guidance and Vocational Pathways21.6 Crisis Management and School Safety23.1 Vision, Values and Strategy for a School23.2 Leading the School as an Organisation: Law, Governance, Accountability23.3 Financial Stewardship and Resource Strategy23.4 Building Leadership Capacity and Succession23.5 Leading Culture, Equity and Inclusion23.6 Evidence-Based Planning and Evaluation23.7 Community and Stakeholder Leadership23.8 Leading Innovation at Scale23.9 System Leadership: Leading beyond Your School23.10 Personal Leadership: Resilience, Ethics and Wellbeing24.1 Leading a School Cluster or Network24.2 International Partnerships and Benchmarking24.3 Public-Private Partnerships and Fundraising24.4 Policy Implementation and Working with Authorities24.5 Leading Rural and Small Schools24.6 Coaching and Supervising Other PrincipalsProgramme (112) →

5.9.1 How Generative AI Works

Objective. Explain in plain terms how a generative AI tool produces text, and why the same prompt can give different answers.

Why this matters

When a colleague says 'the AI told me', it helps to know what actually happened inside the tool.

You need only a clear picture: the tool continues text in a likely way, using patterns from its training.

Knowing this helps you decide:

  • when a draft is safe to use
  • when to ask again
  • when to put the tool away

This session gives you that picture and shows how small changes in your prompt change what you get back.

Key ideas

Prediction, not understanding

  • Trained on writing. A text AI learns from a very large amount of text which words tend to follow which.
  • One step at a time. Given a prompt, it predicts the most likely next piece of text, then the next.
  • Fluent is not true. The tool is built to sound right, not to check what is right.

How a text AI produces an answer

1It learns from a very large amount of text which words tend to follow which
2It reads your prompt in small pieces called tokens
3It predicts the most likely next piece, then the next
4It samples from likely options, so each run differs
Fluent is not true: the tool is built to sound right, not to check what is right.

Tokens and the context window

  • Tokens. The tool reads text in small pieces called tokens: parts of words, not whole sentences.
  • Limited view. It can only 'see' a limited amount of your conversation at once. In a long chat, early details can be lost.
  • Your prompt shapes the output. Clear context in, better draft out.

Why answers vary

  • Sampling. The tool does not always pick the single most likely word; it samples from likely options, so each run differs.
  • Good and bad. Variety is useful for brainstorming and risky for facts: the same question can return a right and a wrong answer.
  • One draft. Treat each output as one draft among many possible drafts, never as 'the' answer.

Where it fails: hallucination and bias

  • Hallucination. A confident statement that is false: invented facts, sources, quotations or numbers.
  • Bias. The tool reflects patterns in its training texts, so it can repeat stereotypes and is weaker on smaller languages and local contexts.
  • Blind spots. It knows nothing about your students, your curriculum or today's news unless you tell it.

Where it fails

Hallucination

A confident statement that is false: invented facts, sources, quotations or numbers

Bias

It repeats patterns from its training texts, and is weaker on smaller languages and local contexts

Blind spots

It knows nothing about your students, your curriculum or today's news unless you tell it

How a text tool writes

1Read the promptSplit into tokens
2Score optionsWhich token is likely next?
3Pick oneSampled, not always the top
4Add and repeatThe new token joins the context
The loop repeats for every new piece of text, so an early wrong choice can carry forward.

Training and tuning: where the confidence comes from

Building a text AI usually has two stages.

Training

Learning patterns.

  • What happens: the model learns from a huge collection of writing how language works and how topics are usually discussed.
  • Result: it works from patterns up to a certain date, so recent events or this year's textbook changes may be missing. It is not a database: it generates text that resembles how facts are usually written.

Tuning

Learning to please.

  • What happens: people rate answers and the model is adjusted to be helpful, polite and well organised.
  • Result: it sounds calm and certain even when wrong. A confident tone was rewarded, but nobody can check every fact.

Remember: a confident tone says nothing about whether the answer is true.

Your prompt is the steering wheel

The more useful material you supply, the less the tool has to guess.

  • Audience. Who it is for (Grade 6, Uzbek-medium).
  • Task. What you want done.
  • Format. For example five questions, or a table.
  • Source. Paste a textbook paragraph and write 'use only this text': the tool works from the paragraph, not from memory, and checking gets much easier.
  • Show its work. Ask it to show its steps or say what it is unsure about. This does not make it truthful, but gives you something to inspect.
  • Weak answer? Change the prompt and run it again.

Examples from the classroom

Three answers about photosynthesis

Scene. Dilnoza teaches Grade 5 in Samarkand. She asks an AI tool three times for a four-sentence explanation of photosynthesis. All three answers read smoothly. Two say that plants take in carbon dioxide and release oxygen; the third says plants 'breathe in oxygen to make food'. The third sounds just as confident as the others. Dilnoza compares all three with the textbook page before choosing one for her class.

Insight. Each run is one sample, and a fluent sentence can still be false. Where runs disagree, that is the place to check.

A source that does not exist

Scene. Aziz teaches Grade 9 history in a Bukhara school. He asks the tool for a quotation from a historical figure, with the book title and page number. The answer arrives with an author, a title and a page, all neatly formatted. Aziz searches the school library catalogue and the internet and finds no such book. He decides to use only quotations he has seen in a real book, and tells his students why.

Insight. A hallucination often looks like a real reference. Ask for sources only so you can open them, never to trust them.

The forgotten instruction

Scene. Malika teaches Grade 7 geography in a Russian-medium school in Nukus. At the start of a long chat she asked for short sentences and simple words for a lesson on the Aral Sea. After many exchanges, the answers become long and full of difficult terms. She starts a new chat, pastes the textbook paragraph, repeats her instruction in one line, and the level is right again.

Insight. The tool sees only a limited window of the conversation. Restate key instructions, and start fresh for a new task.

Common pitfalls

  • Believing that a calm, confident tone means the answer is correct.
  • Using one run as proof; if two runs disagree, that is a signal to check, not to pick the nicer one.
  • Asking for sources and trusting them without opening them.
  • Assuming the tool knows your curriculum, your students or recent changes.
Hands-on activity · ~35 min

Same Prompt, Three Answers

  1. Read the prompt: 'Explain photosynthesis to a Grade 5 class in four sentences.' Three different AI answers (A, B, C) are in your Activity Kit.
  2. Alone (5 min): list what is the same in all three and what differs — length, tone, examples, accuracy.
  3. In pairs (10 min): find any statement you would not give to a class without checking. Mark it.
  4. As a group (10 min): explain in your own words why one prompt produced three answers. Use the words 'predict' and 'sample'.

Your facilitator will guide you through this activity in the session.

Questions to discuss

  • Which of the three answers would you trust most, and what would you still check before using it?
  • What does variability change about how you should use these tools for facts versus for ideas?
  • How would you explain 'it predicts text' to a colleague in one sentence?

Reflect

  • Where have you already met AI-written text without noticing?
  • What is one thing you assumed AI 'knows' that you now see it only predicts?
  • Which of your tasks needs one reliable answer, and which benefits from many options?

Try it tomorrow

  • Run the same prompt twice before a lesson and underline every place where the two answers disagree; check those first.
  • Paste one textbook paragraph with 'use only this text' and compare the result with an answer to the same question without it.
  • Tell students in one sentence, 'The tool predicts likely words; I check the facts', and ask each to verify one claim.

Further reading and links

Key takeaway

An AI tool predicts likely text. It does not know, check, or understand — so the checking is your job.