Organizing & Processing Information with AI · scripted
Organizing & Processing Information with AI
Organizing and processing information
One of the most powerful things we can do with a large language model (LLM) is organize and process information. This is especially true for the kind of information that was very difficult for computers to work with before LLMs existed: notes, plans, messages, and lists that people wrote for other people. Working with that kind of information requires reasoning. A computer had no way to know which line of your notes was a date, which was a name, and which one mattered. AI can read the notes the way a person would and do the work we ask.
In this lesson we are going to learn three types of instructions for organizing and processing information. They are useful in almost every part of life, from studying, to organizing daily life, to a job.
- Extract: pull specific pieces of information out of something larger.
- Transform: change information from one form into another.
- Organize: arrange information in an order or in groups.
We will go through each one with examples, and then we will put them together.
Extract
To extract means to pull specific pieces of information out of something larger and leave the rest behind. We give AI the information and tell it what to pull out.
The first example is a recipe from a website. Recipe pages bury the recipe under a story. We want only the part we can cook from.
Extract only the ingredients and the steps from this. Leave out everything else.
“Every fall when the first cold snap hits, I think of my aunt’s kitchen and this soup. She never measured anything, and it took me years of tinkering to get it right. You start by warming 2 tablespoons of olive oil in a big pot over medium heat, and while that heats you dice one yellow onion and two carrots. Add them to the pot with a good pinch of salt and let them soften for about 8 minutes, stirring now and then. My aunt always said the onions should be ‘quiet,’ not browned. Then stir in 3 cloves of minced garlic and 1 tablespoon of curry powder and cook for one minute until it smells amazing. Pour in 4 cups of vegetable broth and one 15-ounce can of coconut milk, add 2 cups of red lentils that you have rinsed, and bring it to a boil. Turn it down to a simmer, cover, and cook for 20 minutes until the lentils have gone soft. Finish with the juice of one lime and a handful of chopped cilantro. It makes about 6 bowls, and it is better the next day, which is the only reason I can stand to make a double batch.”
Ingredients
- 2 tablespoons olive oil
- 1 yellow onion, diced
- 2 carrots, diced
- Salt
- 3 cloves garlic, minced
- 1 tablespoon curry powder
- 4 cups vegetable broth
- 1 can (15 oz) coconut milk
- 2 cups red lentils, rinsed
- Juice of 1 lime
- A handful of cilantro, chopped
Steps
- Warm the olive oil in a large pot over medium heat.
- Add the onion, carrots, and a pinch of salt. Cook about 8 minutes, stirring occasionally, until soft but not browned.
- Stir in the garlic and curry powder. Cook 1 minute.
- Add the broth, coconut milk, and lentils. Bring to a boil.
- Reduce to a simmer, cover, and cook 20 minutes, until the lentils are soft.
- Stir in the lime juice and cilantro.
Makes about 6 servings.
Look at what AI did. The text is one long paragraph with the recipe woven through the story. AI read every sentence, decided which pieces were ingredients and which were steps, and pulled out only those. It needed some reasoning to do it: “a good pinch of salt” became an ingredient, the aunt’s advice about “quiet” onions became “not browned,” and the sentence about the double batch was left behind. It did not add an ingredient the text does not mention. That is what extract does: the output is a piece of the input, chosen by our instruction.
The second example is an apartment lease. A lease is pages of clauses, and what most people need from it is a short list of when money is due and how much.
Here is the summary my landlord emailed. Extract every date and every dollar amount, with what each one is for.
“Thanks for signing. Your lease runs from August 1, 2026 through July 31, 2027. Rent is $1,450 per month, due on the 1st, with a $75 late fee if it is not received by the 5th. Your security deposit of $1,450 was received on July 20 and is refundable within 30 days of move-out, less any damages. Pet rent is $35 per month for the cat. Utilities are your responsibility except water and trash, which are included. The parking space is $50 per month if you want it; let me know by August 15. If you plan to renew, I need written notice by May 31, 2027; otherwise the lease converts to month-to-month at $1,550. Move-in inspection is scheduled for July 30 at 10 a.m.”
Dates
- July 20, 2026 — security deposit received
- July 30, 2026, 10 a.m. — move-in inspection
- August 1, 2026 — lease begins
- August 15, 2026 — deadline to decide on the parking space
- The 1st of each month — rent due
- The 5th of each month — last day before the late fee applies
- May 31, 2027 — deadline for written notice to renew
- July 31, 2027 — lease ends
- Within 30 days of move-out — deposit refunded, less damages
Amounts
- $1,450 — monthly rent
- $1,450 — security deposit (refundable)
- $75 — late fee after the 5th
- $35 per month — pet rent
- $50 per month — parking, optional
- $1,550 — monthly rent if the lease goes month-to-month
The email is one paragraph. AI pulled out nine dates and six amounts and labeled every one, including the recurring ones (“the 1st of each month”) and the relative one (“within 30 days of move-out”). Everything in the lists is in the email; nothing is invented. A person could now put the dates on a calendar and the amounts in a budget without reading the paragraph again.
The third example is a phone call. A mechanic explains what is wrong with the car, fast, and we are trying to write it down.
Here is what the mechanic said on the phone, from my notes. Extract each thing he says needs to be done and what it costs.
“ok so the noise is your front brakes, pads are down to metal, rotors are scored so those need to go too, that’s 380 parts and labor. while it was up we saw the serpentine belt is cracked, not urgent but I’d do it in the next month or so, 140. your battery tested weak, 12.1 volts, it’ll probably leave you stranded this winter, 210 installed. oil change is due, we can do that today for 65 if you want. the tires are fine, you’ve got maybe 15,000 miles left on them. the check engine light was a loose gas cap, no charge, I tightened it.”
| Work | Urgency | Cost |
|---|---|---|
| Replace front brake pads and rotors | Now (pads are down to metal) | $380 |
| Replace serpentine belt | Within about a month | $140 |
| Replace battery | Before winter (tested weak, 12.1 V) | $210 |
| Oil change | Due now | $65 |
| Gas cap (check engine light) | Done, tightened | No charge |
Not needed: tires, about 15,000 miles left.
This time the instruction asked for two pieces per item, the work and the cost, and AI added the urgency because the mechanic said it for each one. It also separated what needs doing from what does not (the tires) and what was already done (the gas cap). When we write an extract instruction, we name the kind of pieces we want, and AI does the reading.
Transform
To transform means to change information from one form into another form without changing what it means. The pieces stay the same; the shape changes. We transform information so that it is consistent and usable: the same units, the same date format, the same kind of name.
The first example is a recipe again, but the problem is different. The recipe is in metric and the kitchen is not.
Convert this recipe to cups, tablespoons, and Fahrenheit. Round to amounts I can actually measure.
Banana bread
- 250 g all-purpose flour
- 200 g sugar
- 115 g butter, melted
- 3 ripe bananas (about 350 g)
- 2 eggs
- 5 g baking soda
- 3 g salt
- 5 ml vanilla Bake at 175°C for 60 minutes in a 23 × 13 cm loaf pan.
Banana bread
- 2 cups all-purpose flour
- 1 cup sugar
- ½ cup (1 stick) butter, melted
- 3 ripe bananas (about 1½ cups mashed)
- 2 eggs
- 1 teaspoon baking soda
- ½ teaspoon salt
- 1 teaspoon vanilla Bake at 350°F for 60 minutes in a 9 × 5 inch loaf pan.
Every ingredient is still there, in the same order, with the same meaning. Only the units changed. AI knew that 115 g of butter is one stick, that 175°C rounds to the 350°F every American oven has a mark for, and that a 23 × 13 cm pan is the standard 9 × 5 loaf pan. Nothing was added and nothing was dropped. That is transform: the information in a form we can use.
The second example is a bank statement. The names on it are whatever the card machine sent.
Turn each of these into the plain name of the business and what kind of business it is.
SQ BLUE FIN SUSHI SHELL OIL 57442913 AMZN MKTP US2K4T9 KROGER #0421 TST* HATTIE BS NASHVILL SPOTIFY USA PP*DOORDASH UBER *TRIP HELP.UBER.COM
| On the statement | Plain name | Kind of business |
|---|---|---|
| SQ *BLUE FIN SUSHI | Blue Fin Sushi | Restaurant (paid through Square) |
| SHELL OIL 57442913 | Shell | Gas station |
| AMZN MKTP US*2K4T9 | Amazon | Online shopping |
| KROGER #0421 | Kroger | Grocery store |
| TST* HATTIE BS NASHVILL | Hattie B’s Hot Chicken, Nashville | Restaurant (paid through Toast) |
| SPOTIFY USA | Spotify | Music subscription |
| PP*DOORDASH | DoorDash | Food delivery (paid through PayPal) |
| UBER *TRIP HELP.UBER.COM | Uber | Ride |
AI transformed eight strings that only a computer could love into names a person recognizes. It knew that “SQ ” and “TST” are payment processors, not businesses, and that the numbers after Shell and Kroger are store numbers. This is the transform everyone does by hand when they read a statement and think “what was that?”
The third example is contact information scattered through a message thread. We want it in one table.
Pull the contact info out of these messages and put it in a table: Name, Role, Phone, Email. Format every phone number the same way.
“hey it’s Marcus from the band, my number is 615.555.0142 and email is marcus.t@example.com” “This is Dana Okafor, sound engineer for the show. Reach me at (615) 555-0177 or dana@soundhouse.example” “Priya here — I’m doing the posters. priya.designs@example.com, text me at 6155550199” “Luis, venue manager at The Basement. 615-555-0111, luis@thebasement.example. Load-in is 5pm.”
| Name | Role | Phone | |
|---|---|---|---|
| Marcus T. | Band | (615) 555-0142 | marcus.t@example.com |
| Dana Okafor | Sound engineer | (615) 555-0177 | dana@soundhouse.example |
| Priya | Posters | (615) 555-0199 | priya.designs@example.com |
| Luis | Venue manager, The Basement | (615) 555-0111 | luis@thebasement.example |
Four messages written four ways became four rows in the same four columns. Phone numbers written with dots, parentheses, dashes, and nothing at all are now one format. Notice that this one instruction did an extract and a transform together: AI pulled the four pieces out of each message and put them into one shape. That is common. The instructions are separate ideas, and we often use them together.
Organize
To organize means to arrange information in an order or in groups. Extract chooses the pieces and transform gives them a common shape. Organize decides where each piece goes, so that the arrangement answers a question.
The first example is a pile of receipts from a weekend trip. In time order, they become a record of the trip.
Here are the receipts from my weekend in Chattanooga, typed out. Organize them into a timeline: where I went, where I ate, and where I stayed, in order, grouped by day.
SHELL 4218 09/12/26 08:17 UNLEADED 25.99 TN AQUARIUM 09/12/2026 11:05 2 ADULT ADMISSION 79.90 BLUE PLATE Sept 12 2026 12:58pm LUNCH 31.40 TIP 6.00 CLUMPIES ICE CREAM 9-12-26 3:41 PM 2 SCOOPS 6.50 THE READ HOUSE 09/12-09/13 1 NIGHT 189.00 PARKING 25.00 MILK & HONEY 13 Sep 26 9:12 BREAKFAST 24.75 ROCK CITY 09/13/26 11:30 2 TICKETS 64.90 CHOO CHOO GIFT SHOP 9/13/26 1:15 PM MAGNET, T-SHIRT 27.30 SHELL 4218 09/13/26 15:52 UNLEADED 27.40
Saturday, September 12
- 8:17 a.m. — Filled up at Shell on the way in
- 11:05 a.m. — Tennessee Aquarium
- 12:58 p.m. — Lunch at Blue Plate
- 3:41 p.m. — Ice cream at Clumpies
- Night — Stayed at The Read House
Sunday, September 13
- 9:12 a.m. — Breakfast at Milk & Honey
- 11:30 a.m. — Rock City
- 1:15 p.m. — Gift shop at the Chattanooga Choo Choo
- 3:52 p.m. — Filled up at Shell on the way home
That is the whole weekend, reconstructed from a pocketful of receipts, in the order it happened. AI read nine dates written five different ways, put them in order, and grouped them by day. If someone asks “what did you do in Chattanooga?”, this answers it, and the receipts never could.
The second example is a to-do list, the kind that piles up in a notes app with dates written any which way.
Organize this list into three groups: due this week (today is Monday, Oct 5), due later, and no date. Put each group in date order.
- renew car registration, expires 10/31
- return library books friday
- dentist 10/14 at 3
- finish scholarship essay, due oct 9
- buy a gift for Sam’s birthday (the 17th)
- get the oil changed
- pay phone bill by the 7th
- sign up for the 5K, registration closes 10/20
- clean out the garage
- send thank-you note to coach
Due this week (Oct 5–11)
- Wed, Oct 7 — Pay phone bill
- Fri, Oct 9 — Finish scholarship essay
- Fri, Oct 9 — Return library books
Due later
- Wed, Oct 14, 3:00 — Dentist
- Sat, Oct 17 — Buy a gift for Sam’s birthday
- Tue, Oct 20 — Sign up for the 5K (registration closes)
- Sat, Oct 31 — Renew car registration (expires)
No date
- Get the oil changed
- Clean out the garage
- Send thank-you note to coach
Ten items in no order became three groups in date order. AI worked out that “friday” means October 9 from the date we gave it, and that “the 17th” means October 17. Nothing was added; the three undated items stayed undated instead of being given made-up deadlines. This is the list to look at on Monday morning.
The third example is a list that needs grouping by something AI has to know.
Organize these movies by decade, oldest decade first, and within each decade by year.
The Matrix, Jaws, Get Out, Back to the Future, Parasite, Pulp Fiction, The Godfather, Jurassic Park, Inception, Star Wars, Toy Story, Spirited Away, The Dark Knight, Alien, Everything Everywhere All at Once, The Breakfast Club, Finding Nemo, Mad Max: Fury Road
1970s
- The Godfather (1972)
- Jaws (1975)
- Star Wars (1977)
- Alien (1979)
1980s
- The Breakfast Club (1985)
- Back to the Future (1985)
1990s
- Jurassic Park (1993)
- Pulp Fiction (1994)
- Toy Story (1995)
- The Matrix (1999)
2000s
- Spirited Away (2001)
- Finding Nemo (2003)
- The Dark Knight (2008)
2010s
- Inception (2010)
- Mad Max: Fury Road (2015)
- Get Out (2017)
- Parasite (2019)
2020s
- Everything Everywhere All at Once (2022)
The list had no years in it. AI supplied them from what it knows, then organized by the rule we gave. When AI adds information like that, it is worth checking, but the organizing itself is exactly what we asked for. The same organization we choose decides what we see: the to-do list by date shows what is urgent; the same list grouped by where the errands are would show a route.
Putting it all together: an outline
Think about the table of contents in a book. It is a list of headings, and each heading describes what is in one part of the book. Each heading was extracted from its part: it names the content and ideas found there. All the headings were transformed into a common format: short, the same style, the same length. And they were organized into an outline: chapters in order, sections under chapters. A table of contents is all three instructions applied to a book.
We can do the same thing to notes. Here are notes typed during the first day of a job at a coffee shop, straight from whatever the manager said, in the order she said it.
Here are my notes from my first day at my new job. Turn them into an outline with headings so I can find things later.
orientation notes, Bean There Cafe. shifts posted sunday nights in the app, swap needs manager ok 24 hrs ahead. clock in on the tablet by the register, 5 min grace. black shirt, apron provided, closed toe shoes, no long nails (health code). park in the back lot not the customer spots. tips split by hours worked, paid out fridays. drink recipes are in the red binder, espresso machine gets backflushed at close. maria is opening manager, deshawn closes. if sick text maria before 5 am for an open shift. first two weeks are training pay then regular. free drink per shift, half off food. never leave register unlocked. trash out at 9 pm close, dumpster code 4471.
- Schedule and shifts
- Shifts are posted Sunday nights in the app
- Swaps need manager approval 24 hours ahead
- If sick for an opening shift, text Maria before 5 a.m.
- Clocking in and pay
- Clock in on the tablet by the register; 5-minute grace period
- First two weeks at training pay, then regular pay
- Tips are split by hours worked and paid out Fridays
- Dress code
- Black shirt; apron provided
- Closed-toe shoes; no long nails (health code)
- Managers
- Maria opens; Deshawn closes
- Daily procedures
- Drink recipes are in the red binder
- Backflush the espresso machine at close
- Never leave the register unlocked
- Trash out at the 9 p.m. close; dumpster code 4471
- Perks
- One free drink per shift; half off food
- Parking
- Back lot, not the customer spots
Look at the outline and find the three instructions in it. AI extracted every fact from the notes: fifteen facts written in shorthand became fifteen bullets, and nothing was dropped. It transformed each fact into a common format: a short phrase, capitalized the same way, with the abbreviations spelled out (“sunday nights” became “Sunday nights,” “5 min grace” became “5-minute grace period”). And it organized the bullets into groups, wrote a heading that describes each group, and put the groups in a sensible order, with the schedule first and parking last. The notes and the outline contain the same information. The outline is the one we can use at 5:45 on a Monday morning.
A bullet can be broken down further
Any bullet in an outline can be treated as a piece of information in its own right and broken into smaller bullets. Here is the same job outline, and then a request to expand one bullet. Compare the two replies.
Here are my notes from my first day at my new job. Turn them into an outline with headings so I can find things later.
orientation notes, Bean There Cafe. shifts posted sunday nights in the app, swap needs manager ok 24 hrs ahead. clock in on the tablet by the register, 5 min grace. black shirt, apron provided, closed toe shoes, no long nails (health code). park in the back lot not the customer spots. tips split by hours worked, paid out fridays. drink recipes are in the red binder, espresso machine gets backflushed at close. maria is opening manager, deshawn closes. if sick text maria before 5 am for an open shift. first two weeks are training pay then regular. free drink per shift, half off food. never leave register unlocked. trash out at 9 pm close, dumpster code 4471.
- Schedule and shifts
- Shifts are posted Sunday nights in the app
- Swaps need manager approval 24 hours ahead
- If sick for an opening shift, text Maria before 5 a.m.
- Clocking in and pay
- Clock in on the tablet by the register; 5-minute grace period
- First two weeks at training pay, then regular pay
- Tips are split by hours worked and paid out Fridays
- Dress code
- Black shirt; apron provided
- Closed-toe shoes; no long nails (health code)
- Managers
- Maria opens; Deshawn closes
- Daily procedures
- Drink recipes are in the red binder
- Backflush the espresso machine at close
- Never leave the register unlocked
- Trash out at the 9 p.m. close; dumpster code 4471
- Perks
- One free drink per shift; half off food
- Parking
- Back lot, not the customer spots
Expand the bullet “Backflush the espresso machine at close” into the steps. Show me the whole outline again with that bullet expanded.
- Schedule and shifts
- Shifts are posted Sunday nights in the app
- Swaps need manager approval 24 hours ahead
- If sick for an opening shift, text Maria before 5 a.m.
- Clocking in and pay
- Clock in on the tablet by the register; 5-minute grace period
- First two weeks at training pay, then regular pay
- Tips are split by hours worked and paid out Fridays
- Dress code
- Black shirt; apron provided
- Closed-toe shoes; no long nails (health code)
- Managers
- Maria opens; Deshawn closes
- Daily procedures
- Drink recipes are in the red binder
- Backflush the espresso machine at close
- Remove the portafilter and knock out the used grounds
- Fit the blind (solid) basket into the portafilter
- Add a small scoop of espresso machine cleaner
- Lock the portafilter in and run the group for about 10 seconds; repeat several times
- Remove the cleaner, rinse the basket, and repeat the flushes with water only
- Wipe the group head gasket and the steam wand
- Never leave the register unlocked
- Trash out at the 9 p.m. close; dumpster code 4471
- Perks
- One free drink per shift; half off food
- Parking
- Back lot, not the customer spots
Your notes do not describe how to backflush. These steps are the usual procedure for an espresso machine. Check them against the red binder or ask Deshawn, since the cafe may do it differently.
The outline is the same except for one bullet, which now has six steps under it. The steps did not come from the notes. The notes only said that backflushing happens at close. When we ask AI to break a bullet down, the new information has to come from somewhere, and there are three possibilities.
- From something we provided. If the red binder had been pasted into the conversation, the steps would come from it. This is extract again, and it is as reliable as our source.
- From what AI already knows. AI has read a great deal about espresso machines, so it filled in the usual procedure and told us that is what it did. This is often right and always worth checking.
- From invention. If nothing in the conversation or in training covers a bullet, AI will still produce sub-bullets by making them up.
Each of the three can be useful. When we want the facts, we want the first and we should supply the source. When we want a reasonable starting point, the second is fine, and we check it. When we want ideas, such as six possible names for a new drink, invention is exactly the job. The skill is knowing which one we are getting, and asking for the one the job needs.
Applying extract, transform, and organize to achieve different goals
The three instructions are not only for notes. Any time information arrives in a form that is hard to use, we can extract the pieces that matter, transform them into a common form, and organize them for the question we have. Here are five situations where that turns something useless into something useful.
The first is a credit card statement. It is a list of cryptic merchant names and amounts, in date order, which answers no question anyone actually has.
Here are my charges from last month. Organize them into a spending analysis: a table of totals by category with the biggest category first, then a list of anything that looks like a monthly subscription, then anything else you notice.
09/02 SPOTIFY 11.99 09/03 SHELL OIL 4218 38.40 09/04 CHIPOTLE 1142 12.85 09/05 AMAZON MKTPL 23.17 09/07 KROGER 46.22 09/09 CHICK-FIL-A 9.64 09/10 NETFLIX 15.49 09/11 SHELL OIL 4218 41.10 09/12 TARGET 31.88 09/14 STARBUCKS 6.75 09/15 T-MOBILE 45.00 09/16 CHIPOTLE 1142 13.40 09/18 STARBUCKS 7.20 09/19 KROGER 28.91 09/20 REGAL CINEMAS 14.50 09/22 SHELL OIL 4218 36.75 09/23 STEAM PURCHASE 19.99 09/25 STARBUCKS 6.75 09/27 CHICK-FIL-A 10.12 09/29 AMAZON MKTPL 15.62
Totals by category
| Category | Charges | Total |
|---|---|---|
| Gas | 3 | $116.25 |
| Groceries | 2 | $75.13 |
| Phone and subscriptions | 3 | $72.48 |
| Shopping | 3 | $70.67 |
| Eating out | 7 | $66.71 |
| Entertainment | 2 | $34.49 |
| Total | 20 | $435.73 |
Monthly subscriptions
- Spotify — $11.99
- Netflix — $15.49
- T-Mobile — $45.00
Together these are $72.48 every month before you buy anything.
Other things I notice
- Eating out was the most frequent category: 7 charges, about one every four days. Starbucks alone was three visits for $20.70.
- Gas was the largest category at $116.25, from three fill-ups about ten days apart.
- Groceries ($75.13) cost more than eating out ($66.71), but only slightly, for far more food.
Find the three instructions. AI extracted the merchant and the amount from each line. It transformed each merchant name into a category: “SHELL OIL 4218” became gas, “KROGER” became groceries, “STEAM PURCHASE” became entertainment. It knew what those merchants sell. Then it organized the charges by category, added them up, and put the biggest category first. The list of subscriptions is a second extract on the same charges, using a different rule. Twenty lines that meant nothing became a page that says where the money went.
The second situation is cooking. Three recipes have three ingredient lists, in mixed units, with the same ingredients repeated. What we need at the store is one list.
Here are the three dinners I am cooking this week. Make me a shopping list. Combine any ingredient that appears in more than one recipe into one line with one total, and organize the list by grocery aisle.
Monday, chicken stir-fry: 16 oz chicken breast, 2 cups broccoli florets, 1 red bell pepper, 3 cloves garlic, 2 tbsp soy sauce, 1 tbsp vegetable oil, 1 cup rice
Wednesday, chicken tacos: 1 lb chicken thighs, 8 corn tortillas, 1/2 cup diced onion, 2 cloves garlic, 1 lime, 1 cup shredded cheddar, 1/2 cup salsa
Friday, spaghetti with meat sauce: 1 lb ground beef, 1 onion, 4 cloves garlic, 1 jar (24 oz) marinara sauce, 1 lb spaghetti, 1/2 cup grated parmesan, 1 tbsp olive oil
Produce
- Broccoli florets — 2 cups (about 1 small head)
- Red bell pepper — 1
- Onions — 2 (1 whole for the spaghetti, 1/2 cup diced for the tacos)
- Garlic — 9 cloves (1 head)
- Lime — 1
Meat
- Chicken breast — 1 lb (16 oz)
- Chicken thighs — 1 lb
- Ground beef — 1 lb
Dairy
- Shredded cheddar — 1 cup (an 8 oz bag)
- Grated parmesan — 1/2 cup
Bread and tortillas
- Corn tortillas — 8 (one package)
Pasta, rice, and sauces
- Rice — 1 cup
- Spaghetti — 1 lb
- Marinara sauce — one 24 oz jar
- Salsa — 1/2 cup (one small jar)
Oils and condiments (check the pantry first)
- Soy sauce — 2 tbsp
- Vegetable oil — 1 tbsp
- Olive oil — 1 tbsp
AI extracted every ingredient from the three recipes. It transformed the amounts into common units so they could be combined: “16 oz chicken breast” became 1 lb, and three separate amounts of garlic became 9 cloves, which it also translated into something you can buy, one head. It kept the two kinds of chicken separate, because they are different things at the store. Then it organized the list by aisle, so the trip through the store goes in order. The last group has a note, because oils and soy sauce are things most kitchens already have. Three recipes became one list you can hold in one hand.
The third situation is sports. A game is a stream of events. A stat sheet is those events extracted, transformed into common statistics, and organized by player.
Here is what I wrote down during the match. Turn it into a stat table by player: goals, assists, cards. Then organize the same events by half so I can see when the game turned.
“12:40 Reyes scores, pass from Kim. 31:05 Kim scores, unassisted. 44:10 Ortiz yellow card. 52:30 they score. 55:10 Reyes yellow card. 61:00 Ortiz scores, pass from Reyes. 78:20 they score. 88:45 Kim scores, pass from Ortiz.”
By player
| Player | Goals | Assists | Cards |
|---|---|---|---|
| Kim | 2 | 1 | 0 |
| Reyes | 1 | 1 | 1 yellow |
| Ortiz | 1 | 1 | 1 yellow |
By half
| Half | Us | Them | What happened |
|---|---|---|---|
| First (0–45) | 2 | 0 | Reyes 12:40, Kim 31:05; Ortiz booked 44:10 |
| Second (45–90) | 2 | 2 | They scored 52:30 and 78:20; Ortiz 61:00 and Kim 88:45 answered |
Final: 4–2. The game turned after Ortiz’s card at 44:10; they scored twice in the second half, and both of our second-half goals came as answers.
AI extracted the events: each goal, each assist, each card. It transformed each one into a statistic, so “Reyes scores, pass from Kim” became one goal for Reyes and one assist for Kim. Then it organized them twice. By player, the table lets us compare people. By half, the table lets us see when the game turned. The same eight events produced two tables, because we asked for two organizations. Every organization makes something visible and hides something else. Choosing the organization is where our thinking goes.
The fourth is a work trip. The receipts are the same kind of pile as the Chattanooga weekend, but now someone has to be paid back, and the person approving it wants a specific form.
I need to submit these for reimbursement. Turn them into an expense report: a table with Date, Vendor, Category (Travel, Lodging, Meals, Other), and Amount, sorted by date, with a total per category and a grand total. Flag anything that usually is not reimbursable.
UBER 10/03/26 6:40 AM airport 34.20 DELTA 10/03/26 BNA-ATL ECON 248.60 STARBUCKS ATL 10/03/26 9:05 8.15 MARRIOTT ATL DOWNTOWN 10/03-10/05 2 NIGHTS 398.00 MINIBAR 14.00 TOTAL 412.00 CHIPOTLE 10/03/26 12:30 13.45 UBER 10/03/26 7:10 PM 28.90 THE VARSITY 10/04/26 12:15 11.80 SOUTH CITY KITCHEN 10/04/26 7:45 PM dinner 62.00 tip 12.00 TOTAL 74.00 MARTA 10/05/26 2.50 DELTA 10/05/26 ATL-BNA ECON 248.60 CVS 10/05/26 ibuprofen, charger 31.25
| Date | Vendor | Category | Amount |
|---|---|---|---|
| 2026-10-03 | Uber | Travel | 34.20 |
| 2026-10-03 | Delta (BNA–ATL) | Travel | 248.60 |
| 2026-10-03 | Starbucks | Meals | 8.15 |
| 2026-10-03 | Chipotle | Meals | 13.45 |
| 2026-10-03 | Uber | Travel | 28.90 |
| 2026-10-03 | Marriott Atlanta Downtown, 2 nights | Lodging | 398.00 |
| 2026-10-03 | Marriott minibar | Other | 14.00 |
| 2026-10-04 | The Varsity | Meals | 11.80 |
| 2026-10-04 | South City Kitchen (incl. 12.00 tip) | Meals | 74.00 |
| 2026-10-05 | MARTA | Travel | 2.50 |
| 2026-10-05 | Delta (ATL–BNA) | Travel | 248.60 |
| 2026-10-05 | CVS | Other | 31.25 |
| Category | Total |
|---|---|
| Travel | 562.80 |
| Lodging | 398.00 |
| Meals | 107.40 |
| Other | 45.25 |
| Grand total | 1,113.45 |
Flagged. The 14.00 minibar charge is usually personal, so I listed it separately from the room. The CVS receipt mixes a personal item (ibuprofen) with one that may be reimbursable (a charger); ask whether to split it or leave it off. Everything else is typical business travel.
This is all three instructions in one prompt. AI extracted the date, vendor, and amount from each line, transformed every line into the same row shape and every date into one format, and organized the rows by date with totals by category. It also did the part a person doing this by hand would do: it split the minibar out of the hotel bill and flagged the drugstore receipt. The report is ready to submit, and every number in it can be checked against a receipt.
The fifth is an email thread. Twelve messages about one event, and the decisions are buried in the replies.
Here is the email thread about the fundraiser dinner. Extract every decision that was made and every task someone agreed to do. Organize it as two lists: Decisions, and Tasks with who owns each and the deadline if one was given.
From Dana (Mon): Proposing Nov 14 for the dinner. Thoughts on the community center vs. the church hall? From Luis (Mon): Nov 14 works. Community center has parking. I can call them about the deposit. From Dana (Tue): Community center it is. Luis, please confirm by Friday. Do we do a caterer or potluck? From Priya (Tue): Caterer. Potluck was a mess last year. I'll get two quotes by next Wednesday. From Marcus (Tue): I'll handle tickets. $25 each? Sell through the website? From Dana (Wed): $25 is fine. Marcus, yes, website, and set it up by the 1st so we have two weeks of sales. From Luis (Thu): Center confirmed for Nov 14, 5 to 10 pm, deposit paid, $200. From Priya (Thu): Also need a headcount by Nov 7 for whichever caterer we pick. From Dana (Fri): Great. Marcus, close ticket sales Nov 7 then. I'll write the email to last year's donors this weekend. From Marcus (Fri): Got it. Site will be live by the 1st, sales close Nov 7. From Luis (Sat): Do we need a sound system? The center doesn't have one. From Dana (Sun): Yes. Luis, can you find one we can borrow? No deadline yet, but before the 10th.
Decisions
- The dinner is on November 14, 5 to 10 p.m.
- Venue: the community center (deposit of $200 paid)
- Food: a caterer, not a potluck
- Tickets: $25 each, sold through the website
- Ticket sales open by November 1 and close November 7
- A sound system is needed; the center does not have one
Tasks
| Task | Owner | Deadline |
|---|---|---|
| Confirm the community center | Luis | Done (Thursday) |
| Get two caterer quotes | Priya | Next Wednesday |
| Set up ticket sales on the website | Marcus | November 1 |
| Close ticket sales | Marcus | November 7 |
| Give the caterer a headcount | Priya | November 7 |
| Email last year’s donors | Dana | This weekend |
| Find a sound system to borrow | Luis | Before November 10 |
Twelve emails became six decisions and seven tasks. AI extracted the decisions from replies like “Community center it is” and “$25 is fine,” where the decision is a sentence fragment, and it extracted tasks from offers like “I can call them,” where the task was only implied until Dana confirmed it. It transformed each one into the same shape: a task, an owner, a deadline. And it organized them into two lists, with the tasks in a table because a table is the form a to-do list wants. Anyone who missed the thread can read this in thirty seconds and know what they owe.
What you should be able to do
By the end of this lesson, you should be able to do three things with any information that arrives in a hard-to-use form.
- Write an extract instruction. Name the kind of pieces you want (ingredients, dates, amounts, repairs, contacts, decisions) and let AI pull them out of the whole.
- Write a transform instruction. Name the form you want every piece in (one unit system, a plain name, one phone format, a short bullet, a row in a table), and check what the transform lost.
- Write an organize instruction. Name the order or the groups you want, and try a second organization when the first one does not answer your question.
Often one instruction does all three at once, as when we ask for an outline, a spending analysis, or a shopping list. When you write that instruction, you are still deciding what to extract, what form to transform it into, and how to organize it. AI does the reading and the arranging. You decide what matters, what shape it should take, and whether what came back is true.