☰ خطة العام · تكنولوجيا المعلومات والاتصالات (بالإنجليزية)

Generative AI and web pages

الأسبوع 13 · الوحدة ١٣ «الذكاء الاصطناعي التوليدي» (١): الذكاء الاصطناعي التوليدي والأوامر والهلوسة، صفحات الويب بـ HTML وCSS، السلوك بـ JavaScript، صفحة ثابتة بمساعدة الذكاء الاصطناعي · 3 دروس
1

Generative AI: a helper that can be wrong

ICT Secondary 1 Term 1, Chapter 13, Lessons 13-1 to 13-4: pp. 176–189
GoalExplain what generative AI does, why it can be wrong, and how to write a clear prompt.
New words
generative AI · a program trained on very many examples that makes new text, pictures or codeprompt · what you ask the AI helper to dohallucination · a fluent, confident answer that is wrong or inventedbias · an unfair lean in the answers that comes from the training data
Explanation

Generative AI is a program that was trained on a very large number of examples. From the patterns it found, it produces new text, pictures or code. It works by predicting what is likely to come next, so it does not know things the way a person does, and it does not check whether its sentence is true. This is why a helper can give a hallucination: a smooth, confident answer that is wrong or invented, for example a book title that does not exist. The risks are: wrong facts, bias that comes from the training data, private data that you type into a prompt (remember Week 1 and Week 2: never type a real name with an address, an ID number or a password), and the copyright of what it makes. A prompt is what you ask. A clear prompt states the purpose, the audience, the format and the limits, so the answer fits your need. The rule for every answer is the same: you are the author, so you check facts, code and sources yourself.

Worked examples
PromptWhy
Tell me about water.No purpose, audience or limit.
Write five short facts about the water cycle for 12-year-olds, as a list, with no difficult words.Purpose, audience, format and limit are all clear.
A vague prompt and a clear prompt for the same need. The second one gives purpose, audience, format and limits.
A hallucination. A helper is asked for a book about a village well and gives a title, an author and a year. All three look real, but nobody has checked them. The honest step is to search a library catalogue or ask a teacher before using them.
SafeNot safe
A general question about fractionsA real phone number or a password
An invented example nameA classmate’s photo or ID number
What may go into a prompt? A rule of thumb in a table.
Class activity

On paper, take the vague prompt “Help me with my homework” and rewrite it three times, each time adding one more detail: the subject, the audience or level, and the format and limit. Then list two things you would check in the answer.

Practice
1
Does a generative AI “know” that its answer is true?
2
Name the four parts of a clear prompt.
3
A helper gives a quotation with a name and a date. What do you do before using it?
4
Give one reason not to type a classmate’s full name and address into a prompt.