CourseRetrieval-Augmented Generation: The Complete Course · Module 13: Advanced and Emerging Topics · part 92 of 95
Part 92 · Module 13: Advanced and Emerging Topics

Lab: Corpus insights and the weekly log review

68 min read·13 Oct 2026
Module 13 · Lab · About 90 minutes · Needs: lessons 1 and 2 of this module, and the Module 11 lab (or the cells in Step 1)

What you are building

HOLLIN/INSIGHTS.PY: THREE INPUTS, FIVE OUTPUTS served corpus 40 docs, 9 Oct trial log 34 queries Module 11 set 52 cases insights.py one file decide audit report triage list training rows slice gate
One file (blue) reads what earlier modules built (grey) and produces five things a person can act on (green).

It is Friday 9 October. Hannah wants to know what the corpus cannot answer; Grace wants a weekly routine that finds what went wrong in the log and fixes it without breaking anything else. The two lessons built the pieces in notebooks, each with its own copy of the data and a stand-in search. This lab puts them in one file, hollin/insights.py, the file the course guide names for Module 13, and runs them on the real package: Module 6's search over the 9 October index, and Module 11's evaluation set and gate. Two questions run through the lab: q36, "how do I descale the X300 Pro", which no document answers, and the logged query "x300 motor warranty how long", typed at 09:14 on 21 September. One step calls the model.

The rest of this course is yours to keep

This course is bought on its own, once, and stays readable afterwards, including the parts added to it later.