Sep 17, 2024 · 1h 12m · latent-space

Building AGI with OpenAI's Structured Outputs API

Michelle Pokrass · 40m spoken Shawn Wang · 16m spoken Alessio Fanelli · 7m spoken
0:00 / 0:00
▶ Watch on YouTube →

gold bands on the timeline = statements, start to end. Hover to read, click to jump. CC turns on captions

OpenAI Tech Lead Michelle Pokrass sits down with Alessio Fanelli and Shawn Wang to provide an in-depth technical look at the engineering, constrained decoding mechanics, and developer best practices behind Structured Outputs. She also shares lessons from scaling AI platform infrastructure, expanding multimodal APIs, and building resilient agentic systems.

How this conversation actually went

Every chapter scored 0–10 on four independent dynamics. Hover any point for the reasoning behind the score. The hosts hold 36.7% of the talking time here. How this is scored →

The hosts as informed peer 5.9 Guest teaching 4.9 Guest disagreement 2.1 The hosts pushing back 3.0
05100:0015:0030:0045:001:00:000:04–6:43 · The hosts as informed peer 6/10 Michelle Pokrass's Background and Scaling Engineering Infrastructure The hosts engage with Michelle's early career at Waterloo, Coinbase, and Clubhouse, sharing technical domain knowledge about derivative trading, Postgres scaling bottlenecks, and DynamoDB architecture. The tone is highly collegial and conversational.6:43–10:08 · The hosts as informed peer 5/10 Joining OpenAI and Scaling Early API Infrastructure Swyx and Alessio ask about joining OpenAI pre-ChatGPT and early infrastructure scaling challenges. Michelle shares operational insights about authorization systems and GPU allocation during the ChatGPT launch surge.10:08–13:02 · The hosts as informed peer 6/10 The Evolution and Architecture of Structured Outputs Michelle explains the technical difference between JSON mode token masking and training models specifically for constrained decoding to prevent whitespace loops. Alessio compares this to pre-fills and instructor patterns.13:02–15:59 · The hosts as informed peer 5/10 Distinguishing Function Calling from Structured Outputs Swyx asks whether function calling and structured outputs should be considered synonymous. Michelle firmly clarifies the architectural and semantic difference between programmatic tool calling and structured conversational responses.15:59–20:37 · The hosts as informed peer 6/10 Constrained Decoding Grammars and API Safety Refusals Swyx and Michelle debate the design choice of returning safety refusals inside the JSON response body rather than throwing standard HTTP 4xx or 5xx status codes. Michelle explains why HTTP semantics break down for model-side non-compliance.20:37–23:04 · The hosts as informed peer 5/10 ChatML Protocol and Eliminating Schema Errors Michelle educates the hosts on how structured outputs eliminated ChatML recipient hallucination errors under high temperatures by enforcing valid tool selection constraints.23:04–26:24 · The hosts as informed peer 6/10 Benchmarking Structured Outputs and Parallel Function Calling Swyx questions benchmark saturation and why parallel function calling is not yet supported with structured outputs. Michelle explains the latency overhead of re-indexing combined schemas on dynamic function lists.26:24–30:55 · The hosts as informed peer 6/10 Latency Optimization, Caching, and Agentic Reliability Alessio and Michelle discuss the foundation of autonomous agents, analyzing how moving from 95% to 100% schema reliability prevents error magnification across multi-step chains.30:55–38:42 · The hosts as informed peer 8/10 JSON Schema Dialects, Dynamic UIs, and Prompting Best Practices Swyx shares concrete engineering benchmarks from his production system AI News, reporting a 55% API cost reduction by switching from Instructor retries to native Structured Outputs. Michelle details OpenAI's JSON schema dialect decisions.38:42–47:28 · The hosts as informed peer 6/10 Model Selection Strategy, Fine-Tuning GA, and Version Pinning The conversation covers fine-tuning GA announcements and version pinning. Swyx questions why developers would ever use unpinned rolling ChatGPT models over deterministic API endpoints.47:28–53:55 · The hosts as informed peer 5/10 OpenAI's Platform Vision and DevDay Outage War Stories Michelle shares behind-the-scenes war stories from DevDay 2023, including fixing live API outages two hours before Sam Altman's keynote, and explains upgrades to the Assistants file search architecture.53:55–1:00:05 · The hosts as informed peer 6/10 Platform Capabilities: Logit Bias, Rate Limits, and Batch Processing The hosts explore logit bias, rate-limit tiering, and the Batch API. Swyx pushes back on the Batch API's rigid 24-hour SLA, arguing developers need a 2-4 hour turnaround option.1:00:05–1:06:09 · The hosts as informed peer 7/10 Multimodal APIs: Vision, Whisper, Advanced Voice, and Enterprise Security Alessio presses Michelle on why Whisper API lacks speaker diarization despite community demand. Michelle explains Whisper v2 vs v3 performance tradeoffs and suggests prompt hacks for spelling corrections.1:06:09–1:12:11 · The hosts as informed peer 5/10 Engineering Culture, Decision Science, and OpenAI Hiring The discussion closes on behavioral economics, Richard Thaler's Misbehaving, cognitive biases in engineering, and the specific low-ego traits sought in OpenAI hiring.0:04–6:43 · Guest teaching 2/10 Michelle Pokrass's Background and Scaling Engineering Infrastructure The hosts engage with Michelle's early career at Waterloo, Coinbase, and Clubhouse, sharing technical domain knowledge about derivative trading, Postgres scaling bottlenecks, and DynamoDB architecture. The tone is highly collegial and conversational.6:43–10:08 · Guest teaching 3/10 Joining OpenAI and Scaling Early API Infrastructure Swyx and Alessio ask about joining OpenAI pre-ChatGPT and early infrastructure scaling challenges. Michelle shares operational insights about authorization systems and GPU allocation during the ChatGPT launch surge.10:08–13:02 · Guest teaching 6/10 The Evolution and Architecture of Structured Outputs Michelle explains the technical difference between JSON mode token masking and training models specifically for constrained decoding to prevent whitespace loops. Alessio compares this to pre-fills and instructor patterns.13:02–15:59 · Guest teaching 7/10 Distinguishing Function Calling from Structured Outputs Swyx asks whether function calling and structured outputs should be considered synonymous. Michelle firmly clarifies the architectural and semantic difference between programmatic tool calling and structured conversational responses.15:59–20:37 · Guest teaching 6/10 Constrained Decoding Grammars and API Safety Refusals Swyx and Michelle debate the design choice of returning safety refusals inside the JSON response body rather than throwing standard HTTP 4xx or 5xx status codes. Michelle explains why HTTP semantics break down for model-side non-compliance.20:37–23:04 · Guest teaching 6/10 ChatML Protocol and Eliminating Schema Errors Michelle educates the hosts on how structured outputs eliminated ChatML recipient hallucination errors under high temperatures by enforcing valid tool selection constraints.23:04–26:24 · Guest teaching 6/10 Benchmarking Structured Outputs and Parallel Function Calling Swyx questions benchmark saturation and why parallel function calling is not yet supported with structured outputs. Michelle explains the latency overhead of re-indexing combined schemas on dynamic function lists.26:24–30:55 · Guest teaching 5/10 Latency Optimization, Caching, and Agentic Reliability Alessio and Michelle discuss the foundation of autonomous agents, analyzing how moving from 95% to 100% schema reliability prevents error magnification across multi-step chains.30:55–38:42 · Guest teaching 4/10 JSON Schema Dialects, Dynamic UIs, and Prompting Best Practices Swyx shares concrete engineering benchmarks from his production system AI News, reporting a 55% API cost reduction by switching from Instructor retries to native Structured Outputs. Michelle details OpenAI's JSON schema dialect decisions.38:42–47:28 · Guest teaching 5/10 Model Selection Strategy, Fine-Tuning GA, and Version Pinning The conversation covers fine-tuning GA announcements and version pinning. Swyx questions why developers would ever use unpinned rolling ChatGPT models over deterministic API endpoints.47:28–53:55 · Guest teaching 4/10 OpenAI's Platform Vision and DevDay Outage War Stories Michelle shares behind-the-scenes war stories from DevDay 2023, including fixing live API outages two hours before Sam Altman's keynote, and explains upgrades to the Assistants file search architecture.53:55–1:00:05 · Guest teaching 5/10 Platform Capabilities: Logit Bias, Rate Limits, and Batch Processing The hosts explore logit bias, rate-limit tiering, and the Batch API. Swyx pushes back on the Batch API's rigid 24-hour SLA, arguing developers need a 2-4 hour turnaround option.1:00:05–1:06:09 · Guest teaching 5/10 Multimodal APIs: Vision, Whisper, Advanced Voice, and Enterprise Security Alessio presses Michelle on why Whisper API lacks speaker diarization despite community demand. Michelle explains Whisper v2 vs v3 performance tradeoffs and suggests prompt hacks for spelling corrections.1:06:09–1:12:11 · Guest teaching 4/10 Engineering Culture, Decision Science, and OpenAI Hiring The discussion closes on behavioral economics, Richard Thaler's Misbehaving, cognitive biases in engineering, and the specific low-ego traits sought in OpenAI hiring.0:04–6:43 · Guest disagreement 1/10 Michelle Pokrass's Background and Scaling Engineering Infrastructure The hosts engage with Michelle's early career at Waterloo, Coinbase, and Clubhouse, sharing technical domain knowledge about derivative trading, Postgres scaling bottlenecks, and DynamoDB architecture. The tone is highly collegial and conversational.6:43–10:08 · Guest disagreement 1/10 Joining OpenAI and Scaling Early API Infrastructure Swyx and Alessio ask about joining OpenAI pre-ChatGPT and early infrastructure scaling challenges. Michelle shares operational insights about authorization systems and GPU allocation during the ChatGPT launch surge.10:08–13:02 · Guest disagreement 2/10 The Evolution and Architecture of Structured Outputs Michelle explains the technical difference between JSON mode token masking and training models specifically for constrained decoding to prevent whitespace loops. Alessio compares this to pre-fills and instructor patterns.13:02–15:59 · Guest disagreement 4/10 Distinguishing Function Calling from Structured Outputs Swyx asks whether function calling and structured outputs should be considered synonymous. Michelle firmly clarifies the architectural and semantic difference between programmatic tool calling and structured conversational responses.15:59–20:37 · Guest disagreement 3/10 Constrained Decoding Grammars and API Safety Refusals Swyx and Michelle debate the design choice of returning safety refusals inside the JSON response body rather than throwing standard HTTP 4xx or 5xx status codes. Michelle explains why HTTP semantics break down for model-side non-compliance.20:37–23:04 · Guest disagreement 2/10 ChatML Protocol and Eliminating Schema Errors Michelle educates the hosts on how structured outputs eliminated ChatML recipient hallucination errors under high temperatures by enforcing valid tool selection constraints.23:04–26:24 · Guest disagreement 3/10 Benchmarking Structured Outputs and Parallel Function Calling Swyx questions benchmark saturation and why parallel function calling is not yet supported with structured outputs. Michelle explains the latency overhead of re-indexing combined schemas on dynamic function lists.26:24–30:55 · Guest disagreement 2/10 Latency Optimization, Caching, and Agentic Reliability Alessio and Michelle discuss the foundation of autonomous agents, analyzing how moving from 95% to 100% schema reliability prevents error magnification across multi-step chains.30:55–38:42 · Guest disagreement 2/10 JSON Schema Dialects, Dynamic UIs, and Prompting Best Practices Swyx shares concrete engineering benchmarks from his production system AI News, reporting a 55% API cost reduction by switching from Instructor retries to native Structured Outputs. Michelle details OpenAI's JSON schema dialect decisions.38:42–47:28 · Guest disagreement 3/10 Model Selection Strategy, Fine-Tuning GA, and Version Pinning The conversation covers fine-tuning GA announcements and version pinning. Swyx questions why developers would ever use unpinned rolling ChatGPT models over deterministic API endpoints.47:28–53:55 · Guest disagreement 1/10 OpenAI's Platform Vision and DevDay Outage War Stories Michelle shares behind-the-scenes war stories from DevDay 2023, including fixing live API outages two hours before Sam Altman's keynote, and explains upgrades to the Assistants file search architecture.53:55–1:00:05 · Guest disagreement 2/10 Platform Capabilities: Logit Bias, Rate Limits, and Batch Processing The hosts explore logit bias, rate-limit tiering, and the Batch API. Swyx pushes back on the Batch API's rigid 24-hour SLA, arguing developers need a 2-4 hour turnaround option.1:00:05–1:06:09 · Guest disagreement 3/10 Multimodal APIs: Vision, Whisper, Advanced Voice, and Enterprise Security Alessio presses Michelle on why Whisper API lacks speaker diarization despite community demand. Michelle explains Whisper v2 vs v3 performance tradeoffs and suggests prompt hacks for spelling corrections.1:06:09–1:12:11 · Guest disagreement 1/10 Engineering Culture, Decision Science, and OpenAI Hiring The discussion closes on behavioral economics, Richard Thaler's Misbehaving, cognitive biases in engineering, and the specific low-ego traits sought in OpenAI hiring.0:04–6:43 · The hosts pushing back 2/10 Michelle Pokrass's Background and Scaling Engineering Infrastructure The hosts engage with Michelle's early career at Waterloo, Coinbase, and Clubhouse, sharing technical domain knowledge about derivative trading, Postgres scaling bottlenecks, and DynamoDB architecture. The tone is highly collegial and conversational.6:43–10:08 · The hosts pushing back 2/10 Joining OpenAI and Scaling Early API Infrastructure Swyx and Alessio ask about joining OpenAI pre-ChatGPT and early infrastructure scaling challenges. Michelle shares operational insights about authorization systems and GPU allocation during the ChatGPT launch surge.10:08–13:02 · The hosts pushing back 2/10 The Evolution and Architecture of Structured Outputs Michelle explains the technical difference between JSON mode token masking and training models specifically for constrained decoding to prevent whitespace loops. Alessio compares this to pre-fills and instructor patterns.13:02–15:59 · The hosts pushing back 3/10 Distinguishing Function Calling from Structured Outputs Swyx asks whether function calling and structured outputs should be considered synonymous. Michelle firmly clarifies the architectural and semantic difference between programmatic tool calling and structured conversational responses.15:59–20:37 · The hosts pushing back 5/10 Constrained Decoding Grammars and API Safety Refusals Swyx and Michelle debate the design choice of returning safety refusals inside the JSON response body rather than throwing standard HTTP 4xx or 5xx status codes. Michelle explains why HTTP semantics break down for model-side non-compliance.20:37–23:04 · The hosts pushing back 2/10 ChatML Protocol and Eliminating Schema Errors Michelle educates the hosts on how structured outputs eliminated ChatML recipient hallucination errors under high temperatures by enforcing valid tool selection constraints.23:04–26:24 · The hosts pushing back 4/10 Benchmarking Structured Outputs and Parallel Function Calling Swyx questions benchmark saturation and why parallel function calling is not yet supported with structured outputs. Michelle explains the latency overhead of re-indexing combined schemas on dynamic function lists.26:24–30:55 · The hosts pushing back 3/10 Latency Optimization, Caching, and Agentic Reliability Alessio and Michelle discuss the foundation of autonomous agents, analyzing how moving from 95% to 100% schema reliability prevents error magnification across multi-step chains.30:55–38:42 · The hosts pushing back 3/10 JSON Schema Dialects, Dynamic UIs, and Prompting Best Practices Swyx shares concrete engineering benchmarks from his production system AI News, reporting a 55% API cost reduction by switching from Instructor retries to native Structured Outputs. Michelle details OpenAI's JSON schema dialect decisions.38:42–47:28 · The hosts pushing back 4/10 Model Selection Strategy, Fine-Tuning GA, and Version Pinning The conversation covers fine-tuning GA announcements and version pinning. Swyx questions why developers would ever use unpinned rolling ChatGPT models over deterministic API endpoints.47:28–53:55 · The hosts pushing back 2/10 OpenAI's Platform Vision and DevDay Outage War Stories Michelle shares behind-the-scenes war stories from DevDay 2023, including fixing live API outages two hours before Sam Altman's keynote, and explains upgrades to the Assistants file search architecture.53:55–1:00:05 · The hosts pushing back 4/10 Platform Capabilities: Logit Bias, Rate Limits, and Batch Processing The hosts explore logit bias, rate-limit tiering, and the Batch API. Swyx pushes back on the Batch API's rigid 24-hour SLA, arguing developers need a 2-4 hour turnaround option.1:00:05–1:06:09 · The hosts pushing back 4/10 Multimodal APIs: Vision, Whisper, Advanced Voice, and Enterprise Security Alessio presses Michelle on why Whisper API lacks speaker diarization despite community demand. Michelle explains Whisper v2 vs v3 performance tradeoffs and suggests prompt hacks for spelling corrections.1:06:09–1:12:11 · The hosts pushing back 2/10 Engineering Culture, Decision Science, and OpenAI Hiring The discussion closes on behavioral economics, Richard Thaler's Misbehaving, cognitive biases in engineering, and the specific low-ego traits sought in OpenAI hiring.

