THE COMPLETE CHATGPT AI COURSE
Chapter 9 practice file: style-samples.txt

Section A: three menu-board lines Priya wrote (examples to learn the pattern from).
Section B: two lines Priya never wants on a board (anti-examples), with what's wrong.
Section C: every prompt and template in Chapter 9.
Harbor & Pine Coffee Co. and everyone in it are fictional. Copy everything between
the dashed lines, and nothing else.

========================================================================

SECTION A. EXAMPLES (Section 9.7, Step 3)
The pattern: two short sentences, 10-14 words in total. The first says what's in
the drink in plain words; the second names a moment it's good for. No prices, no
exclamation marks.

------------------------------------------------------------------------
EXAMPLE 1 (Spiced apple cider): Hot apple cider with cinnamon and clove. Tastes like the first cold week.
EXAMPLE 2 (Hot chocolate): Real chocolate melted into steamed milk. For the walk home after dark.
EXAMPLE 3 (Pot of tea): Black, green or herbal, brewed in a pot. Stay as long as it lasts.
------------------------------------------------------------------------

========================================================================

SECTION B. ANTI-EXAMPLES (Section 9.7, Step 4)

------------------------------------------------------------------------
AVOID 1 (Mocha): "Indulge in our world-famous mocha, the best coffee in town!!! Treat yourself today!"
What's wrong: A claim we can't back up, a phrase the owners have banned, and four exclamation marks.

AVOID 2 (Latte): "An artisanal, handcrafted, small-batch, expertly pulled latte that is a true symphony of flavor and comfort."
What's wrong: A pile of adjectives, nothing about what's in the drink, and far too long for a board.
------------------------------------------------------------------------

========================================================================

SECTION C. PROMPTS AND TEMPLATES IN CHAPTER 9

P09-01  Two phone plans, one paragraph
Where: Section 9.1, Exercise E09-01
------------------------------------------------------------------------
I'm choosing between two phone plans. Plan A is $35 a month for 10 GB, plus $10 for
each extra 5 GB block. Plan B is $45 a month with unlimited data. I use about 12 GB a
month, but some months closer to 16. Explain which plan costs less at 12 GB and at
16 GB, in one short paragraph with the arithmetic. Use only these facts.
------------------------------------------------------------------------

P09-02  Run it: a table with named columns
Where: Section 9.2
------------------------------------------------------------------------
Compare three ways to get from a city center to its airport: taxi, train and
airport shuttle bus. Give me a table with exactly these columns, in this order:
Option | Typical door-to-door time | Typical cost | Main risk. One row per option.
I haven't told you which city, so write [CHECK] in any cell that depends on it, and
add one line under the table listing what I should look up.
------------------------------------------------------------------------

P09-03  Run it: a chart, or a table if not
Where: Section 9.3
------------------------------------------------------------------------
Show these six monthly electricity bills as a simple line chart: January $82,
February $79, March $64, April $51, May $47, June $58. Under the chart, give the
same numbers as a two-column table (month, amount) and one sentence on the trend.
If you can't show a chart here, give me the table and the sentence.
------------------------------------------------------------------------

P09-04  Vague to-dos, zero-shot
Where: Section 9.4, Exercise E09-02
------------------------------------------------------------------------
Rewrite each of these vague to-do items as one specific next action I could do
today or this week: dentist, garden, photos, insurance, gym. One line each.
------------------------------------------------------------------------

P09-05  Run it: one answer, three lengths
Where: Section 9.6
------------------------------------------------------------------------
Explain what photographers mean by "golden hour" in three versions:
1. One sentence of no more than 15 words, for a caption.
2. Three bullets of no more than 10 words each, for skimming.
3. About 120 words of full sentences, for a beginner reading carefully.
After each version, give its word count.
------------------------------------------------------------------------

P09-06  Check the file first
Where: Walkthrough Step 1 (attach product-catalog.csv)
------------------------------------------------------------------------
The attached file is a coffee shop's menu as a product catalog, one row per item
and size. Before we use it, tell me: how many rows it has, the column names, and
how many rows are in each category. Answer in four lines. Don't describe the drinks
yet.
------------------------------------------------------------------------

P09-07  Board lines, zero-shot
Where: Walkthrough Step 2
------------------------------------------------------------------------
Write a short description for the menu board under each of the six drinks in the
Espresso & coffee category. One description per drink, not per size.
------------------------------------------------------------------------

P09-08  Board lines, few-shot
Where: Walkthrough Step 3
------------------------------------------------------------------------
Rewrite the six descriptions using the pattern in these three examples. The
pattern: two short sentences, 10–14 words in total. The first says what's in the
drink in plain words; the second names a moment it's good for. No prices, no
exclamation marks. Copy the pattern, not the wording. Use only the ingredients in
the catalog's notes column.

