Grammar-based decoding (like logit biasing) helps, but isn't a panacea – model quality is also important for generating correct values, even after you have the structure locked down.
Grammar-Based Decoding and Model Quality for Structured Output
By
–
