Lab: Booking records, help answers and thread summaries
Module 8 · Lab · About 60 minutes · Needs: lessons 1 to 3 of this module, and the Module 7 lab (or its cells, pasted here). CPU only; no key needed
What you are building
It is Thursday 29 October 2026, project week 8. Three people asked for three things this week, and each lesson built one in a notebook. Dev wants every repair booking as a checked record. Ines wants the exact words from the help centre that answer a customer's question, or nothing when the help centre has no answer. Rosa wants every long thread in 60 words she can trust.
This lab settles the three lessons' files once, as inbox/extract.py, inbox/qa.py and inbox/summarise.py with their tests, then gives each piece its own score on the shared data: field by field for Dev, exact match and F1 for Ines, ROUGE and two faithfulness checks for Rosa. It ends with one report in reports/.
Open a new Colab notebook, call it module-08-lab.ipynb, and run each cell in order.