EXAMPLE 1 (Spiced apple cider): Hot apple cider with cinnamon and clove. Tastes
like the first cold week.
EXAMPLE 2 (Hot chocolate): Real chocolate melted into steamed milk. For the walk
home after dark.
EXAMPLE 3 (Pot of tea): Black, green or herbal, brewed in a pot. Stay as long as it
lasts.

NOW DO THESE: the six drinks in the Espresso & coffee category.
------------------------------------------------------------------------

P09-09  What to avoid, and why
Where: Walkthrough Step 4
------------------------------------------------------------------------
Check your six lines against these two anti-examples, and rewrite any line that
shares their problems. Don't reuse any of their wording.

AVOID 1: "Indulge in our world-famous mocha, the best coffee in town!!! Treat
yourself today!" It makes a claim we can't back up, uses a phrase we've banned and
has four exclamation marks.
AVOID 2: "An artisanal, handcrafted, small-batch, expertly pulled latte that is a
true symphony of flavor and comfort." It piles up adjectives, never says what's in
the drink and is far too long for a board.
------------------------------------------------------------------------

P09-10  JSON for the mobile-order system
Where: Walkthrough Step 6
------------------------------------------------------------------------
Using only the attached catalog, list every row in the Espresso & coffee category
(one entry per size) as JSON in exactly this format. Keep these keys, in this
order. The catalog has no calorie information, so write "[CHECK]" for calories.
Return only the JSON, with nothing before or after it.

[
  {
    "id": "DRP-12",
    "name": "House drip coffee",
    "size_oz": 12,
    "price_usd": 2.75,
    "calories": "[CHECK]"
  }
]
------------------------------------------------------------------------

P09-11  Two lengths for one drink
Where: Walkthrough Step 7
------------------------------------------------------------------------
Write two descriptions of the Maple Cardamom Latte. Version 1 is for the menu board:
8 words or fewer. Version 2 is for our website: 30–40 words, one detail per
sentence, mentioning that oat milk costs nothing extra and that it's available until
January 31, 2027. Use only facts from the catalog. Give the word count after each.
------------------------------------------------------------------------

P09-12  The notice to restructure
Where: Section 9.12, Exercise E09-03
------------------------------------------------------------------------
Here is a notice from my building: "Water will be shut off on Wednesday, November 4,
from 9:00 a.m. to 1:00 p.m. for pipe repairs. Fill a jug of water the night before.
Don't use the washing machines during the shut-off. Water may look cloudy for a few
minutes afterward; run the cold tap until it's clear." Use only the facts in the
notice. Summarize it for my neighbors in one short paragraph.
------------------------------------------------------------------------

Templates (Section 9.8). Replace everything in [BRACKETS].

T09-01  Choose the format
------------------------------------------------------------------------
Give me [FORMAT] that I can [PASTE INTO MY EMAIL TOOL / PRINT / READ ON MY PHONE /
PUT ON A SLIDE]. Parts, in order: [PART 1], [PART 2], [PART 3]. Length: [RANGE OR
COUNT]. [Plain text only, no charts or tables. / A chart is fine.]
------------------------------------------------------------------------

T09-02  Fill this skeleton
------------------------------------------------------------------------
Fill in the structure below using only [SOURCE]. Keep every [COLUMN / KEY /
HEADING] exactly as written and in this order, with one [ROW / ENTRY] per [ITEM].
If a value isn't in the source, write [CHECK]. Return only the [TABLE / JSON /
OUTLINE], with nothing before or after it.

[PASTE THE SKELETON]
------------------------------------------------------------------------

T09-03  Few-shot pattern
------------------------------------------------------------------------
I need [WHAT] for each item below. Follow the pattern of the examples: [NAME THE
PATTERN]. Copy the pattern, not the wording.

EXAMPLE 1: [INPUT] → [OUTPUT]
EXAMPLE 2: [INPUT] → [OUTPUT]
EXAMPLE 3: [INPUT] → [OUTPUT]

NOW DO THESE:
[ITEMS]
------------------------------------------------------------------------

T09-04  Example and anti-example
------------------------------------------------------------------------
Write [WHAT]. Here is one that works: "[EXAMPLE]". Take its [TONE / LENGTH /
STRUCTURE]. Here is one that doesn't: "[ANTI-EXAMPLE]". Avoid it, because [WHAT'S
WRONG WITH IT]. Don't reuse wording from either.
------------------------------------------------------------------------

T09-05  Set the length and density
------------------------------------------------------------------------
[TASK]. Length: [WORD RANGE OR COUNT]. Density: [ONE IDEA PER LINE, FOR SKIMMING /
FULL SENTENCES, FOR CAREFUL READING / EXPERT SHORTHAND IS FINE]. If you need to cut,
keep [WHAT MATTERS MOST] and drop [WHAT CAN GO]. After the answer, give the word
count.
------------------------------------------------------------------------

End of file.
