OpenAI just released Structured Outputs in the API 👀
While using Structured Outputs (with "strict mode" enabled), their latest model (gpt-4o-2024-08-06) scores a perfect 100% reliability on their internal evals. This feature aims to enhance the accuracy of generated outputs to match specified schemas.
Diving deeper, there are caveats, such as having some