Industrial LinguisticsWorkshop home
← Back to slide 7

Exercise

One workbook, built two ways

Turn a fictional Word file and PDF into one Excel workbook twice: once step by step, once from a goal.

Files

Steps

  1. Open both files. Count the contracts in each and note which pages carry handwritten notes.
  2. Route 1: in a fresh chat, run the five step prompts in order. Save the workbook, the time and every repair.
  3. Route 2: in another fresh chat, attach both originals and run the goal prompt once. Save the workbook and the chatbot’s check report.
  4. Choose four contracts: one with a note and one without from each file. Check those rows in both workbooks against the pages.

Use the same chatbot and mode for both routes. Some pages carry handwritten notes about damage claims, keyed to contract IDs; other pages have printed rows only. If your chatbot cannot read the handwriting or cannot return an Excel file, that is a result: record what it gave you instead. Every branch, contract and amount is fictional.

Check your result

  • Each workbook has the rows you counted for each branch, and the three filters work together.
  • For your four contracts, the claim status matches the handwriting and you recalculated the net result yourself.
  • For each route you recorded the time, the extra prompts and the repairs, and whether the chatbot’s check report matched what you found.

Prompts

Route 1 · Give it the steps

Start a fresh chat and send the five prompts one at a time. If you need a new chat part-way, attach the source and the latest list again and record the extra work.

1 · Attach the Word file

Read the attached Word file of Metro branch hire contracts, including the handwritten notes on its pages. List one row per contract ID with these columns: Contract ID, Return date, Branch (Metro), Claim status, Hire revenue (AUD), Running cost (AUD), Repair cost (AUD) and Source (file name and page). Claim status is Claim opened or Claim settled only where a handwritten note says so for that contract ID, and No claim otherwise. Tell me about any note you cannot read or cannot match to a contract, and do not guess.

2 · Same chat

Add Net result (AUD) and Result status to the Metro list. Net result is hire revenue minus running cost minus repair cost. Result status is Profit above zero, Loss below zero and Break-even at zero. Keep every row and column, keep the amounts as numbers and give me the list as an Excel workbook to download.

3 · Attach the PDF

Read the attached PDF of Regional branch hire contracts, including the handwritten notes on its pages. List one row per contract ID with these columns: Contract ID, Return date, Branch (Regional), Claim status, Hire revenue (AUD), Running cost (AUD), Repair cost (AUD) and Source (file name and page). Claim status is Claim opened or Claim settled only where a handwritten note says so for that contract ID, and No claim otherwise. Tell me about any note you cannot read or cannot match to a contract, and do not guess.

4 · Same chat

Add Net result (AUD) and Result status to the Regional list. Net result is hire revenue minus running cost minus repair cost. Result status is Profit above zero, Loss below zero and Break-even at zero. Keep every row and column, keep the amounts as numbers and give me the list as an Excel workbook to download.

5 · Same chat

Put the Metro list and the Regional list into one table in an Excel workbook called contracts-steps.xlsx. Keep one row per contract ID and the same columns. Make every return date a real date in one format and keep the amounts as numbers. Turn on filters so I can filter by Branch, Claim status and Result status. Tell me if any contract ID appears more than once.

Route 2 · Give it the goal

Start another fresh chat, attach both original files and send this once. Save the workbook and what the chatbot says it checked.

One prompt, both files attached

I want one Excel workbook called contracts-goal.xlsx that lets me filter every hire contract in the attached Word file and PDF by Branch, Claim status and Result status. Use one table with filters and one row per contract ID. The columns are Contract ID, Return date, Branch (Metro for the Word file, Regional for the PDF), Claim status, Hire revenue (AUD), Running cost (AUD), Repair cost (AUD), Net result (AUD), Result status and Source (file name and page).

Claim status is Claim opened or Claim settled only where a handwritten note on a page says so for that contract ID, and No claim otherwise. Tell me about any note you cannot read or cannot match to a contract, and do not guess. Net result is hire revenue minus running cost minus repair cost. Result status is Profit above zero, Loss below zero and Break-even at zero. Make every return date a real date in one format and keep the amounts as numbers. Tell me if any contract ID appears more than once.

Choose your own way of doing this. Before you hand over the workbook, check the number of rows against each original, and check one contract with a handwritten note and one without from each file against its page: branch, claim status and net result. Fix what you find. Then tell me which contract IDs and pages you checked, what you changed and anything you could not resolve.