Structured Outputs
topic on 1 show · 8 statements across 1 episodes
8 statements about Structured Outputs, every show
OpenAI Structured Outputs enforces schemas in one shot without retries
“We are not retrying, you know, we're doing it in one shot and this is how you save on latency and cost.”
Structured Outputs supports recursive schemas for generating dynamic UIs
“The schemas, we support recursive schemas, and this allows you to do really cool stuff, like, you know, every UI is a nested tree that has children, and so I thought that was super cool. You can use one schema and generate, like, tons of UIs.”
Multi-step agentic apps fail at 95% reliability due to compounded errors
“Like if something is 95% reliable, but you're chaining together a bunch of calls, if you magnify that error rate, it makes your like application not work. So that's a really exciting thing here from going from like 95% to a hundred percent. I'm very biased wor…”
Structured Outputs does not yet support parallel function calling
“All our models support it, or all of our newer models support it, but we don't support it with structured outputs right now.”
Structured Outputs prevent models from hallucinating invalid tools
“The model before was able to hallucinate a tool, but now it's it can't when you're using structured outputs.”
OpenAI built its constrained decoding engine from scratch
“Yeah, we didn't use any kind of Other stuff. We kind of built, you know, our solution from scratch to meet our specific needs.”
OpenAI built Structured Outputs because developers were hacking function calling
“A lot of people were hacking function calling to get the response format they needed, and so this is why we shipped kind of this new response format. So you can get exactly what you want, and you get kind of more of the models verbosity.”