Without going into specifics, trying to classify a body of freeform text (or rather, many such bodies) along a bunch of dimensions. Imagine a fiction story that you're trying to answer questions about such as "what is the genre?" and "is the protagonist male or female, adult or child?", etc, where I'm instructing the LLM to return values out of a specific range only (aka, enums). OpenAI's new-ish structured outputs feature enforces answers to a user-specified JSON schema, which is awesome, but I'm finding that the actual answers it comes up with are sub-par. There are all kinds of hacks out there like creating additional fields to let it reason out the answers before constraining them to an enum elsewhere, but I have yet to make it work well for me. There are other approaches I haven't yet tried that require much more effort or cost (more expensive models, fine-tuning custom models). It feels like it should work, so the random poking and prodding continues...