Asked about Extraction you can measure
When would you use a batch API?
An answer that works
For work that can wait hours, such as processing a backlog or nightly jobs. It is much cheaper per request. It is wrong for anything a user is waiting on.
Reading an answer is not being able to give one. The section that teaches this is Extraction you can measure, 4 hours of Structured output.
Learn this properlyAlso asked about Structured output
Your extraction pipeline returns malformed JSON 5 percent of the time. What are the likely causes?What does a response schema guarantee?How does constrained decoding actually work?Should every field be required?Why does field order in a schema matter?How would you reduce invented values in an extraction pipeline?Your classification enum has an 'other' option that is now used 30% of the time. What does that tell you?How would you measure the accuracy of an invoice extraction pipeline?
All 10 questions on Structured output