speaking balance: gold is the hosts, purple is the guest (3 minute bins)

0:00 · the hosts 37.3% · guest 62.7%0:00 · the hosts 37.3% · guest 62.7%3:00 · the hosts 18% · guest 82%3:00 · the hosts 18% · guest 82%6:00 · the hosts 38% · guest 62%6:00 · the hosts 38% · guest 62%9:00 · the hosts 21.6% · guest 78.4%9:00 · the hosts 21.6% · guest 78.4%12:00 · the hosts 30.1% · guest 69.9%12:00 · the hosts 30.1% · guest 69.9%15:00 · the hosts 37.2% · guest 62.8%15:00 · the hosts 37.2% · guest 62.8%18:00 · the hosts 12.6% · guest 87.4%18:00 · the hosts 12.6% · guest 87.4%21:00 · the hosts 26.8% · guest 73.2%21:00 · the hosts 26.8% · guest 73.2%24:00 · the hosts 26.1% · guest 73.9%24:00 · the hosts 26.1% · guest 73.9%27:00 · the hosts 28.8% · guest 71.2%27:00 · the hosts 28.8% · guest 71.2%30:00 · the hosts 28.6% · guest 71.4%30:00 · the hosts 28.6% · guest 71.4%33:00 · the hosts 29.3% · guest 70.7%33:00 · the hosts 29.3% · guest 70.7%36:00 · the hosts 51.3% · guest 48.7%36:00 · the hosts 51.3% · guest 48.7%39:00 · the hosts 43.7% · guest 56.3%39:00 · the hosts 43.7% · guest 56.3%42:00 · the hosts 48.8% · guest 51.2%42:00 · the hosts 48.8% · guest 51.2%45:00 · the hosts 32.4% · guest 67.6%45:00 · the hosts 32.4% · guest 67.6%48:00 · the hosts 45.8% · guest 54.2%48:00 · the hosts 45.8% · guest 54.2%51:00 · the hosts 39.3% · guest 60.7%51:00 · the hosts 39.3% · guest 60.7%54:00 · the hosts 50.1% · guest 49.9%54:00 · the hosts 50.1% · guest 49.9%57:00 · the hosts 43.7% · guest 56.3%57:00 · the hosts 43.7% · guest 56.3%1:00:00 · the hosts 51.3% · guest 48.7%1:00:00 · the hosts 51.3% · guest 48.7%1:03:00 · the hosts 62.2% · guest 37.8%1:03:00 · the hosts 62.2% · guest 37.8%1:06:00 · the hosts 49.2% · guest 50.8%1:06:00 · the hosts 49.2% · guest 50.8%1:09:00 · the hosts 31.5% · guest 68.5%1:09:00 · the hosts 31.5% · guest 68.5%1:12:00 · the hosts 23% · guest 77%1:12:00 · the hosts 23% · guest 77%
Sharpest disagreement ▶ 13:20 Clear rejection of equating function calling with structured outputs

