Ibnovate Course 2 · The Rising Builders
⏱ 75 minLive session · ages 12–15

Session 14 — Build with Generative AI

Duration: 75 min · Format: live online · Ages: 12–15

Session goal: by the end, students can write strong prompts using pro patterns, design a chatbot with a system prompt, and use generative AI honestly, safely, and with integrity.

Before class — prep (5 min)

Agenda

Time Segment
0:00 Hook — "help me" vs a real prompt (5 min)
0:05 Teach — prompt-engineering patterns (12 min)
0:17 Teach — design a chatbot (11 min)
0:28 Teach — use it responsibly (10 min)
0:38 Activity — build a study-buddy bot (22 min)
1:00 Check for understanding (8 min)
1:08 Wrap-up + homework (7 min)

0:00 · Hook (5 min)

Ask the class and take a few answers (chat or unmute):

Read out both prompts and ask which will get the better result:

Let them vote, then reveal: same AI — wildly different results. The skill isn't in the AI; it's in the asking. Tell them that today they learn the patterns pros use, build their own chatbot, and — most importantly — use it honestly and safely.


0:05 · Teach — Prompt-engineering patterns (12 min)

Explain: a great prompt goes far beyond one line. Pros stack techniques. Share the diagram:

A great prompt with Task, Details, Style, and Audience leading to a strong answer

Walk through the patterns out loud, demoing one or two live in the chatbot:

⚠ Watch for lazy prompting: students expect the AI to read their mind, then blame the AI for a bad answer. The fix is theirs — add role, context, and format. A vague prompt gets a vague answer.

Ask: "Take the prompt 'write about dogs' — add a role, a format, and an audience to it out loud." (Take 2–3 answers.)


0:17 · Teach — Design a chatbot (11 min)

Explain: a chatbot is a system prompt (its personality + rules) plus a back-and-forth conversation. Share the diagram:

A chatbot with a system prompt persona, a user message, and the AI's reply, looping

⚠ Watch for privacy here: grounding a bot in "your data" must never mean pasting personal or sensitive information (real names, addresses, passwords, other people's data). Ground it in safe text only.

Ask: "What one rule would you put in a study-buddy bot's system prompt so it helps you learn instead of just handing you answers?" (Take 2–3 answers.)


0:28 · Teach — Use it responsibly (10 min)

Explain: this is the most important part of the whole module. Generative AI is powerful — which makes using it well a responsibility. Land all four points:

⚠ Watch for the academic-integrity line: the boundary is using AI to learn vs passing off AI's work as your own. The first is smart; the second is cheating. When in doubt, disclose how you used it — that's what real teams and judges respect.

Ask: "You used AI to help write a project. What are the two things you must do before you hand it in?" (Answer: fact-check it, and disclose/cite that you used AI.)


0:38 · Activity — Build a study-buddy bot (22 min)

Demo Path A first on the shared screen, then have students build their own. Offer Path B to Builders who are ready for code.

Path A — No code (all students). In a chatbot that supports custom instructions / a "custom GPT" / a Poe bot, set a system prompt. Give them this starter to type in and then adapt:

"You are my Year-8 science study buddy. Quiz me one question at a time, wait for my answer, then explain gently. Never give the full answer first."

Have students use it for ~5 minutes, then tweak the system prompt until it behaves the way they want. Circulate and ask what change made the biggest difference.

Path B — Python (Builders). With a free API key from Google AI Studio (ask a grown-up), open Colab.

Type/run this together in Colab:

import google.generativeai as genai
genai.configure(api_key="YOUR_KEY")          # keep keys private!
model = genai.GenerativeModel("gemini-1.5-flash")

system = "You are a patient study buddy. Explain simply, then ask me one question back."
answer = model.generate_content(system + "\nStudent: How do vaccines work?")
print(answer.text)

Circulate and reinforce: the comment says it all — keep API keys private. A key is like a password; never paste it into chat, a shared doc, or a screenshot.


1:00 · Check for understanding (8 min)

Ask these aloud or drop them in the chat. Answer key (for you):

  1. What does a system prompt do? → It sets the chatbot's persona and rules — who it is and how it behaves.
  2. What is "few-shot" prompting? → Giving the AI examples of what you want, so it copies the format and style.
  3. You used AI to help write a project. What must you do?Fact-check it, and disclose/cite that you used AI — never pass it off as fully your own.
  4. True or False: it's fine to paste a friend's home address into a chatbot to plan a visit.False — never share personal or sensitive data with an AI.

1:08 · Wrap-up + homework (7 min)


Teaching notes

Vocabulary

Term Meaning
Prompt engineering Writing effective instructions for AI
System prompt Sets the chatbot's persona and rules
Few-shot Prompting with examples
RAG Grounding AI in your own trusted data
Integrity Honest, cited use of AI

Resources

Next session

This is the final bonus session of the course. Students can now understand, build with, and responsibly use generative AI — a perfect edge for their competition project and portfolio.

Ibnovate · Build · Innovate
Type to search · Esc to close
Welcome back
Sign in to continue building.
Accounts are created by Ibnovate — ask your instructor for your login.
🔒