Lesson overview

Validate with a real schema validator

Validate with a real schema validator — Local LLMs and validated JSON. Install and pin dependencies; Reject wrong types; Test valid and invalid fixtures. Practical assignment: Lab evidence.

Demo edition. The materials are undergoing editorial review.

Topics covered

  • Install and pin dependencies
  • Reject wrong types
  • Test valid and invalid fixtures

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