…
…
AI Fundamentals · Lesson 24 / 31 · Writing and checking prompts
PreviewIn this lesson you will
You can read the explanation without an account. The exercises and quiz at the end of the lesson are for members.
The desk now writes good prompts with the assistant and verifies every output. This week Elena puts a list of six jobs in front of you and asks: "Which of these should we give to the assistant?" She wants you to sort the list into three groups and show how we would share one job step by step.
In the last three lessons you learned to write a good prompt, to improve it, and to verify the output in three ways. One question is still open: is every job worth giving to the assistant? For some jobs, verifying the output takes longer than doing the job yourself from scratch. For some jobs, a single mistake costs a student their scholarship. For others, you would have to type someone else's information into the tool to hand the job over. In this lesson we will turn these three situations into one decision.
By the end of the lesson you will have the desk's job table. For now the decision and reason columns are empty.
| Job | Cost of a mistake | Verification | Personal information | Decision | Reason |
|---|---|---|---|---|---|
| Sorting questions by unit | ? | ? | ? | ? | ? |
| Draft of an announcement | ? | ? | ? | ? | ? |
| Reply to a scholarship appeal | ? | ? | ? | ? | ? |
| Summarizing a student complaint | ? | ? | ? | ? | ? |
| Exam results announcement | ? | ? | ? | ? | ? |
| Cleaning up meeting notes | ? |
The jobs, students, and documents in the list are all fictional examples written for this lesson.
In this lesson you will:
The first instinct is to sort jobs by difficulty: "The assistant does the hard jobs, I do the easy ones." This instinct misleads, because difficulty does not measure risk. You decide whether to give a job to the assistant with three questions.
Cost of a mistake: If the output is wrong, who is harmed, and how much? Remember the expensive mistake from Lesson 10: a model that wrongly rejects a scholarship application is paid for by the student. If a poster slogan comes out bad, the cost is a few minutes of fixing.
Verifiability: How easily and quickly can you check that the output is correct? If you can check it in a few minutes with the three ways from Lesson 23 (source, calculation, counterexample), verification is easy. If you have to read the whole file or the whole document to check it, verification is hard.
Personal or confidential information: To hand over the job, do you need to type a student's name, number, grade, or file into the tool? We will cover this topic in detail in Lesson 26; for now, think of it as a warning flag.
Example 1 (case): Two jobs, three criteria
Let's weigh two jobs from Elena's list.
| Job | Cost of a mistake | Verification | Personal information |
|---|---|---|---|
| Draft of an announcement | Low: it is read before publishing | Easy: read in 1 minute | None |
| Reply to a scholarship appeal | High: the student's scholarship | Hard: depends on the student's file | Yes |
If the announcement text comes out wrong, it is caught before it is published; reading it takes a minute and nobody's information is in it. For the scholarship appeal reply, everything is reversed: a mistake affects the student's whole year, you have to read the file to know whether the reply is correct, and the file holds the student's personal information.
Now find out for yourself which criterion stands out in each job.
Match each job with the criterion that makes it risky or safe.
For each row, pick its match from the list, then check.
Test once more that the criterion is not difficulty.
Which of the following jobs is riskier to give to AI?
To turn the three criteria into a decision, put the cost of a mistake and verification side by side. Each of the two criteria has two states, which makes four boxes.
| Verification easy | Verification hard | |
|---|---|---|
| Cost low | Hand over: take the draft, skim it | Work together |
| Cost high | Work together: verify every output | Keep |
Hand over means taking the output like a draft and reviewing it. Work together means splitting the job into parts, giving the assistant the suitable part, and doing the remaining parts and the verification yourself. Keep means doing the job yourself from start to finish. The personal information flag stands outside this table and comes before every decision. If the job cannot be done without typing personal information into the tool, the decision is "keep". If the information can be removed, meaning the job can still be done after names and numbers are deleted, the decision is "work together".
Example 2 (case): Two more jobs from the list
Sorting questions by unit is a job the desk already does: the model we built in Units 2–4 gives each question a unit and a confidence. A question sent to the wrong unit comes back, so the cost of a mistake is medium; verification is easy. Decision: hand over. But the threshold from Lesson 1 still applies: questions whose confidence stays below the threshold go to Elena.
The exam results announcement contains students' grades. A wrong grade affects a student's semester; grades are personal information. Decision: keep.
The code below writes the four boxes with two conditions. Change the two values and see the four results.
Change the cost of a mistake and the verification. Which combination gives which decision?
Pick a value; predict the output first, then look.
1error_cost = "low"2verification = "easy"34if error_cost == "low" and verification == "easy":5 print("Hand over: skim it afterward.")6elif error_cost == "high" and verification == "hard":7 print("Keep: do the job yourself.")8else:9 print("Work together: verify every output yourself.")
Hand over: skim it afterward.
Faded lines didn't run with this value. Of the four combinations, only one gives "hand over" and only one gives "keep"; two give "work together". So AI is suited neither to every job nor to no job: most jobs are in the middle. There is no personal information in the code; that flag stands outside the table, in front of every decision.
The table is kept simple on purpose. It is a starting point: the personal information flag and the time verification takes can change the decision.
There is a clock hidden inside the question "Is verification easy?" If verification takes longer than doing the job from scratch, the assistant does not save you time; it only adds risk.
Example 3 (case): The 80-page regulation
The assistant summarizes an 80-page regulation in 1 minute. If the summary will only be Elena's own note, the problem is small. But if the summary will go to students, every sentence has to be correct; the only way to know is to read the regulation, and that takes about 2 hours. The assistant's 1 minute does not remove the desk's 2 hours of checking. The solution is to split the job: first the desk picks the sections that matter to students (human). Then the assistant writes only those sections in plain language (AI). Finally the desk compares every sentence with the article number in the regulation (human). Decision: work together.
The assistant summarized an 80-page regulation in 1 minute. Did this summary save time?
Example 4 (outside the case): Scaling up a recipe
You want to scale a recipe for two people up to six. If it goes wrong, the cost is a little too much or too little food; to verify, it is enough to multiply every amount by 3. Decision: hand over, then skim.
A "work together" decision needs a plan. Splitting the job means dividing a job into 3–5 steps and writing "who does it" and "how do I verify it" for each step. This has two consequences. Even a job with a "keep" decision can have a part without personal information that can be handed over; for example, language correction of a general template text. Even in a job with a "hand over" decision, the final check stays with the human.
Example 5 (case): Summarizing a complaint and passing it to a unit
| Step | Owner | Checkpoint |
|---|---|---|
| 1. Remove the name, number, and phone from the complaint | Me | Is any personal information left in the text? |
| 2. Summarize the redacted text in 3 points | AI | None; the output is checked in step 3 |
| 3. Compare the summary with the original complaint, pass it to the unit | Me | Does each point appear in the complaint? |
The assistant does only the middle step, and no personal information goes into that step. The responsibility stays at the two ends, with the desk. Look at the plan carefully: the only step without a checkpoint is the assistant's step, because a human checks its output in the next step. In a good plan, every AI step is followed by a human step. When writing a plan, first ask "what information goes into this step?"; if personal information goes in, that step is yours.
Now look at the hardest job in the list, the scholarship appeal reply.
A student appealed a scholarship rejection; the desk has to write a reply. How do you use the assistant?
Pick an option and see what happens. There are no points; you can try the other options too.
Put the steps of the complaint plan in order.
Put the steps of summarizing a complaint and passing it to a unit in order.
Click the lines in order; to undo one you placed wrong, click it in the list below.
Shuffled lines
Your order
When you give the assistant a job, you do not hand over the responsibility. The student gets the reply from the desk; even if the assistant wrote a wrong reply, in the student's eyes the desk gave the wrong answer. So the desk sets three rules: decisions about a person (scholarship, grade, penalty) are not given to AI; personal information is not typed into the tool; the final check of every output that is handed over stays with the desk.
Example 6 (outside the case): A motivation letter
You are writing a motivation letter for an application. The letter will go out in your name and describe your experiences. The assistant cannot know these experiences; if you have it write them, it may make them up. Decision: work together. You write your experiences and why you are applying yourself, you ask the assistant only for language correction, and you read the final version and send it yourself.
Now match Elena's six jobs with their decisions.
Match Elena's six jobs with their decisions.
For each row, pick its match from the list, then check.
The table from the start of the lesson is now filled in:
| Job | Cost of a mistake | Verification | Personal information | Decision | Reason |
|---|---|---|---|---|---|
| Sorting questions by unit | Medium | Easy | None | Hand over | A wrong unit comes back; low-confidence ones go to Elena |
| Draft of an announcement | Low | Easy | None | Hand over | Read in 1 minute before publishing |
| Reply to a scholarship appeal | High | Hard | Yes | Keep | A decision about a person; only template language can be handed over |
| Summarizing a student complaint | Medium | Easy | Yes, removable | Work together | Personal information is removed, the summary is compared with the original |
| Exam results announcement | High | Hard |
A three-step plan for the last job in the list. Tidying a note looks like an easy job, but the raw note contains names; that is why the decision is "work together", not "hand over".
OutputStep 1 · Me · Remove names and personal details from the raw note.
Checkpoint: is any name or number left in the note?
Step 2 · AI · Organize the note under the headings "decisions, to-dos, dates".
Checkpoint: in step 3.
Step 3 · Me · Someone who attended the meeting compares the organized note with the raw note.
Checkpoint: has a decision or date been added that is not in the raw note?If step 3 is skipped, a single made-up date added by the assistant can end up in the whole unit's calendar.
The exam results announcement came out "keep", but there is a part of the job with no grades in it: the general announcement template. The desk's draft and the plain version requested from the assistant:
OutputDraft: The announcement of the examination results has been carried out through
the student information system, and appeal requests are required to be submitted
to the department secretariat.
Plain version: Exam results are now in the student information system. To appeal,
you can contact the department secretariat.This text has no name and no grade; you check by reading that the meaning has not changed, in a minute. The desk enters the grades into the system.
You want to list the main headings of a topic for an assignment. The cost is medium (the grade of the assignment), verification is hard (you have to find each piece of information in a source), and there is no personal information. Decision: work together.
OutputStep 1 · AI · Lists the headings you could research.
Checkpoint: in step 2.
Step 2 · Me · You look up each heading in the library or in a source you trust.
Checkpoint: does the heading appear in the source?
Step 3 · Me · You write the assignment in your own sentences, based on the sources you found.
Checkpoint: does every piece of information have its source next to it?Sorting jobs into "hard" and "easy". The rule "hard jobs to AI, easy jobs to me" gives the assistant the riskiest job: a job that is hard and hard to verify is the job where a mistake is noticed latest. The right way: look at the cost, the time verification takes, and personal information; base the decision on these three.
Next lesson: Unit 6 is done; in the unit task you will prepare your own prompt log. In Unit 7 we will go deeper into personal data and bias: first we will look at whom a model's data represents.
Exercises and quiz are for members
This lesson has 6 coding exercises and a 10-question quiz. Sign up free to solve them, save your progress and move on to the next lesson.
| ? |
| ? |
| ? |
| ? |
| Yes |
| Keep |
| Grades are personal, a wrong grade is expensive |
| Cleaning up meeting notes | Low | Easy | Yes, removable | Work together | Names are removed, someone who attended the meeting verifies the notes |
The assistant's list is only a starting point; a heading you cannot find in a source does not go into the assignment.