Michelle firmly rejects Swyx's suggestion that function calling and structured outputs are synonymous, clearly demarcating programmatic action taking from structured user-facing generation.

Hardest push from the hosts ▶ 19:11 Swyx challenging the refusal field design instead of HTTP error codes

Swyx pushes back against returning model refusals in the response body payload rather than conventional HTTP error codes, arguing that developers already have established error-handling pipelines.

Biggest teaching moment ▶ 11:27 Explaining why token masking alone causes infinite whitespace loops

Michelle explains that engineering-level constrained decoding without model post-training leads to degenerative whitespace looping, educating the hosts on the necessity of co-training models for structured outputs.

The host holds their own ▶ 37:42 Swyx providing concrete production cost reduction data

Swyx demonstrates deep domain expertise by citing exact production figures from his application, revealing that ripping out third-party retry wrappers saved 55% on API costs.

the scores for every segment, with the reasoning behind each
ChapterTopicThe hosts as informed peerGuest teachingGuest disagreementThe hosts pushing backWhy
Michelle Pokrass's Background and Scaling Engineering Infrastructure 6212 The hosts engage with Michelle's early career at Waterloo, Coinbase, and Clubhouse, sharing technical domain knowledge about derivative trading, Postgres scaling bottlenecks, and DynamoDB architecture. The tone is highly collegial and conversational.
Joining OpenAI and Scaling Early API Infrastructure 5312 Swyx and Alessio ask about joining OpenAI pre-ChatGPT and early infrastructure scaling challenges. Michelle shares operational insights about authorization systems and GPU allocation during the ChatGPT launch surge.
The Evolution and Architecture of Structured Outputs 6622 Michelle explains the technical difference between JSON mode token masking and training models specifically for constrained decoding to prevent whitespace loops. Alessio compares this to pre-fills and instructor patterns.
Distinguishing Function Calling from Structured Outputs 5743 Swyx asks whether function calling and structured outputs should be considered synonymous. Michelle firmly clarifies the architectural and semantic difference between programmatic tool calling and structured conversational responses.
Constrained Decoding Grammars and API Safety Refusals 6635 Swyx and Michelle debate the design choice of returning safety refusals inside the JSON response body rather than throwing standard HTTP 4xx or 5xx status codes. Michelle explains why HTTP semantics break down for model-side non-compliance.
ChatML Protocol and Eliminating Schema Errors 5622 Michelle educates the hosts on how structured outputs eliminated ChatML recipient hallucination errors under high temperatures by enforcing valid tool selection constraints.
Benchmarking Structured Outputs and Parallel Function Calling 6634 Swyx questions benchmark saturation and why parallel function calling is not yet supported with structured outputs. Michelle explains the latency overhead of re-indexing combined schemas on dynamic function lists.
Latency Optimization, Caching, and Agentic Reliability 6523 Alessio and Michelle discuss the foundation of autonomous agents, analyzing how moving from 95% to 100% schema reliability prevents error magnification across multi-step chains.
JSON Schema Dialects, Dynamic UIs, and Prompting Best Practices 8423 Swyx shares concrete engineering benchmarks from his production system AI News, reporting a 55% API cost reduction by switching from Instructor retries to native Structured Outputs. Michelle details OpenAI's JSON schema dialect decisions.
Model Selection Strategy, Fine-Tuning GA, and Version Pinning 6534 The conversation covers fine-tuning GA announcements and version pinning. Swyx questions why developers would ever use unpinned rolling ChatGPT models over deterministic API endpoints.
OpenAI's Platform Vision and DevDay Outage War Stories 5412 Michelle shares behind-the-scenes war stories from DevDay 2023, including fixing live API outages two hours before Sam Altman's keynote, and explains upgrades to the Assistants file search architecture.
Platform Capabilities: Logit Bias, Rate Limits, and Batch Processing 6524 The hosts explore logit bias, rate-limit tiering, and the Batch API. Swyx pushes back on the Batch API's rigid 24-hour SLA, arguing developers need a 2-4 hour turnaround option.
Multimodal APIs: Vision, Whisper, Advanced Voice, and Enterprise Security 7534 Alessio presses Michelle on why Whisper API lacks speaker diarization despite community demand. Michelle explains Whisper v2 vs v3 performance tradeoffs and suggests prompt hacks for spelling corrections.
Engineering Culture, Decision Science, and OpenAI Hiring 5412 The discussion closes on behavioral economics, Richard Thaler's Misbehaving, cognitive biases in engineering, and the specific low-ego traits sought in OpenAI hiring.

