Lesson overview

Bound retries and preserve failures

Bound retries and preserve failures — Local LLMs and validated JSON. Retry only recoverable categories; Use a bounded wrapper; Avoid duplicate downstream writes. Practical assignment: Lab evidence.

Demo edition. The materials are undergoing editorial review.

Topics covered

  • Retry only recoverable categories
  • Use a bounded wrapper
  • Avoid duplicate downstream writes

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