Every extraction pipeline I have ever pointed at a language model shares the same dirty secret: the JSON comes back almost valid. Almost is where the bugs live, because almost passes your eyes and then fails your schema at midnight. So I built a loop where the model grades its own homework, the...
Source: [Dev.to](https://dev.to/codepy_1473/the-models-json-was-almost-valid-i-made-it-grade-its-own-homework-for-48-hours-30bn)