Statements from this episode (32)

Insight
Pokrass: Every successful company eventually outgrows Postgres for NoSQL
“At some point, every company gets the scale, every successful company gets the scale where Postgres is not cutting it. And then you migrate to some sort of NoSQL database.”
Michelle Pokrass Sep 17, 2024 ▶ 5:49
Assertion Not checkable as stated
OpenAI's API team had just five engineers before ChatGPT launched
“I would say the applied team was maybe like 30 or 40 people, and yeah, probably closer to 30, and there was maybe like five-ish total working on the API at most.”
Michelle Pokrass Sep 17, 2024 ▶ 8:37
Assertion Not checkable as stated
OpenAI's Applied team now exceeds its entire pre-ChatGPT headcount
“Applied now is bigger than the company when I joined.”
Michelle Pokrass Sep 17, 2024 ▶ 8:51
Assertion Not checkable as stated
ChatGPT's launch caused Postgres bottlenecks by reusing API developer accounts
“Surprisingly there were a lot of Postgres issues when ChatGPT came out because the accounts for like ChatGPT were tied to the accounts in the API. And so you're basically creating a developer account to log into ChatGPT at the time, because it's just what we h…”
Michelle Pokrass Sep 17, 2024 ▶ 9:20
Insight
Constrained decoding alone degrades output quality without model training
“And so it's not enough to just kind of constrain the model. I think of that as the engineering side, whereas basically you mask the available tokens that are produced every time to only fit the schema. And so you can do this engineering thing and you can force…”
Michelle Pokrass Sep 17, 2024 ▶ 11:07
Disclosure
OpenAI combined model training with constrained decoding for Structured Outputs
“We trained a model which is significantly better than our past models at following formats. And we did the end work to serve like this constrained decoding concept at scale.”
Michelle Pokrass Sep 17, 2024 ▶ 11:41
Assertion Not checkable as stated
OpenAI's function calling originated from early Code Interpreter prototypes
“The history here is we started with function calling and function calling, you know, came from the idea of like, let's give the model access to tools and let's see what it does. And we basically had these internal prototypes of what code interpreter is now. An…”
Michelle Pokrass Sep 17, 2024 ▶ 13:27
Assertion Not checkable as stated
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.”
Michelle Pokrass Sep 17, 2024 ▶ 14:24
Assertion Not checkable as stated
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.”
Michelle Pokrass Sep 17, 2024 ▶ 16:45
Insight
Standard HTTP status codes are limiting for AI model failures
“I think the HTTP spec is a little bit limiting for AI in a lot of ways. Like there are things that are in between your fault and my fault. There's kind of like the model's fault and there's no, you know, error code for that.”
Michelle Pokrass Sep 17, 2024 ▶ 19:47
Assertion Supported
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.”
Michelle Pokrass Sep 17, 2024 ▶ 22:42
Insight
Function calling benchmarks like BFCL are largely saturated
“I find that a lot of these evals are mostly saturated, like for BFCL. All the models are near, near the top. Already. And kind of the errors are more, I would say like just differences in default behaviors. I think most of the models on the leaderboard can kin…”
Michelle Pokrass Sep 17, 2024 ▶ 23:54
Disclosure
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.”
Michelle Pokrass Sep 17, 2024 ▶ 25:36
Disclosure
OpenAI rejected pre-registering schema IDs to avoid developer complexity
“The alternative design space that we explored It's like pre-registering your schema, so like a totally different endpoint, and then passing in like a schema ID. But we thought, you know, that was a lot of overhead, and like another endpoint to maintain, and ju…”
Michelle Pokrass Sep 17, 2024 ▶ 27:00
Insight
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…”
Michelle Pokrass Sep 17, 2024 ▶ 28:10
Disclosure
Assistants API tools succeeded, while its stateful endpoints need iteration
“I would say the hosted tools aspect has been really successful. Like people love our file search tool and it's like saves a lot of time to not build your own rag pipeline. I think we're still iterating on the shape for the stateful thing. To make it as useful …”
Michelle Pokrass Sep 17, 2024 ▶ 29:09
Assertion Supported
Structured response format is limited to GPT-4o and GPT-4o mini
“Actually, the new response format is only available on two models. It's Foro Mini and the new Foro. So the old Foro doesn't have the new response format. However, for function calling, we were able to enable it for all models that support function calling, and…”
Michelle Pokrass Sep 17, 2024 ▶ 30:23
Assertion Supported
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.”
Michelle Pokrass Sep 17, 2024 ▶ 31:20
Insight
Building custom evals is high leverage for AI application developers
“I think for customers, and we work with a lot of customers, really developing their own evals is super high leverage. Because then you can upgrade really quickly when we have a new model, you can experiment with these things with confidence.”
Michelle Pokrass Sep 17, 2024 ▶ 37:26
Assertion Not checkable as stated
Swix: OpenAI Structured Outputs cut API costs by 55% vs Instructor
“We use structured outputs for AI news. I use Instructor and I ripped it out and I think it, I saved 20 lines of code, but more importantly, it was like, we cut it by 55% of API costs based on what I measured because of all we saved on the retries.”
Shawn Wang Sep 17, 2024 ▶ 37:48
Assertion Supported
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.”
Michelle Pokrass Sep 17, 2024 ▶ 38:32
Insight
Fine-tuning requires only 100 to 1,000 high-quality examples
“It's actually a lot easier to get started than a lot of people expect. I think they might need Tens of thousands of examples, but even a hundred really high quality ones or a thousand is enough to get going.”
Michelle Pokrass Sep 17, 2024 ▶ 41:57
Opinion
OpenAI's API is its broadest vehicle for distributing AGI
“So I believe that the API is kind of our broadest vehicle for distributing AGI. You know, we're building some first party products, but they'll never reach every niche in the world and kind of every corner in community.”
Michelle Pokrass Sep 17, 2024 ▶ 47:41
Assertion Supported
The API was OpenAI's first commercial product
“The API is actually OpenAI's first product, and the first idea for commercialization, that predates me as well.”
Michelle Pokrass Sep 17, 2024 ▶ 48:41
Assertion Supported
OpenAI's Assistants API increased its file limit to 10,000 files
“Before, we only supported, I think, like, 20 files per assistant, and the way we used those files was, like, less effective. Basically, the model would decide, based on the file name, whether to search a file, and there's, like, not a ton of information in the…”
Michelle Pokrass Sep 17, 2024 ▶ 51:45
Assertion Supported
OpenAI's seed parameter is best-effort and not fully deterministic
“Yeah, the seed parameter is not fully deterministic, and it's kind of a best effort thing. So you'll notice there's more determinism in the first few tokens. That's kind of the current implementation.”
Michelle Pokrass Sep 17, 2024 ▶ 53:38
Disclosure
OpenAI aims to become an AI development platform, not just LLM-as-a-service
“We want to do more in this space and not just be an LLM as a service, but kind of AI development platform as a service.”
Michelle Pokrass Sep 17, 2024 ▶ 56:27
Prediction Open · timeframe Sep 2027
OpenAI likely to release streaming video API with frame sampling
“Yeah, I think it's very possible that we'll have an API where you stream video in, and maybe, you know, to start, we'll do the frame sampling for you.”
Michelle Pokrass Sep 17, 2024 ▶ 1:00:55
Assertion Not checkable as stated
Whisper v2 outperforms v3 at certain tasks, delaying its API rollout
“And so whisper V two is better at some things than whisper V three. And so it didn't seem that worthwhile to ship whisper V three compared to like the other things in our priorities. I think we still will at some point, but yeah, it's just, you know, there's a…”
Michelle Pokrass Sep 17, 2024 ▶ 1:02:23
Opinion
Standard request-response APIs will not work for speech-to-speech models
“I think just the regular request response probably isn't going to be the right solution.”
Michelle Pokrass Sep 17, 2024 ▶ 1:04:53
Opinion
Pokrass: LLMs are far more rational 'econs' than humans
“So I think way more than all of us, they are e-cons.”
Michelle Pokrass Sep 17, 2024 ▶ 1:10:44
Disclosure
OpenAI hires applied engineers without prior AI experience
“We've hired people with all kinds of backgrounds, people who have PhD in an ML or folks who have just done engineering like me, and we're really hiring for a lot of teams. We're hiring across the applied org, which is where I sit for engineering, and for a lot…”
Michelle Pokrass Sep 17, 2024 ▶ 1:11:04
Made with StarZero

Turn any episode into a week of clips.

This entire site, over 200 episodes transcribed, diarized, checked and made playable, runs on the StarZero media pipeline. Drop in your own episode and the podcast clipper finds the moments worth sharing, cuts them, captions them, and reframes them for every feed.