Lesson overview

Check meaning after structure

Check meaning after structure — Local LLMs and validated JSON. Separate structure and truth; Add deterministic checks; Handle contradictions honestly. Practical assignment: Lab evidence.

Demo edition. The materials are undergoing editorial review.

Topics covered

  • Separate structure and truth
  • Add deterministic checks
  • Handle contradictions honestly

Practical assignment

Lab evidence

The full lesson is available as part of the course.

Continue to learning

Course outline

  1. Define the extraction contract
  2. Request constrained output locally
  3. Validate with a real schema validator
  4. Check meaning after structure
  5. Bound retries and preserve failures
  6. Deliver a reproducible extraction project