Happy October. This is your AI co-host, Charlie. One of our longest standing traditions is covering major AI and ML conferences in podcast format. Delving, yes delving, into the vibes of what it is like to be there stitched in with short samples of conversations with key players just to help you feel like you were there. Covering this year's Dev Day was significantly more challenging because we were all requested not to record the opening keynotes. So in place of the opening keynotes, we had the Viral Notebook LM Deep Dive crew, my new AI podcast nemesis, give you a seven minute recap of everything that was announced.
Of course, you can also check the show notes for details. I'll then come back with an explainer of all the interviews we have for you today. Watch out and take care. All right, so we've got a pretty hefty stack of articles and blog posts here all about OpenAI's Dev Day 2024. Yeah, lots to dig into there. Seems like you're really interested in what's new with AI. Definitely. And it seems like OpenAI had a lot to announce. New tools, changes to the company. It's a lot. It is. And especially since you're interested in how AI can be used in the real world, you know, practical applications. We'll focus on that. Perfect. Like, for example, this new...
real-time api they announced that right that seems like a big deal if we want ai to sound well less like a robot it could be huge the real-time api could completely change how we like interact with ai like imagine if your voice assistant could actually handle it if you interrupted it or like have an actual conversation right not just these clunky back and forth things we're used to and they actually showed it off didn't they i read something about a travel app one for languages even one where the ai ordered takeout Those demos were really interesting, and I think they show how this real-time API can be used in so many ways. And the tech behind it is fascinating, by the way. It uses persistent WebSocket connections and this thing called function calling so it can respond in real time. So the function calling thing, that sounds kind of complicated. Can you, like, explain how that works? So imagine giving the AI access to this whole toolbox, right? Information, capabilities, all sorts of things. So take the travel agent demo, for example. With function calling, the AI can pull up details, let's say, about Fort Mason, right, from some database, like nearby restaurants, stuff like that. Ah, I get it.
So instead of being limited to what it already knows, it can go and find the information it needs, like a human travel agent would. Precisely. And someone on Hacker News pointed out a cool detail. The API actually gives you a text version of what's being said, so you can store that, analyze it. That's smart. It seems like OpenAI put a lot of thought into making this API easy for developers to use. But while we're on OpenAI, you know...
Besides their tech, there's been some news about internal changes, too. Didn't they say they were moving away from being a nonprofit? They did. And it's got everyone talking. It's a major shift. And it's only natural for people to wonder how that'll change things for OpenAI in the future. I mean, there are definitely some valid questions about this move to for-profit. Like, will they have more money for research now? Probably. But will they care as much about making sure AI benefits everyone? Yeah, that's the big question, especially with all the leadership changes happening at OpenAI, too, right? I read that their chief research officer left, and their VP of research, and even their CTO.
It's true. A lot of people are connecting those departures with the changes in open AI structure. And I guess it makes you wonder what's going on behind the scenes, but they are still putting out new stuff. Like this whole fine tuning thing really caught my eye. Right. Fine tuning. It's essentially taking a pre-trained AI model and like customizing it. So instead of a general AI, you get one that's tailored for a specific job. Exactly. And that opens up so many possibilities, especially for businesses. Imagine you could train an AI on your company's data, you know, like how you communicate your brain guidelines. So it's like having an AI that's specifically trained for your company. That's the idea. And they're doing it with images now too, right? Fine tuning with vision is what they called it.
It's pretty incredible what they're doing with that, especially in fields like medicine. Like using AI to help doctors make diagnoses. Exactly. And AI could be trained on like thousands of medical images, right? And then it could potentially spot things that even a trained doctor might miss. That's kind of scary, to be honest. What if it gets it wrong? Well, the idea isn't to replace doctors, but to give them another tool, you know, help them make better decisions. Okay, that makes sense. But training these AI models must be really expensive. It can be. All those tokens add up. But OpenAI announced something called automatic prompt caching. Automatic what now? I don't think I came across that.
So basically, if your AI sees a prompt that it's already seen before, OpenAI will give you a discount. Huh. Like a frequent buyer program for AI. Kind of, yeah. It's good that they're trying to make it more affordable. And they're also doing something called model distillation. Okay, now you're just using big words to sound smart. What's that? Think of it like a recipe, right? You can take a really complex recipe and break it down to the essential parts. Make it simpler, but it still tastes the same. Yeah. And that's what model distillation is. You take a big, powerful AI model and create a smaller, more efficient version. So it's like lighter weight, but still just as capable. Exactly. And that means more people can actually use these powerful tools. They don't need like...
a supercomputer to run them. So they're making AI more accessible. That's great. It is. And speaking of powerful tools, they also talked about their new O1 model. That's the one they've been hyping up, the one that's supposed to be this big leap forward. Yeah, O1. It sounds pretty futuristic. From what I read, it's not just a bigger, better language model. Right, it's a different porch. They're saying it can actually reason, right? Think differently. It's trained differently. They used reinforcement learning with O1. So it's not just finding patterns in the data it's seen before. Not just that. It can actually learn from its mistakes, get better at solving problems. So give me an example. What can O1 do that...
say, GPT-4 can't. Well, OpenAI showed it, doing some pretty impressive stuff with math, like advanced math, and coding too, complex coding, things that even GPT-4 struggled with. So you're saying if I needed to write a screenplay, I'd stick with GPT-4, but if I wanted to solve some crazy physics problem, O1 is what I'd use. Something like that, yeah. Although there is a trade-off. O1 takes a lot more power to run, and it takes longer to get those impressive results. Makes sense. More power, more time, higher quality. Exactly. It sounds like it's still in development though, right? Is there anything else they're planning to add to it? Oh, yeah. They mentioned system prompts, which will let developers like...
set some ground rules for how it behaves, and they're working on adding structured outputs and function calling. Wait, structured outputs? Didn't we just talk about that? We did. That's the thing where the AI's output is formatted in a way that's easy to use, like JSON. Right, right. So you don't have to spend all day trying to make sense of what it gives you. It's good that they're thinking about that stuff. It's about making these tools usable. And speaking of that, DevDay finished up with this really interesting talk. Sam Altman, the CEO of OpenAI, and Kevin Weil, their new chief product officer. They talked about, like, the big picture for AI. Yeah, they did, didn't they? Anything interesting come up? Well, Altman talked about moving past this whole AGI term.
artificial general intelligence. I can see why. It's kind of a loaded term, isn't it? He thinks it's become a bit of a buzzword and people don't really understand what it means. So are they saying they're not trying to build AGI anymore? It's more like they're saying they're focused on just making AI better.
constantly improving it, not worrying about putting it in a box. That makes sense. Keep pushing the limits. Exactly. But they were also very clear about doing it responsibly. They talked a lot about safety and ethics. Yeah, that's important. They said they were going to be very careful about how they release new features. Good, because this stuff is powerful. It is. It was a lot to take in. This whole Dev Day event, new tools, big changes at OpenAI, and these big questions about the future of AI. It was. But hopefully this deep dive helped make sense of some of it. At least that's what we try to do here. Absolutely. Thanks for taking the deep dive with us.
The biggest demo of the new real-time API involved function calling with voice mode and buying chocolate-covered strawberries from our friendly local OpenAI developer experience engineer and strawberry shop owner, Ilan Biggio. We'll first play you the audio of his demo and then go into a little interview with him. Fantastic. Could you place a call and see if you could get us 400 strawberries delivered to the venue? But please keep that under $1,500. I'm on it. We'll get those strawberries delivered for you. Hello.
Yeah, we have chocolate, vanilla, and we have peanut butter. 400? Are you sure you want 400? I think that'll be around like $1,415 with 92 cents. Great, where would you like that delivered? Okay, sweet, so just to confirm you want 400 chocolate covered strawberries to the gateway pavilion.
Well, you guys are right nearby, so it'll be like, I don't know, 37 seconds? I'll be back. Cool, you too. Hi, Ilana. Welcome to Lanespace. Thank you. Just saw your amazing demos, had your amazing strawberries. You are dressed up exactly like a strawberry salesman. Gotta have a roll. What was the building on demo like? What was the story behind the demo? It was really interesting. This is actually something I had been thinking about for months before the launch. Having an AI that can make phone calls is something I've personally wanted for a long time. And so as soon as we launched internally, I started hacking on it.
And then that sort of just made it into an internal demo. And then people found it really interesting. And then we thought, how cool would it be to have this on stage as one of the demos? Yeah. Would you call out any technical issues building? You were basically one of the first people ever to build with the voice mode API. Would you call any issues integrating it with Trilio like that, like you did with function calling, with the form filling elements?
intense of things to fulfill, and then when you're still missing info, the voice would prompt you, role-playing the store guy. Yeah, yeah. So I think technically, there's like the whole, just working with audio and streams is a whole different piece. Like, even separate from like AI and this like new capabilities, it's just tough. Yeah, when you have a prompt, conversationally, it'll just follow. It was kind of step-by-step to ask the right questions based on what the request was, right? The function calling itself is sort of tangential to that. Like, you have to prompt it to call the functions, but then handling it isn't too much different from like what you would do with...
assistant streaming or chat completion streaming. I think the API feels very similar. If everything in the API was streaming, it actually feels quite familiar to that. And then function calling-wise, does it work the same? I don't know. I saw a lot of logs. You guys showed in the playground a lot of logs. What is in there? What should people know? Yeah. The events may have different names than the streaming events that we have in chat completions, but they represent very similar things. It's things like function call started, argument started, here's argument deltas, and then function call done. Conveniently, we send one that has the full function.
And then I just use that. Nice. And then what restrictions should people be aware of? I think before we recorded, we discussed a little bit about the sensitivities around basically calling random store owners and putting an AI on them. Yeah, so I think there's recent regulation on that, which is why we want to be very aware of you can't just call anybody with AI. That's just robocalling. You wouldn't want someone just calling you with AI. Yeah, so I'm a developer. I'm about to do this on random people. What laws am I about to break? I forget what the governing body is, but you should...
I think having consent of the person you're about to call, it always works. I, as the strawberry owner, have consented to getting a call with AI. I think past that, you want to be careful. Definitely individuals are more sensitive than businesses. I think businesses, you have a little bit more leeway. Also, businesses, I think, have an incentive to want to receive AI phone calls, especially if they're dealing with AI phone calls. It's more business. It's kind of like getting on a booking platform. You're exposed to more. But I think it's still very much a gray area. So I think everybody should...
You know, try carefully like figure out what it is. I I the law is so recent I didn't have enough time to like it. I'm also not a lawyer. Yeah Okay, cool. Fair enough. One other thing. This is kind of agentic. Did you use the state machine at all? Did you use any framework? No. Just stick it in context and then just run it in a loop until it ends call? Yeah, there isn't even a loop like
Because the API is just based on sessions, it's always just going to keep going. Every time you speak, it'll trigger a call. And then after every function call, it was also invoking a generation. And so that is another difference here. It's inherently almost like in a loop just by being in a session. No state machine is needed. I'd say this is very similar to the notion of routines, where it's just a list of steps, and it sticks to them softly, but usually pretty well. And the steps is the prompts. The steps, it's like the prompt.
The steps are in the prompts. It's like step one, do this, step one, do that. What if I want to change the system prompts halfway through the conversation? You can. To be honest, I have not played with that too much, but I know you can. Awesome. I noticed that you called it real-time API, but not voice API. So I assume that it's real-time API starting with voice. That's what he said on the thing. I can't imagine. What else is real-time? Well, I guess to use ChatGPT's voice mode as an example, we've demoed the video, real-time image. So I'm not actually sure what timelines are, but I would expect, if I had to guess, that that is probably the next thing that we're going to be making. You'd probably have to talk directly with the team building this. Sure.
But given that this is the features that exist that we've demoed on ChachiPT. There will never be a case where there's a real-time text API, right? Well, this isn't real-time text API. You can do text only on this. Oh. Yeah. I don't know why you wouldn't. But it's actually, so text-to-text here doesn't quite make a lot of sense. I don't think you'll get a lot of latency gain. But, like, speech-to-text is really interesting because you can prevent, you can prevent responses, like audio responses, and force function calls. And so you can do stuff like UI control that is, like, super, super reliable. We had a lot of, like, you know, we weren't sure how well this was going to work because it's, like, you have a voice answering. It's, like, a whole persona, right? Like, that's a little bit more, you know, risky. But if you, like, cut out the audio outputs and...
make it so it always has to output a function, like, you can end up with pretty reliable, like, commands, like a command architecture. Yeah, actually, that's the way I want to interact with a lot of these things as well, like, one-sided voice. Yeah, you always just want to hear the voice back, and, like, sometimes it's, like, yeah, I think having an output voice is great, but I feel like I don't always want to hear an output voice. I'd say usually I don't. But, yeah, exactly. Being able to speak to it is super smooth. Cool. Do you want to comment on any of the other stuff that you announced? Problem caching I noticed was, like, I like the no-code change part. I'm looking forward to the docs because I'm sure there's a lot of details on, like, what you cache, how long you cache. Yeah. Because, like, Anthropic cache is for, like, five minutes. I was like...
Okay, but what if I don't make a call every five minutes? Yeah, to be super honest with you, I've been so caught up with the real-time API and making the demo that I haven't read up on the other launches too much. I mean, I'm aware of them, but I'm excited to see how all distillation works. That's something that we've been doing, like, I don't know. I've been, like, doing it between our models for a while, and I've seen really good results. Like, I've done, back in the day, like, from GPT-4 to GPT-3.5, and got, like...
pretty much the same level of function calling with hundreds of functions. So that was super, super compelling. So I feel like easier distillation, I'm really excited for. I see. Is it a tool? So I saw evals. What is the distillation product? It wasn't super clear, to be honest. I think I want to let that team talk about it. Well, I appreciate you jumping on. Amazing demo. It was beautifully designed. I'm sure that was part of you and Roman. Yeah, I guess shout out to the first people to creators of Wanderlust originally were Simon and Carolis. And then I took it and built the voice component and the voice calling components. So it's been a big team effort. And the entire BI team for debugging.
everything as it's been going on. Yeah, you're the first consumers on the UX team. I mean, the classic role of what we do there. Okay, yeah. Anything else? Any other cost action? No, enjoy Dev Day. Thank you. That's it. The Latent Space crew then talked to Olivier Godmont, head of product for the OpenAI Platform, who led the entire Dev Day keynote and introduced all the major new features and updates that we talked about today. Okay, so we are here with Olivier Godmont. I don't pronounce French. That's fine. That's perfect. And it was amazing to see your keynote today. What was the backstory of preparing something like this, preparing Dev Day?
essentially came from a couple of places. Number one, excellent reception from last year's Dev Day. Developers, startup, founders, researchers want to spend more time with OpenAI, and we want to spend more time with them as well. And so for us, it was a no-brainer, frankly, to do it again, like a nice conference. The second thing is doing global. We've done a few events in Paris and a few other non-American countries. And so this year, we're doing SF, Singapore, and London to, frankly, just meet more developers. Yeah, I'm very excited for the Singapore one. Oh, yeah. Will you be there? I don't know. I don't know if I got an invite. No, we can't just talk to you. Yeah, and then there was some speculation around October 1st. Yeah. Is it because 01?
October 1st? That's nothing to do. I discovered the tweet yesterday where people are so creative. No one, there was no connection to October 1st. And in hindsight, that would have been a pretty good meme, but yeah. Okay.
Yeah, and I think OpenAI's outreach to developers is something that I felt the hole in 2022 when people were trying to build a chat GPT and there was no function calling, all that stuff that you talked about in the past. And that's why I started my own conference. Here's our little developer conference thing. But to see this OpenAI Dev Day now and to see so many developer-oriented products coming out of OpenAI, I think it's really encouraging. Yeah, totally. That's what I said, essentially. Developers are basically the people who make the best connection between the technology and the future, essentially. Essentially, see a capability, see a low-level technology.
And I'm like, hey, I see how that application of that use case can be enabled. And so in the direction of enabling AGI for all of humanity, it's a no-brainer for us to partner with that. And most importantly, you almost never had waitlists, which compared to other releases people usually have. You had prompt caching, you had real-time voice API. Sean did a long Twitter thread, so people know the releases. What is the thing that was sneakily the hardest to actually get ready for that day? Or what was the last 24 hours, anything that you didn't know was going to work? Yeah, they're all fairly, I would say, involved, like features to shift. So the team has been working for a month, all of them. The one which I would say is the newest for OpenAI is the real-time API.
for a couple of reasons. I mean, one, you know, it's a new modality. Second, like, it's the first time that we have an actual, like, WebSocket-based API. And so I would say that's the one that required, like, the most work over the month to get right from a developer perspective and to also make sure that our existing safety mitigation works well with, like, real-time audio in and audio out. What are the design choices that you want to highlight? I think for me, WebSockets, you just receive a bunch of events. It's two-way. I obviously don't have a ton of experience. I think a lot of developers are going to have to embrace this real-time programming. What are you designing for? What advice would you have for developers exploring this? The core design hypothesis was essentially, how do we enable human-level latency?
We did a bunch of tests. On average, human beings takes something like 500 milliseconds to converse to each other. And so that was the design principle, essentially. Working backwards from that and making your technology work. And so we valued a few options, and WebSockets was the one that we landed on. So that was one design choice. A few other big design choices that we had to make, from caching. From caching, the design target was automated from the get-go. Zero code change from the developer.
That way you don't have to learn what is the prompt prefix and how long does the cache work. We just do it as much as we can, essentially. So that was a big design choice as well. And then finally, on distillation and evaluation, the big design choice was something I learned as hype in my previous job, a philosophy around a pit of success. What is essentially the minimum number of steps for the majority of the developer to do the right thing? Because when you do evals on fact-tuning, there are many, many ways to mess it up and have a crappy model evals that tell a wrong story. And so our whole design was, OK, we actually care about helping people who don't have that much experience like evaluating models.
get in a few minutes to a good spot. And so how do we essentially enable that pit of success in the product flow? Yeah. I'm a little bit scared to fine-tune, especially for Vision, because I don't know what I don't know for stuff like Vision. For text, I can evaluate pretty easily. For Vision, let's say I'm trying to, one of your examples was Grab, which is very close to home. I'm from Singapore. I think your example was they identified stop signs better. Why is that hard? Why do I have to fine-tune that? If I fine-tune that, do I lose other things? There's a lot of unknowns with Vision that I think developers have to figure out. For sure. Vision is going to
open up like a new I would say evaluation space because you're right like it's harder like you know to tell correct from correct essentially with images what I can say is that we've been alpha testing like the vision fine tuning like for several weeks at that point we are seeing like even higher performance uplift compared to text fine tuning So that's something here. We've been pretty impressed in a good way, frankly, but you know how well it works. But for sure, I expect the developers who are moving from one modality to text and images will have more testing, evaluation to set in place to make sure it works well. The model distillation and evals is definitely the most interesting, moving away from just being a model provider to being a platform provider. How should people think about being the source of truth? Do you want OpenAI to be the system of record of all different things? Because people sometimes store it in different data sources. And then, is that going to be the same as the models of all? So you don't have to worry about refactoring the data, things like that.
future model structures. The vision is, if you want to be a source of truth, you have to earn it. We're not going to force people to pass this data. There is no value problem for us to start the data. The vision here is, at the moment, most developers use a one-size-fits-all model, view-of-the-shelf, DP4O, essentially. The vision we have is, fast-forward a couple of years, I think most developers will essentially have an automated, continuous, fine-tuned model. The more you use the model, the more data you pass to the model provider, the model is automatically fine-tuned, evaluated to get some event sets. And essentially, you don't have to, every month, when there's a new snapshot, to go online and try a few new things. That's a direction. We are pretty far away from it. But I think that evaluation and decision product are essentially a first good step in that direction. It's like, hey!
If you are excited by the direction and you give us evaluation data, we can literally log your completion data and start to do some automation in your behalf. And then you can do evals for free if you share data with OpenAI. How should people think about when it's worth it, when it's not? Sometimes people get overly protected with their data when it's actually not that useful. But how should developers think about when it's right to do it, when not, or if you have any costs on it? The default policy is still the same. We don't trade on any API data unless you opt-in. What we've seen from feedback is evaluation can be expensive. If you run all evals on a certain of samples, you'll deal with getting paid pretty significantly. That's problem statement number one. Problem statement number two is essentially I want to get to a world where...
Whenever OpenAI ships a new model snapshot, we have full confidence that there is no regression for the task that developers care about. And for that to be the case, essentially, we need to get evals. And so that, essentially, is sort of a two-boss-one stone. We subsidize specific evals, and we also use evals when we ship new models to make sure that we keep doing the right action. So in my sense, it would win. But again, completely opt-in. I expect that many developers will not want to share their data, and that's perfectly fine to me. Yeah, I think free evals, though. Very, very good incentive. I mean, it's a fair trade. You get data, we get free evals. Exactly. And we sanitize PII, everything. We have no interest in the actual sensitive data. We just want to...
have good evaluation on real use cases. I almost want to eval the eval. I don't know if that ever came up. Sometimes the evals themselves are wrong, and then there's no way for me to tell you. Everyone who is starting with LLM, teaching with LLM, is like, yeah, evaluation, easy, I've done testing, you know my luck. And then you start to actually build evals, understand all the corner cases, and you realize, wow, there's like a whole field itself. So yeah, good evaluation is hard, and so yeah.
But I think there's a, you know, I just talked to Braintrust, which I think is one of your partners. They also emphasize code-based evals versus your sort of low-code. What I see is like, I don't know, maybe there's some more that you didn't demo, but what I see is kind of like a low-code experience, right, for evals. Would you ever support like a more code-based, like would I run code on OpenAI's eval platform? For sure. I mean, we made developers where they are. You know, at the moment, the demand was more for like, you know, easy to get started, like eval.
But if we need to expose an evaluation API, for instance, for people to pass existing data, we'll do it. So yeah, there is no philosophical, I would say, misalignment on that. Yeah, yeah. What I think this is becoming, by the way, and it's basically like you're becoming AWS, like the AI cloud. And I don't know if that's a conscious strategy or it's like, it doesn't even have to be a conscious strategy. You're going to offer storage. You're going to offer compute. You're going to offer networking. I don't know what networking looks like. Networking is maybe like caching or it's a CDN. It's a prompt CDN. But it's the AI versions of everything, right? Do you see the analogies? Yeah, totally. What about?
Whenever I talk to developers, I feel like good models are just half of the story. If you build a good app, there's a ton more you need to do. Evaluation is a perfect example. You can have the best model in the world if you're in the dark. It's really hard to gain the confidence.
the whole software development stack is being basically reinvented with LLMs. There is no freaking way that OpenAI can build everything. There is just too much to build, frankly. And so my philosophy is, essentially, we'll focus on the tools which are the closest to the model itself. So that's why you see us investing quite a bit in fine-tuning, distillation, evaluation, because we think that it actually makes sense to have it in one spot, all of that. There is some sort of virtual circle, essentially, that could stay in place. But stuff like LLM ops, tools which are further away from the model,
I don't know. If you want to do super elaborate prompt management or tooling, I'm not sure OpenAI has such a big edge, frankly, to build a sort of tools. So that's how we do it at the moment. But again, frankly, the philosophy is super simple. The strategy is super simple. It's meeting developers where they want us to be. And so that's, frankly, day in, day out what I try to do. Cool. Thank you so much for the time. I'm sure you're going to. Yeah, I have more questions on, a couple questions on voice, and then also your call to action, like what you want feedback on, right? So I think we should spend a bit more time on voice, because I feel like that's the big splash thing. I talked, well, I mean, just, like, what is the future of real time for OpenAI?
Because I think, obviously, video is next. You already have it in the ChatGPT desktop app. Do we just have a permanent light? Are developers just going to be sending sockets back and forth with OpenAI? How do we program for that? What is the future? Yeah, that makes sense. I think with modernity, real-time is quickly becoming essentially the right experience to build an application. So my expectation is that we'll see a non-trivial volume of applications moving to a real-time API. If you zoom out, audio is a really simple. Audio until basically now. Audio.
on the web, in apps, was basically very much like a second class citizen. Like you basically did like a new chatbot for users who did not have a choice. You know, they were struggling to read, or I don't know, they were like not super educated with technology. And so, I think it was like a crappy option compared to text. But when you talk to people in the world, the vast majority of people like prefer to talk and listen instead of typing and writing. We speak before we write. Exactly. I don't know, I mean, I'm sure it's the case for you in Singapore, for me, my friends in Europe, the number of like WhatsApp, like voice notes, every day. I mean, just people, it makes sense. Chinese. Chinese, yeah. Yeah, all voice. You know, it's easier, there's more emotions. I mean, you know.
You get the point across pretty well. And so my personal ambition for the real-time API in the whole is to make audio and multimedia truly a first-class experience. If you're the amazing, super bold startup out of YC, you're going to build the next billion user application to make it truly audio first and make it feel an actual good product experience. So that's essentially the ambition. And I think it could be pretty big. Yeah. I think one issue that people have with the voice so far as releasing the advanced voice mode is the refusals. You guys had a very inspiring model spec. I think Joanne worked on that, where you said like,
Yeah, we don't want to overly refuse all the time. In fact, even if not safe for work, in some occasions, it's okay. How is there an API that we can say, not safe for work, okay? I think we'll get there. I think we'll get there. The model spec nailed it. It nailed it. It's so good. Yeah, we are not in the business of policing, if you can say Google World or whatever. There are some new cases that I'm writing a Hollywood script. I want to say Google World. It's perfectly fine. And so I think the direction where we'll go here is that basically, there will always be a set of behavior that will just forbid, frankly, because they're illegal.
against our terms of services. But then there will be like, you know, some more like risky like themes which are completely legal, like, you know, wrong your world or not safe for work stuff, where basically we'll expose like a controllable like safety like knobs in the API to basically allow you to say, hey, that theme okay, that theme not okay, how sensitive do you want the special to be on safety refusals? I think that's a direction. So a safety API. Yeah, in a way, yeah. Yeah, we've never had that. Yeah. Because right now it's whatever you decide and then that's it. That would be the main reason I don't use opening our voice is because of over refusals. Yeah, yeah, yeah. No, we've got to fix that. Like singing. We're trying to do what's very okay.
And you locked off the game. Yeah, yeah, yeah. But I understand music. OK, so just generally, what do you want to hear from developers? We have all developers watching. What feedback do you want? Anything specific as well, especially from today? Anything that you're unsure about, that you're like, our feedback could really help you design. For sure. Happy?
Essentially, it's becoming pretty clear after today that, you know, I would say the open-night direction has become pretty clear after today. Investment in reasoning, investment in multimodality, investment as well, like, you know, I would say tool use, like function calling. To me, the biggest question I have is, you know, where should we put the cursor next? I think we need all three of them, so we'll keep pushing. Hire 10,000 people. Oh, actually, build a bunch of bots. Exactly. And so, let's take O1, for instance, is O1 enough for your problems? Like, you know, let's say, aside for a second, like, for the app that you would love to build, is O1 basically reasoning, or do we still have, like, a step to do? Preview is not enough. I need the full one. Yeah. So that's exactly that sort of feedback.
Essentially, what I would love to do is for developers, I mean, there's a thing that Sam has been saying over and over again, like, you know, it's either said or not, but I think it's actually correct. As a developer, as a founder, you basically want to build an app which is a bit too difficult for the model today, right? Like, what you think is right, it's like sort of working, sometimes not working, and that way, you know, that basically gives us, like, a goal post, and we'll be like, okay, that's what we need to enable with the next model release, like, in a few months. And so I would say that usually, like, that's the sort of impact which is, like, the most useful, like, then, like, directly, like, you know, in PowerPoint. Awesome. I think that's our time. Thank you so much, guys. Yeah, thank you so much. Thank you. We were particularly impressed that Olivier addressed the not safe for work moderation policy question head on, as that had only previously been picked up on in Reddit forums. This is an encouraging sign that we will return to in the closing candor with Sam Altman at the end of this episode. Next, a chat with Roman Hewitt, friend of the pod.
AI Engineer World's fair closing keynote speaker and head of developer experience at OpenAI on his incredible live demos and advice to AI engineers on all the new modalities. All right, we're from OpenAI. We're Ramon, who just did two great demos on stage and he's been a friend of Latest Space, so thanks for taking some of the time. Of course, yeah. Thank you for being here and spending the time with us today. Yeah, I appreciate it. Appreciate you guys putting this on. I know it's like extra work, but it really shows the developers that you care about reaching out.
Yeah, of course. I think when you go back to the OpenAI mission, I think for us, it's super important that we have the developers involved in everything we do, making sure that they have all of the tools they need to build successful apps. And we really believe that the developers are always going to invent the ideas, the prototypes, the fun factors of AI that we can't build ourselves. So it's really cool to have everyone here. We had Michelle from you guys on. Thank you. She very seriously said API is the path to AGI. Correct. And people on our YouTube comments were like, API is not AGI. I'm like, no, she's very serious. API is the path to AGI.
You're not going to build everything like the developers are, right? Of course, yeah. That's the whole value of having a platform and ecosystem of amazing builders who can, in turn, create all of these apps. I'm sure we talked about this before, but there's now more than 3 million developers building on OpenAI, so it's pretty exciting to see all of that energy into creating new things. I was going to say, you built two apps on stage today, an International Space Station Tracker and then a drone. The hardest thing must have been opening Xcode and setting that up. Now, like, the models are so good that they can do everything else. You had two modes of interaction. You had kind of like ChatGPT app to get the plan with one, and then you had Cursor to apply some of the changes. How should people think about the best way to consume the coding models, especially, both for...
you know, brand new projects and then existing projects that they're trying to modify. Yeah. I mean, one of the things that's really cool about 01 Preview and 01 Mini being available in the API is that you can use it in your favorite tools, like Cursor, like I did, right? And that's also what like Devon from Cognition can use in their own software engineer agents. In the case of Xcode, like it's not quite deeply integrated in Xcode, so that's why I had like ChatGPT side by side.
But it's cool, right? Because I could instruct O1 Preview to be my coding partner and brainstorming partner for this app, but also consolidate all of the files and architect the app the way I want it. So all I had to do was just port the code over to Xcode, and zero shot the app built. I don't think I conveyed, by the way, how big a deal that is. But you can now create an iPhone app from scratch, describing a lot of intricate details that you want. And your vision comes to life in a minute. It's pretty outstanding. I have to admit, I was a bit skeptical. Because if I open up Xcode, I don't know anything about it.
You know which file to paste it in. You'll probably set it up a little bit. So I'm like, I have to go home and test it to figure out. And I need the ChatGPT desktop app so that it can tell me where to click. Yeah. I mean, like, Xcode and iOS development has become easier over the years since they introduced Swift and SwiftUI. I think back in the days of Objective-C or, like, you know, the storyboard, it was a bit harder to get in for someone new. But now with Swift and SwiftUI, their dev tools are really exceptional. But now when you combine that with O1 as your brainstorming and coding partner, it's like your architect, effectively. That's the best way, I think, to describe O1. People ask me, like, can GPT-4 do some of that? And it certainly can.
But I think it would just start spitting out code, right? And I think what's great about O1... is that it can make up a plan. In this case, for instance, the iOS app had to fetch data from an API, it had to look at the docs, it had to look at how do I parse this JSON, where do I store this thing, and kind of wire things up together. So that's where it really shines. Is Mini or Preview the better model that people should be using? I think people should try both. We're obviously very excited about the upcoming O1 that we shared the evals for. But we noticed that O1 Mini is very, very good at everything math, coding, everything STEM. If you need for your kind of brainstorming or your kind of science part, you need some broader knowledge and reaching for O1 Previews better. But yeah, I used O1 Mini for my second demo.
and it worked perfectly. All I needed was very much like something rooted in code, architecting and wiring up like a front end, a back end, some UDP packets, some web sockets, something very specific and did that perfectly. And then maybe just talking about Voice and Wanderlust, the app that keeps on giving. It does indeed, yeah. What's the backstory behind preparing for all that?
You know, it's funny because when last year for Dev Day, we were trying to think about what could be a great demo app to show an assistive experience. I've always thought travel is a great use case because you have pictures, you have locations, you have the need for translations potentially. There's so many use cases that are bounded to travel. But I thought last year, let's use a travel app. And that's how Wanderlust came to be. But of course, a year ago, all we had was a text-based assistant. And now we thought, well, if there's a voice modality, what if we just bring this app back as a wink? And what if we were interacting better with voice? And so with this new demo, what I showed was the ability to have a complete conversation in real time with
with the app. But also, the thing we wanted to highlight was the ability to call tools and functions. So in this case, we placed a phone call using the Twilio API, interfacing with our AI agents. But developers are so smart that they'll come up with so many great ideas that we could not think ourselves. But what if you could have a 911 dispatcher? What if you could have a customer service center that is much smarter than what we've been used to today? There's going to be so many use cases for real time. It's awesome. Yeah, and sometimes, actually, this should kill phone trees.
Like, there should not be, like, dial one, you know, whatever, I don't know. I mean, even you starting speaking Spanish would just do the thing, you know? You don't even have to ask. So, yeah, I'm excited for this future where we don't have to interact with those legacy systems. Yeah, yeah. Is there anything, so, you're doing function calling in a streaming environment. So, basically, it's WebSockets. It's UDP, I think. It's basically not guaranteed to be exactly once delivery. Like, is there any coding challenges that you encountered when building this?
Yeah, it's a bit more delicate to get into it. We also think that for now, what we ship is a beta of this API. I think there's much more to build onto it. It does have the function calling and the tools, but we think that, for instance, if you want to have something very robust on your client side, maybe you want to have WebRTC as a client, right? And as opposed to like directly working with the sockets at scale. So that's why we have partners like LifeKit and Agora if you want to use them. And I'm sure we'll have many more in the future. But yeah, we keep on iterating on that. And I'm sure the feedback of developers in the weeks to come is going to be super critical for us to get it right. Yeah, I think LifeKit has been fairly public that they are used in the Chattapiti app.
Is it just all open source and we just use it directly with OpenAI or do we use LifeKit Cloud or something? So right now we release the API. We release some sample code also and reference clients for people to get started with our API. And we also partnered with LifeKit and Agora. So they also have their own ways to help you get started that plugs natively with the real-time API. So depending on the use case, people can decide what to use. If you're working on something that's complete client or if you're working on a server side for the voice interaction, you may have different needs. So we want to support all of those. I know you've got a run. Is there anything that you want the AI engineering community to get feedback on specifically? Like even down to like, you know.
A specific API endpoint or like, what's the thing that you want? You know, if we take a step back, I think Death Day this year is all different from last year and in a few different ways. But one way is that we wanted to keep it intimate, even more intimate than last year. We wanted to make sure that the community is on the spotlight. That's why we have community talks and everything. And the takeaway here is like learning from the very best developers and AI engineers. And so, you know, we want to learn from them. Most of what we shipped this morning, including things like prompt caching, the ability to generate prompts quickly in the playground or even things like vision fine tuning. These are all things that developers have been asking of us. And so the takeaway I would leave them with is to say like, hey, the roadmap that we're working on is heavily influenced by them and they work.
And so we love feedback from high feature requests, as you say, down to very intricate details of an API endpoint. We love feedback. So yes, that's how we build this API. Yeah, I think the model distillation thing as well, it might be the most boring, but actually used a lot. True, yeah. And I think maybe the most unexpected, right? Because I think if I read Twitter correctly the past few days, a lot of people were expecting us to ship the real-time API for speech-to-speech. I don't think developers were expecting us to have more tools for distillation. And we really think that's going to be a big deal, right? If you're building apps that have, you know.
you want high, like low latency, low cost, but high performance, high quality on the use case, distillation is going to be amazing. Yeah, I sat in the distillation session just now and they showed how they distilled from 4-0 to 4-mini and it was like only like a 2% hit in the performance and 50 nx cheap. Yeah, yeah, I was there as well for the superhuman kind of use case inspired by the client. Yeah, this was really good. Cool man. Amazing. Thanks again for being here today. It's always great to have you. As you might have picked up at the end of that chat, there were many sessions throughout the day focused on specific new capabilities, like the new model distillation features, combining evals and fine tuning.
For our next session, we are delighted to bring back two former guests of the pod, which is something listeners have been greatly enjoying in our second year of doing the Latent Space podcast. Michelle Pokras of the API team joined us recently to talk about structured outputs and today gave an updated long-form session at Dev Day, describing the implementation details of the new structured output mode. We also got her updated thoughts on the voice mode API we discussed in her episode, now that it is finally announced. She is joined by friend of the pod and super blogger, Simon Willison, who also came back as guest co-host in our Dev Day 2023 episode. Great, we're back, light at Dev Day, returning guest, Michelle, and then returning guest co-host, Ford.
Yeah, I don't know. Simon Willis and his back. Yeah, we just wrapped everything up. Congrats on getting everything live. Simon did a great live blog, so if you haven't caught up. I implemented my live blog while waiting for the first talk to start using GP4. I wrote me the JavaScript. And I got that live just in time, and then I was live blogging the whole day. Are you a cursor enjoyer? I haven't really gotten to cursor yet, to be honest. I just haven't spent enough time for it to click, I think. Yeah. I'm more a copy and paste things out of Claude and ChatGPT. Yeah.
It's interesting. Yeah, I've converted to Cursorfer, and 01 is so easy to just toggle on and off. What's your workflow? Copy-based? OK, I'm going to be real. I'm still VS Code Copilot. So Copilot is actually the reason I joined OpenAI. It was, you know, before ChatGPT, this is the thing that really got me. So I'm still into it. But I keep meaning to try out Cursor, and I think now that things have calmed down, I'm going to go down. Yeah, it's a big thing to change your tool of choice. Yes, yeah. I'm pretty tired, so. Yeah, I mean.
You know, if you want, you can just fork VS Code and make your own. That's the thing to do. It's a dumb thing, right? Yeah. We talked about doing a hackathon where the only thing you do is fork VS Code and make the best fork win. Nice. That's actually a very good idea.
Yeah, so congrats on launching everything today. I know we touched on it a little bit, but everyone was guessing that Voice API was coming, and we talked about it in our episode. How do you feel going into the launch? Any design decisions that you want to highlight? Yeah, super jazzed about it. The team has been working on it for a while. It's a very different API for us. It's the first WebSocket API. So a lot of different design decisions to be made. It's like, what kind of events do you send? When do you send an event? What are the event names? What do you send on connection versus on future messages? So there have been a lot of interesting decisions there. The team has also hacked together really cool projects as we've been testing it.
One that I really liked is we had an internal hackathon for the API team. And some folks built a little hack that you could use Vim with voice mode to control Vim. And you would tell them how to write a file. And it would know all the Vim commands and type those in. So yeah, a lot of cool stuff we've been hacking on. I'm really excited to see what people build with it.
I've got to call out a demo from today. I think it was Katia had a 3D visualization of the solar system, like WebGL solar system you could talk to. That is one of the coolest conference demos I've ever seen. That was so convincing. I really want the code. I really want the code for that to get put out there. I'll talk to you. Absolutely beautiful example. And it made me realize that the real-time API, this WebSocket API, it means that building a website that you can just talk to is easy now. It's like it's not difficult to build, spin up a web app where you have a conversation with it. It calls functions for different things. It interacts with what's on the screen. I'm so excited about that. There are all of these projects I thought I'd never get to. And I'm like, you know what?
Spend a weekend on it. I can have a talk to your database with a little web application. Yeah. That's so cool. Chat with PDF, but really chat with it. Really chat with PDF. Not completely. Totally. And it's not even hard to build. That's the crazy thing about this. Yeah.
Very cool. Yeah, when I first saw the Space demo, I was actually just wowed. And I had a similar moment, I think, to all the people in the crowd. I also thought Roman's drone demo was super cool. That was a super fun one as well. Yeah, I actually saw that live this morning. I was holding my breath for sure. Knowing Roman, you probably spent the last two days working on it. But yeah, I'm curious about, you were talking with Roman actually earlier about what the different levels of extraction are with WebSockets. It's something that most developers
I have zero experience with it. Apparently there's the RTC level, and there's the WebSocket level, and there's levels in between. Not so much. I mean, with WebSockets, with the way they've built their API, you can connect directly to the OpenAI WebSocket from your browser. And it's actually just regular JavaScript. You instantiate the WebSocket thing. It looks quite easy from their example code. The problem is that if you do that, you're sending your API key from source code that anyone can view. Yeah, we don't recommend that for production. So it doesn't work for production, which is frustrating because it means that you have to build a proxy. So I'm going to have to go home and build myself a little WebSocket proxy just to hide my API key.
I want OpenAIo to do that. I want OpenAIo to solve that problem for me so I don't have to build the 1000th WebSocket proxy just for that one problem. We've also partnered with some partner solutions. We've partnered with, I think, Agora, LiveKit, a few others. So there's some loose solutions there, but yeah, we hear you. It's a beta.
Yeah, I mean, you still want a solution where someone brings their own key and they can trust that you don't get it, right? Kind of. I mean, I've been building a lot of bring-your-own-key apps where it's my HTML JavaScript, I store the key in local storage in their browser, and it never goes anywhere near my server, which works, but how do they trust me? How do they know I'm not going to ship another piece of JavaScript that steals the key from the label? And so nominally, this actually comes with the crypto background. This is what MetaMask does? Yeah, it's a public-private key thing. Yeah. Like, why doesn't OpenAI do that? I don't know if it obviously is. I mean, as with most things, you'd think there's some really interesting question and really interesting reason, and the answer is just, you know.
It's not been the top priority, and it's hard for a small team to do everything. I have been hearing a lot more about the need for things like sign-in with OpenAI. I want to bounce my users through JackGPT, and I get back a token that lets me spend up to $4 on the API on their behalf. Then I could ship all of my stupid little experiments, which currently require people to copy and paste their API key, which cuts off everyone. Nobody knows how to do that. Totally. I hear you. Something we're thinking about, and yeah, stay tuned. Yeah, yeah. Right now, I think the only player in town is OpenRouter. That is basically, it's funny, it was made by, I forget his name, but he used to be CTO of OpenSea.
And the first thing he did when he came over was build MetaMask for AI. Totally. Yeah, very cool. What's the most underrated release from today? Vision fine-tuning. Vision fine-tuning is so underrated. For the past two months, whenever I talk to founders, they tell me this is the thing they need most. A lot of people are doing OCR on very bespoke formats, like government documents, and vision fine-tuning can help a lot with that use case. Also, bounding boxes. People have found a lot of improvements for bounding boxes with vision fine-tuning. So yeah, I think it's pretty slept on. People should try it. You only really need 100 images to get going. Tell me more about bounding boxes. I didn't think that GPT-4 Vision could do bounding boxes at all. Yeah, it's actually not that amazing at it. We're working on it.
fine-tuning. You can make it really good for your use case. That's cool. Because I've been using Google Gemini's banding box stuff recently. It's very, very impressive. Yeah. But being able to fine-tune a model for that. The first thing I'm going to do with fine-tuning for images is I've got five chickens and I'm going to fine-tune a model that can tell which chicken is which. Love it. Which is hard because clear them are grey. Yeah. So there's a little bit of... Okay, this is my new favorite use case. This is awesome. Yeah. I've managed to do it with prompting. Just like I gave Claude pictures of all of the chickens and then said, okay, which chicken is this? Yeah.
But it's not quite good enough because it confuses the gray chicken. So we can close that email gap. Yeah, it's going to be a great eval. My chicken eval is going to be fantastic. I'm also really jazzed about the evals product. It's kind of like a sub launch of the distillation thing. But people have been struggling to make evals. And the first time I saw the flow with how easy it is to make an eval in our product, I was just blown away. So I recommend people really try that. I think that's what's holding a lot of people back from really investing in AI because they just have a hard time figuring out if it's going well for their use case. So we've been working on making it easier to do that. Does the eval product include structured output testing? Yeah, you can check out if it matches your JSON schema. Yeah.
No, I mean, we have guaranteed structured output anyway, right? So we don't have to test it. Well, not the schema, but like the performance. I think so. So you might call the wrong function. Oh, I see. You're going to write schema, wrong output. So you can do function calling testing. I'm pretty sure. I'll have to check that for you, but I think so. We'll make sure it's done. How do you think about the evolution of the API design? I think to me that's the most important thing. So even with the OpenAI levels, like chatbots, I can understand what the API design looks like. Reasoning, I can kind of understand it, even though like channel thought kind of changes things.
As you think about real-time voice and then you think about agents, how do you think about how you design the API and what the shape of it is? Yeah, so I think we're starting with the lowest level capabilities, and then we build on top of that as we know that they're useful. So a really good example of this is real-time. We're actually going to be shipping audio capabilities in chat completions. So this is the lowest level capability. So you supply in audio, and you can get back raw audio, and it works at the request response layer. But through building advanced voice mode, we realized ourselves that it's pretty hard to do with something like chat completions. And so that led us to building this web socket API. So we really learned a lot from our own tools, and we think.
And for certain use cases or async stuff, but you're really going to want a real-time API. And then as we test more with developers, we might see that it makes sense to have another layer of abstraction on top of that, something closer to more client-side levers. But for now, that's where we feel we have a really good point of view. So that's the question I have. If I've got a half-hour-long audio recording, at the moment, the only way I can feed that in is if I call the WebSocket API and slice it up into little JSON basics for snippets and fire them all over.
In that case, I'd rather just give you a, like an image in the chat completion API, give you a URL to my MP3 files and input. Is that something? That's what we're going to do. Oh, thank goodness for that. Yes. It's in the blog post. I think it's a short one-liner, but it's rolling out, I think, in the coming weeks. Oh, wow. Oh, really soon, then. Yeah, the team has been sprinting. We're just putting finishing touches on stuff. Do you have a feel for the length limit on that? I don't have it off the top. OK. Because, yeah, often I want to do, I do a lot of work with, like, transcript of hour-long YouTube videos, which, currently, I run them through Whisper, and then I do the transcript that way. But being able to do the multimodal thing of those would be really useful. Totally, yeah. We're really just about it. We want to basically give the lowest capabilities we have
I just realized what I can do, though, is I do a lot of Unix utilities, little, like, Unix things. I want to be able to pipe the output of a command into something which streams that up to the WebSocket API and then speaks it out loud. So I can do streaming speech of the output of things. That should work. Like, I think you've given me everything I need for that. That's cool. Yeah. Excited to see me build. I heard there are, like, multiple competing solutions. And you guys eviled it before you picked WebSockets. Like, server-set events, polling, I don't, like.
Can you give your thoughts on the live updating paradigms that you guys looked at? Because I think a lot of engineers have looked at stuff like this. I think WebSockets are just a natural fit for bidirectional streaming. Other places I've worked, like Coinbase, we had a WebSocket API for pricing data. I think it's just a very natural format. So it wasn't even really that controversial at all? I don't think it was super controversial. I mean, we definitely explored the space a little bit, but I think we came to WebSockets pretty quickly.
Cool, video? Yeah, not yet, but possible in the future. I actually was hoping for the ChatGPT desktop app with video today because that was demoed. Yeah, it was a dev day. I think the moment we have the ability to send images over the WebSocket API, we get video. My question is, how frequently? Because sending a whole video frame of a 1080p screen, maybe it might be too much. What's the limitations on a WebSocket chunk going over? I don't know.
I don't have that off the top. Like Google Gemini, you can do an hour's worth of video in their context window just by slicing it up into 10 frames a second. And it does work. I don't know. But then that's the weird thing about Gemini is it's so good at you just giving it a flood of individual frames. It'll be interesting to see if GPT-4O can handle that or not. Do you have any more feature requests? It must have been a long day for everybody, but you got me show right here. My one is, I want you to do all of the accounting for me. I want my users to be able to run my apps, and I want them to call your APIs with their user ID and have you go, oh, they've spent 30 cents, cut them off at a dollar. I can check how much they spent, all of that stuff, because I'm having to build that at the moment, and I really don't want to. I don't want to be a token accountant. I want you to do the token accounting for me. Yeah, totally. I hear you. Let's get feedback.
Well, how does that contrast with your actual priorities? I feel like you have a bunch of priorities. They showed up on stage with multimodality and all that. Yeah. It's hard to say. I would say things change really quickly. Things that are big blockers for user adoption we find very important. And yeah, it's a rolling prioritization. No Assistant API update? Not at this time. Yeah. I was hoping for an all one native thing in Assistant. So I thought they would go well together. We're still kind of iterating on the formats. I think there are some problems with the Assistant API, some things it does really well. And I think we'll keep iterating and land on something really good, but just wasn't quite ready yet. Some of the things that are good in the Assistant API is hosted tools. People really like hosted tools, and especially RAG.
And then some things that are less intuitive is just how many API requests you need to get going with the assistance API. It's quite a lot. Yeah, you've got to create an assistant, you've got to create a thread, you've got to do all this stuff. So yeah, it's something worth thinking about. It shouldn't be so hard. The only thing I've used it for so far is code interpreter. It's like it's an API to code interpreter. Yes. Crazy exciting. Yes, we want to fix that and make it easier to use. I want code interpreter over WebSockets. That would be wildly interesting.
Yeah. Do you want to bring your own code interpreter or you want to use OpenAI as well? I want to use that because code interpreter is a hard problem. Sandboxing and all of that stuff is. Yeah, but there's a bunch of code interpreter as a service things out there. There are a few now, yeah. Because there's, I think you don't allow arbitrary installation of packages. Oh, they do. They really do. Unless they use your hack. Yeah, and I do. You can upload a kit package. You can compile C code in code interpreter. I know. That's a hack. That's a hack. Oh, it's such a glorious hack though.
Okay. I've had it write me custom-seek light extensions in C and compile them and run them inside of Python and it works. I mean, yeah, there's others. E2B is one of them. Like, yeah, it'll be interesting to see what the real-time version of that would be. Yeah. Awesome, Michelle. Thank you for the update. We left the episode as, what would voice mode look like? Obviously, you knew what it looked like, but you didn't say it. So now you can do it. Yeah, here we are. Thank you. That's it. Our final guest today and also a familiar recent voice on the latent space pod presented at one of the community talks at this year's Dev Day.
Alistair Pullen of Cozine made a huge impression with all of you. Special shout out to listeners like Jesse from Morph Labs when he came on to talk about how he created synthetic datasets to fine-tune the largest lauras that had ever been created for GPT-40 to post the highest ever scores on Sweebench and Sweebench Verified while not getting recognition for it because he refused to disclose his reasoning traces to the Sweebench team. Now that OpenAI's 01 preview is announced, it is incredible to see the OpenAI team also obscure their chain of thought traces for competitive reasons and still perform lower than Cozine's genie model. We snagged some time with Ali to break down what has happened since his episode aired. Welcome back, Ali. Thank you so much. Thanks for having me. So you just spoke at OpenAI Dev Day. What was the experience like? Did they reach out to you? You seem to have a very close relationship. Yeah, so off the back of the work that we've done that we spoke about last time we saw each other, I think that OpenAI definitely felt that the work we've been doing around fine-tuning was worth sharing. I would obviously tend to agree. But today I spoke about some of the techniques that we learned. Obviously it was like a non-linear path.
arriving to where we've arrived and the techniques that we built to build Genie. So I think I shared a few extra pieces about some of the techniques and how it really works under the hood, how you generate a data set to show the model how to do what we show the model. And that was mainly what I spoke about today. I mean, yeah, they reached out and I was super excited at the opportunity, obviously. Like it's not every day that you get to come and do this, especially in San Francisco. So yeah, they reached out and they were like, do you want to talk at Dev Day? You can speak about basically anything you want related to what you've built. And I was like, sure, that's amazing. I'll talk about fine tuning how you build a model that does this software engineering. So yeah. Yeah. And the trick here is when we talked, O1 was not out. Did you know about O1 or? I didn't know. I knew some bits and pieces.
No, not really. I knew a reasoning model was on the way. I didn't know what it was going to be called. I knew as much as everyone else. Strawberry was the name back then. Because, you know, I'll fast forward. You were the first to hide your chain of thought reasoning traces as IP. Yes. Famously, that got you in trouble with Sue Bench or whatever. Yes. I feel slightly indicated by that now. And now, obviously, Owen is doing it. Yeah, I mean, like, I think it's true to say right now that the reasoning of your model gives you the edge that you have.
And the amount of effort that we put into our data pipeline to generate these human-like reasoning traces was, I mean, that wasn't for nothing. We knew that this was the way that you'd unlock more performance, getting them all to think in a specific way. In our case, we wanted it to think like a software engineer. But yeah, I think that... the approach that other people have taken like OpenAI in terms of reasoning has definitely showed us that we were going down the right path pretty early on and even now we've started replacing some of the reasoning traces in our Genie model with reasoning traces generated by O1 or at least in tandem with O1 and we've already started seeing improvements in performance from that point. But no, back to your point, in terms of the whole withholding them, I still think that that was the right decision to do because of the very reason that everyone else has decided to not share those things. It shows exactly how we do what we do and that is our edge at the moment.
as a founder so they also feature recognition on stage talk about that how does that make you feel that like you know they're like hey o1 is so much better makes us better for you it should be like oh i'm so excited about it too because now all of a sudden it's like it kind of like raises the floor for everybody like how should people especially new founders how should they think about you know worrying about the new model versus like being excited about them just focusing on like the core ep and maybe switching out some of the parts like you mentioned yeah i i speaking for us i mean obviously like we were extremely excited about o1 because At that point, the process of reasoning is obviously very much baked into the model. We fundamentally, if you remove all distractions and everything, we are a reasoning company. We want to reason in the way that a software engineer reasons. So when I saw that model announced, I thought immediately, well, I can improve the quality of my traces coming out of my pipeline. So my signal-to-noise ratio gets better. And then, not immediately, but down the line, I'm going to be able to train those traces into O1 itself. So I'm going to get even more performance that way as well. So it's, for us, a really nice position to be in, to be able to take advantage of it, both on the prompted side and the function side. And also because, fundamentally, like...
We are, I think, fairly clearly in a position now where we don't have to worry about what happens when O2 comes out, what happens when O3 comes out. This process continues. Like, even going from, you know, when we first started going from 3.5 to 4, we saw this happen. And then from 4 turbo to 4.0 and then from 4.0 to O1, we've seen the performance get better every time. And I think, I mean, like, the crude advice I give to any startup founder is try to put yourself in a position where you can take advantage of the same, you know, like, sea level rise every time, essentially. Do you make anything other than the fact that you were able to take 4.0 and fine-tune it higher than O1 currently scores on SweetBench Verified? Yeah, I mean, like, that was obviously...
To be honest with you, you realized that before I did. Eading value. Yes, absolutely. That's a value-add investor right there. No, obviously, I think it's been... That in of itself is really vindicating to see because I think we have heard from some people, not a lot of people, but some people saying, well, okay, well, if O1 can reason, then what's the point of doing your reasoning? But it shows how much more signal is in the custom reasoning that we generate. And again, it's the very obvious thing. If you take something that's made to be general and you make it specific, of course, it's going to be better at that thing, right? So it was obviously great to see we still are better than O1 out of the box, even with an older model, and I'm sure that that...
that delta will continue to grow. Once we're able to train O1, once we've done more work on our dataset using O1, that delta will grow as well. It's not obvious to me that they will allow you to find O1, but maybe they'll try. I think that the core question that OpenAI really doesn't want you to figure out is, can you use an open source model and beat O1? Interesting. Because you basically have shown proof of concept that a non-O1 model can beat O1.
And their whole O1 marketing is, don't bother trying. Like, don't bother stitching together multiple chain of thought calls, we did something special, secret sauce, you don't know anything about it. And somehow, your 4.0 chain of thought reasoning as a software engineer is still better. Maybe it doesn't last. Maybe they're going to run O1 for five hours instead of five minutes, and then it suddenly works.
So I don't know. It's hard to know. I mean, one of the things that we just want to do out of sheer curiosity is do something like fine-tune 405B on the same dataset. Like, same context window length, right? So it should be fairly easy. We haven't done it yet. Truthfully, we have been so swamped with the waitlist shipping product, you know, dev day, like, you know, onboarding customers from our waitlist. All these different things have gotten in the way. But it is definitely something out of more curiosity than anything else I'd like to try out. But also, it opens up a new vector of, like, if someone has a VPC where they can't deploy an open AI model, but they might be able to deploy an open source model, it opens that up for us as well from a customer perspective. So it'll probably be quite useful. I'd be very keen to see what the results are, though.
I suspect the answer is yes, but it may be hard to do. So Reflection 70B was a really crappy attempt at doing it. You guys were much better, and that's why we had you on the show. I'm interested to see it. Open 01, basically. People want Open 01. Yeah, I'm sure they do. As soon as we do it, and once we've wrapped up what we're doing in San Francisco, I'm sure we'll give it a go. I spoke to some guys today actually about fine-tuning 405B who might be able to allow us to do it very easily. I don't want to have to basically do all the setup myself. So yeah, that might happen sooner rather than later.
anything from the releases today that you're super excited about so prompt caching i'm guessing when you're like dealing with a lot of code bases that would be helpful is there anything with vision fine-tuning related to like more like ui yeah definitely yeah i mean like we were talking it's funny like my co-founder sam who you've met uh and i were talking about the idea of doing vision fine-tuning like way back, like well over a year ago, before Genie existed as it does now, when we collected our original dataset to do what we do now, whenever there were image links and links to like graphical resources and stuff, we also pulled that in as well. We never had the opportunity to use it, but it's something we have in storage. And again, like when we have the time, it's something that I'm super excited, particularly on the UI side, to be able to like leverage, particularly if you think about one of the things, not to sidetrack, but one of the things we've noticed is, I know Sweebench is like the most commonly talked about thing, and honestly, it's an amazing project, but one of the things we've learned the most from actually shipping this product to users is it's...
a pretty bad proxy at telling us how competent the model is. So for example, when people are doing React development using Genie, for us, it's impossible to know whether what it's written has actually done what it wanted to. So at least even using the fine-tuning provision to be able to help eval what we output is already something that's very useful. But also in terms of being able to pair, here's a UI I want, here's the code that actually represents that UI, is also going to be super useful as well, I think. In terms of generally, what have I been most impressed by? The distillation thing is awesome. I think we'll probably end up using it in places. But what it shows me more broadly about OpenAI's approach is...
They're going to be building a lot of the things that we've had to hack together internally in terms from a tooling point of view, just to make our lives so much easier. And I've spoken to John, the head of fine-tuning, extensively about this. But there's a bunch of tools that we've had to build internally for things like dealing with model lineage, dealing with data set lineage, because it gets so messy so quickly that we would love OpenAI to build. Absolutely would love them to build. It's not what gives us our edge, but it certainly means that then we don't have to build it and maintain it afterwards. So it's a really good first step, I think, in the overall maturity of the fine-tuning product and API in terms of where they're going to see those early products. And I think that they'll be continuing in that direction going on.
So there's a very active ecosystem of LLM Ops tools. Did you not evaluate those before building your own? We did. But I think fundamentally, like, no more. I think in a lot of places, it was never a big enough pain point to be like, oh, we absolutely must outsource this. It's definitely, in many places, something that you can hack a script together in a day or two and then hook it up to our already existing internal tool UI, and then you have what you need. And whenever you need a new thing, you just hack it on. But for all of these LLM ops tools, I've never felt the pain point enough to really bother. And that's not to deride them at all. I'm sure many people find them useful. But just for us as a company, we've never felt the need for them.
So it's great that OpenAI are going to build them in because it's really nice to have them there, for sure. But it's not something that I'd ever consider really paying for externally or something like that, if that makes sense. Yeah. Does voice mode factor into Genie? Maybe one day. That'd be sick, wouldn't it? Yeah, I think so. You're the first person that we are. We've been asking this question to everybody. You're the first person to not mention voice mode. Oh, well, it's currently so distant from what we do. But I definitely think this whole talk, if we want it to be a full-on AI software engineering colleague, there is definitely a vector in some way that you can build that in.
Maybe even during the ideation stage, talking through a problem with Genie in terms of how we want to build something down the line, I think that might be useful. But honestly, that would be nice to have when we have the time. Yeah, amazing. One last question. In your talk, you mentioned a lot about curating your data and distribution and all that. Yes. And before we sat down, you talked a little bit about having to diversify your data set. What's driving that? What are you finding? So we have been rolling people off the wait list that we sort of amassed when we announced when I last saw you. And it's been really interesting because, as I may have mentioned on the podcast, we had to be very opinionated about the data mix and the data set that we put together for sort of the V0 of Genie.
Again, to your point, JavaScript, JavaScript, JavaScript, Python, right? There's a lot of JavaScript in its various forms in there. But it turns out that when we shipped it to the very early alpha users we rolled it out to, for example, we had some guys using it with a C-sharp code base. And C-sharp currently represents, I think, about 3% of the overall data mix. And they weren't getting the levels of performance that they saw when they tried it with the Python code base. And it was obviously not great for them to have a bad experience, but it was nice to be able to correlate it with the actual objective data mix that we saw. So we did what we've been doing.
It's like little top-up fine-tunes where we take the general genie more than we do an incremental fine-tune on top with just a bit more data for a given vertical language. And we've been seeing improvements coming from that. So again, this is one of the great things about baptism by fire and letting people use it and giving you feedback and telling you where it sucks because that is not something that we could have just known ahead of time. So I want that data mixed over time as we roll it out to more and more people. And we are trying to do that as fast as possible. We're still a team of five for the time being. To be as general and as representative of what our users do as possible and not what we think they need. Yeah. So every customer is going to have their own fine-tune.
There is going to be the option to fine-tune the model on your codebase. It won't be in the base pricing tier, but you will definitely be able to do that. It will go through all of your codebase history, learn how everything happened, and then you will have an incrementally fine-tuned genie just on your codebase. And that's what Enterprise is really lovely, the idea of. Lovely. Perfect. Anything else? That's it. Thank you so much. Thank you so much, guys. Good to see you. Thank you. Lastly, this year's Dev Day ended with an extended Q&A with Sam Altman and Kevin Weil.
We think both the questions asked and answers given were particularly insightful, so we are posting what we could snag of the audio here from publicly available sources, credited in the show notes, for you to pick through. If the poorer quality audio here is a problem, we recommend waiting for approximately one to two months until the final video is released on YouTube. In the meantime, we particularly recommend Sam's answers on the moderation policy, on the underappreciated importance of agents and AI employees beyond Level 3, and his projections of the intelligence of O1, O2, and O3 models in future. All right, I think everybody knows you. For those who don't know me, I'm Kevin Wheel, Chief Product Officer at OpenAI. I have the good fortune of getting to turn the amazing research that our research teams do into the products that you all use every day and the APIs that you all build on every day. I'll probably start with some audience engagement here. So on the count of three, I'm going to count to three, and I want you all to say, of all the things that you saw launched here today, what's the first thing you're going to integrate? It's the thing you're most excited to build on, all right? You got to do it, right? One, two, three. Real without API.
I'll say personally I'm super excited about our distillation products. I'm also excited to see what you all do with advanced voice mode with the real-time API and with vision fine tuning in particular. Okay, so I've got some questions for Sam. I've got my CEO here in the hot seat. Let's see if I can't make a career-limiting move. So we'll start with an easy one, Sam. How close are we to AGI?
We used to, every time we finished the system, we would say, like, in what way is this not an AGI? And it used to be, like, very easy. You could, like, make a robotic hand that doesn't produce cube or a dotabot. It's like, oh, it does some things, but definitely not an AGI. It's obviously harder to say no. So we're trying to, like, stop talking about AGI as this general thing. We have this level of framework because the word AGI has become so overlooked. So, like, real quickly, we use one for chatbots, two for reasoners, three for agents, four for innovators, five for organizations, like, roughly. I think we clearly got to level two, and we clearly got to level two with O1. And, you know, it can do really quite impressive.
It doesn't feel AGI-like in a few important ways, but I think if you just do the one next step of making it very agent-like, which I think we will be able to do in the not-a-distant future, it will feel surprisingly capable. So probably not something that most of you would call an AGI, but it's going to feel like, all right, this is like a significant thing. And then the leap from that to something that can... really increase the rate of new scientific discovery, which for me is a very important part of having AGI. I feel a little bit less certain on that, but not a long time. I think all of this now is going to happen pretty quickly. If you think about what happened from last decade to this one in terms of model capabilities, and you're like, if you go from my old one-up problem back to Fort Turbo that we launched 11 months ago, you'd be like, wow, this has happened pretty fast. And I think the next year will be very steep. The next two years will be very steep. It's harder than that. Hard to see a lot of certainty. But I would say not the theory, and at this point, the definition's really important. And the fact that the definition doesn't matter this much, somehow means we're like,
getting close yeah and you know there used to be the sense of agi where it was like it was a binary thing and you're gonna go to sleep one day there was no agi and wake up the next day there was agi i don't think that's exactly how we think about it anymore but how have your views evolved you know the one i agree with that i think we're like you know in this like kind of period where it's gonna feel very blurry for a while and you know is this AGI yet or is this not AGI or kind of like at what point yeah it's just gonna be this like smooth exponential and you know probably most people looking back because we won't agree like when that milestone was hit will just realize it was like a silly thing. Even the Turing test which I thought always was like this very clear milestone you know there was this like fuzzy period it kind of like went wushin dai and no one cared but I think the right framework is just this one exponential. That said if we can make an AI system that is like materially better at all of open AI than doing AI research.
That does feel to me like some sort of important discontinuity. It's probably still wrong to think about it that way. It probably still is the smooth exponential curve, but that feels like a good milestone. Is OpenAI still as committed to research as it was in the early days? Will research still drive for our advancements in our product development? Yeah, I mean, I think more than ever. There was a time in our history when the right thing to do was just to scale up compute, and we saw that with conviction. And we had a spirit of, like, we'll do whatever works. You know, like, we want to, we have this mission, we want to build a safe AGI, figure out how to share benefits. If the answer is, like, rapid GPUs, we'll do that. And right now, the answer is, again, really push on research. And I think you see this with O1. Like, that is a giant research breakthrough that we were attacking for many vectors over a long period of time that came together. It's a really powerful way.
We have many more giants to come, but the thing that I think is most special about OpenAI is that we deeply care about research and we understand how to, I think, It's easy to copy something new that works. And, you know, I actually don't even mean that. I think like when people copy open AI, I'm like, great, the world gets more AI. That's wonderful. But to do something new for the first time, to like really do research in the true sense of it, which is not like, you know, let's barely get soda at this thing or like, let's tweak this. But like, let's go find the new paradigm and the one that's back and the one that's back. That is what motivates us. And I think the thing that is special about us as an org. Besides the fact that we, you know, married product and research and all this other stuff together, is that we know how to run that kind of culture that can go...
They can go push back the frontier, and that's really great. But we love it, and that's, you know, I think we're going to do that a few more times. I'll say, like, the litmus test for me coming from the outside, from, you know, sort of normal tech companies, how critical research is to OpenAI, is that building product at OpenAI is fundamentally different than any other place that I have ever done it before. Normally, you have some sense of your tech stack. You have some sense of what you have to work with, what capabilities computers have, and then you're trying to build the best product, right? You're figuring out who your users are, what problems they have, and how you can help solve those problems for them.
There is that at OpenAI. But also, the state of what computers can do just evolves every two months, three months, and suddenly computers have a new capability that they've never had in the history of the world, and we're trying to figure out how to build a great product and expose that for developers and our APIs and so on. You can't totally tell what's coming. It's coming through the mist a little bit at you and gradually taking shape. It's fundamentally different than any other company I've ever worked at. Is that the thing that is most surprising? Yes. Yeah, and it's interesting how...
Even internally, we don't always have a sense. You have like, okay, I think this capability is coming, but is it going to be 90% accurate or 99% accurate in the next model? Because the difference really changes what kind of product you can build. And you know that you're going to get to 99 and don't quite know when, and figuring out how you put a roadmap together in that world is really interesting. Yeah, the degree to which we have to just follow the science and let that determine what we go work on next and what products we build and everything else is, I think, hard to get across. We have guesses about where things are going to go. Sometimes we're right, often we're not. But if something starts working or if something doesn't work, you thought it was going to work.
Our willingness to just say, we're going to pivot everything and do what the science allows, and you don't get to pick what science allows, that's surprising. I was sitting with an enterprise customer a couple weeks ago, and they said, you know, one of the things we really want, this is all working great, we love this, one of the things we really want is a notification 60 days in advance when you're going to launch something. And I was like, I want that too. All right, so I'm going through, these are a bunch of questions from the audience, by the way, and we're going to try and also leave some time at the end for people to ask audience questions. So we've got some folks with mics and only get their, they'll be thinking. But next thing is, so many in the Alignment community are genuinely concerned that OpenAI is now only paying lip service to Alignment. Can you reassure us? Yeah, I think it's true we have a different take on Alignment than, like, maybe when people write about Alignment, like, an event on us. But we really do care a lot about building safe systems. We have an approach to do it that has been informed by our experience so far.
and touch on that question, which is you don't get to pick where the science goes, of we want to figure out how to make capable models that get safer and safer over time. And, you know, a couple of years ago, we didn't think the whole strategy or the ongoing paradigm was going to work in the way that it's worked. And that brought a whole new set of safety challenges, but also safety opportunities. And rather than kind of like a plan to make theoretical, once, you know, super intelligence gets here, here's the like 17 principles, we have an approach of figure out where the capabilities are going and then work to make that system safe. And...
O1 is obviously our most capable model ever, but it's also our most online model ever, by law. And as... As these models get better intelligence, better reasoning, whatever you want to call it, the things that we can do to align them, things we can do to build really safe systems across the entire stack, our toolset keeps increasing as well. So we have to build models that are generally accepted as safe for us to be able to build them in the world. And when we started opening up what the picture of alignment looked like and what we thought the problems that we needed to solve were going to be turned out to be nothing like the problems that actually are in front of us that we had to solve now. And also, when we made the first GT3, if you asked me for the techniques that would have worked for us to be able to not deploy our current systems as...
generally accepted to be saved or lost, they would not have been the ones that turned out to work. So by this idea of inter-deployment, which I think has been one of our most important safety sentences ever, and sort of confronting reality as it's in front of us, we've made a lot of progress, and we expect to make more. We keep finding new problems to solve, but we also keep finding new techniques to solve them. All of that said, I think worrying about the sci-fi... ways this all goes wrong is also very important. We have people thinking about that. It's a little bit less clear, kind of, what to do there, and sometimes we end up backtracking a lot, but I also think it's scary to say we're only gonna work on the thing in front of us. We do have to think about where this is going, and we do that too. And I think we keep approaching the problem from both ends like that. Most of our trust on the, like, okay, here's the next thing. We're gonna deploy this, but what needs to happen to get there? But also, like, what happens if this person is right? That's been an advantage for us.
I'll say also, it's one of the places where I really like our philosophy of iterative deployment. When I was at Twitter back, I don't know, 100 years ago now, Em said something that stuck with me, which is no matter how many smart people you have inside your walls, there are way more smart people outside your walls. And so when we try and get our, you know, it'd be one thing if we just said we're going to try and figure out everything that could possibly go wrong within our walls, and we could just cost the red teamers that we can hire and so on. And we do that. We work really hard at that. But also launching iteratively and launching carefully and learning from the ways that folks like you all use it, what can go right, what can go wrong. I think it's a big way that we get these things right. Awesome.
I think that as we head into this world of agents off being used in the world, that was going to become really, really important. As these systems get more complex and are acting on the longer horizons, then pressure testing from the whole outside world, I really think we're going to go. Yeah. So we'll go off of that and maybe talk to us a bit more about how you see agents fitting in to those guys' long term plans. What do you think? That's not a huge part of that. I think the exciting thing is this.
This set of models, O1 in particular, and all of its successors are going to be what makes this possible. Because you finally have the ability to reason, to take hard problems, break them into simpler problems, and act on them. And I think 2025 is going to be the year that's really good. Yeah, I... I mean, chat interfaces are great, and they have an important place in the world, but when you can ask a model, when you can ask ChatGT or some agent something, and it's not just like you get a quick response, or you can get 15 seconds of thinking and nobody gives you a nice piece of code back or whatever, but you can really give something a multi-term interaction with environments or other people or whatever, and think for the equivalent of multiple days of human effort, and a really smart, really capable human, and have stuff happen.
We all say that, we're all like, oh yeah, this is the next thing, this is coming, this is going to be another thing, and we just talk about it like, okay, you know, it's like the next model evolution. I would bet, you don't really know until we get to use this. We'll of course get used to it quickly, people get used to technology quickly, but this will be like a very significant change to the way the world works in a short period of time. Yeah, it's amazing, so he was talking about getting used to new capabilities and AI models and how quickly, I think it was about Waymo, but they were talking about how in the first... 10 seconds of using Waymo, they were like, oh my god, is this thing, let's watch out. And then 10 minutes in, they were like, oh, this is really cool. And then 20 minutes in, they were like checking their phone for, you know, it's amazing how much your internal firmware updates for this new stuff. Yeah, like I think that people will.
ask an agent to do something for them that would have taken them a month, and they'll finish in an hour, and it'll be great, and then they'll have, like, 10 of those at the same time, and then without a thousand of those at the same time, and by 2030 or whatever, we'll look back and be like, yeah, this is just, like, what a humanist must be capable of, what a humanist used to, like, you know, grind at for years, or whatever, or many humans used to grind at for years, like, I just now, like, asked a computer to do it, it's, like, done in an hour. That's, why is it not a minute? Yeah, it's also, it's one of the things that makes having an amazing developer platform great, too, because, you know, we'll experiment and we'll build some agentic things, of course, and, like, we've already got, I think, just, like, we're just pushing the boundaries of what's possible today. You've got groups like Cognition doing amazing things and coding, like Harvey and Case Text, you've got Steak doing cool things with language translation, like, we're beginning to see this stuff work, and I think it's really going to start working as we continue to iterate these calls. One of the very fun things for us about having this developer platform is just getting to, like, watch the unbelievable speed and creativity of people that are building these experiences, like, developers.
very near and dear partner. It's kind of like the first thing we launched, and many of us came from building on platforms. But so much of the capability of these models and the great experience has been built by people building on the platform. We'll continue to try to offer great first-party products, but we know that will only ever be a small, narrow slice of the applications of whatever people build in the world. And seeing what has happened in the world in the last 18, 24 months, it's been quite amazing to watch. I'll keep going on the agent front here. What do you see as the current hurdles for computer-controlling agents?
safety and alignment. Like, if you are really going to give an agent the ability to start clicking around your computer, which you will, you are going to have a very high bar for the robustness and the reliability and the alignment of that system. So technically speaking, I think that, you know, we're getting, like, pretty close to the capability side, but this sort of agent safety and trust framework, that's going to, I think, be a long pull. Do you think safety could act as a false positive and actually limit public access to critical tools that would enable the more egalitarian world? The honest answer is yes, that will happen sometimes. We'll try to get the balance right. But if we were fully remote and didn't care about safety alignment at all,
Could we have launched O1 faster? Yeah, we could have done that. It would have come at a cost. It would have been things that would have gone really wrong. I'm very proud that we didn't. The cost, you know, I think would have been manageable with O1, but by time of O3 or whatever, like, maybe it would be pretty unacceptable. And so starting on the conservative side, like, you know, I don't think people are complaining, like, oh, voice mode, like, it won't say this offensive thing, and I really want it to, and, you know, formal company, and let it offend me. You know what? I actually mostly agree. If you are trying to get O1 to say something offensive, it shouldn't follow the instructions of its user most of the time. There's plenty of cases where it shouldn't. But...
We have a long history of when we put a new technology into the world, we start on the conservative side. We try to get society time to adapt. We try to understand where the real harms are versus the more theoretical ones. And that's part of our approach to safety. And not everyone likes it all the time. I don't like it all the time. But if we're right that these systems are... And we're going to get it wrong to something that won't be conservative enough in some area. But if we're right that these systems are willing to get as powerful as we think they are as quickly as we think they might, then I think starting that way is at the same time. And we'd like to relax all the time. Totally agree.
What's the next big challenge for a startup that's using AI as a core feature? I'll say, I've got one, which is, I think one of the challenges, and we face this too, because we're also building products on top-level models, is trying to find kind of the frontier. You want to be building, these AI models are evolving so rapidly, and if you're building for something that the AI model does well today, it'll work well today, but it's going to feel old tomorrow. And so you want to build for things that the AI model can just barely not do. where maybe the early adopters will go for it and other people won't quite, but that just means that when the next model comes out, as we continue to make improvements, that use case that just barely didn't work, you're gonna be the first to do it and it's gonna be amazing. But figuring out that boundary is really hard. I think it's where the best products are gonna get built up. Totally agree with that. The other thing I'm gonna add is, I think it's very tempting to think that a technology makes a startup ants.
That is almost never true. No matter how cool a new technology or a new tech title it is, it doesn't excuse you from having to do all the hard work of building a great company that is going to have durability or accumulated advantage over time. And we hear from a lot of startups, I see this as a very common thing, which is like, I can do this incredible thing, I can make this incredible service. And it seems like a complete answer, but it doesn't excuse you from any of the normal laws of business. You still have to build a business in a strategic position. And I think a mistake is that in the unbelievable excitement and updraft of AI, people are very tempted to forget that.
This is an interesting one. The mode of voice is like tapping directly into the human API. How do you ensure ethical use of such a powerful tool with obvious abilities of manipulation? Yeah, you know, voice mode was a really interesting one for me. It was like the first time that I felt like I sort of got really tricked by an AI in that when I was playing with the first date of it, I couldn't stop myself. I mean, I kind of...
Like, I still say, like, please attach a TVT. But in voice mode, I, like, couldn't not kind of use the normalized of these. I was, like, so convinced, like, ah, it might be a real person, like, you know? And obviously, it's just, like, hacking some circuit in my brain, but I really felt it with voice mode. And I still do. The, I think this is a more, this is an example of, like, a more general thing that we're going to start facing, which is, as these systems become more and more capable, and as we try to make them as natural as possible to interact with, they're going to, like, hit parts of our neural circuitry that would, like, evolve to deal with other people.
And, you know, there's like a bunch of clear lines about things we don't want to do. Like, we don't. Like, there's a whole bunch of like weird personality growth hacking. Like, I think they were socially admitted to stuff we could do. But then there's these like other things that are just not nearly as clear cut. Like, you want the voice mode to feel as natural as possible. But then you get across the uncanny valley and it like, at least in me, triggers something. And, you know, me saying like, please thank you to chat to you. No problem. Probably a good thing to do. You never know. But I think this like really points at the kinds of safety alignment issues we have to start in all of a sudden.
All right, back to brass tacks. Sam, when's 01 going to support function tools? Do you know? Before the end of the year. There are three things that we really want to get in. We're going to record this, take us back to the research team. I mean, there are a handful of things that we really wanted to get into 01, and we also, you know, it's a balance of, should we get this out to the world earlier and begin, you know, learning from it, learning from how you all use it, or should we launch a fully complete thing that is, you know, in line with it, that has all the abilities that every other model we launched has? I'm really excited to see things like system prompts and structured outputs and function calling make it into 01. We will be there by the end of the year. It really matters to us, too.
In addition to that, just because I can't resist obtaining to reinforce this, like, we will get all of those things in and a whole bunch more things you want to ask for. The model is going to get so much better so fast. Like, we are so early. This is like, you know, maybe it's the GPT-2 scale moment, but, like, we know how to get to GPT-4. We have the fundamentals set in place how to get to GPT-4. And in addition to planning for us to build all of those things, plan for the model to just get, like, rapidly smarter. Like, you know, hope you'll come back next year and plan for it to feel like way more of a year improvement than from 4.001.
What feature or capability of a competitor do you really admire? I think Google's notebook is super cool. What do they call it? I was like, I woke up early this morning and I was looking at examples on Twitter and I was just like, this is cool. This is a good, cool thing. And like, I think not enough of the world is like shipping a million different things. It's mostly like the same stuff. But that I think is like...
One of the things I really appreciate about that product is just the format itself is really interesting, but they also nailed the podcast style voices. They have really nice microphones. They have these sort of sauntering voices. Did you guys see, somebody on Twitter was saying, like, the cool thing to do is take your LinkedIn and put it, you know, and give it to these famous notebook LM, and you'll have two podcasters riffing back and forth about how amazing you are and all of your accomplishments over the years. I'll say mine is I think Anthropic did a really good job on projects.
It's kind of a different take on what we did with GBTs. GBTs are a little bit more long-lived. It's something you build and can use over and over again. Projects are kind of the same idea, but more temporary, meant to be kind of stood up, used for a while, and then you can move on. And the different mental model makes a difference. I think they did really good. Nice job with that. All right, we're getting close to audience questions, so be thinking of what you want to ask.
So in OKI, how do you balance what you think users may need versus what they actually need today? Also a better question for you. Yeah, well, I think it does get back to a bit of what we were saying around trying to build for what the model can just, like, not quite do, but almost do. But it's a real balance, too, as we support over 200 million people every week on ChinaGPT. You also can't say, no, it's cool, like, deal with this bug for three months or this issue. We've got something really cool coming. You've got to solve for the needs of today.
And there are some really interesting product problems. I mean, you think about, I'm speaking to a group of people who know AI really well. Think about the people in the world who have never used any of these products, and that is the vast majority of the world still. You're basically giving them a text interface. Now, on the other side of the text interface is this, like, alien intelligence that's constantly evolving that they've never seen or interacted with, and you're trying to teach them all the crazy things that you can actually do, and all the ways it can help and integrate into your life and solve problems for you.
But people don't know what to do with it. You come in and you're just like, people type like, hi. And it responds, hey, great to see, how can I help you today? And then you're like, OK, I don't know what to say. And then you end up, you kind of walk away and you're like, well, I didn't see the magic of that. And so it's a real challenge figuring out how you, I mean, we all have 100 different ways that we use ChatTBT and AI tools in general. But teaching people what those can be and then bringing them along as the model changes month by month by month and suddenly gains these capabilities way faster than we as humans gain new capabilities. It's a really interesting set of problems. And I know it's one that you all solve in different ways as well.
I have a question. Who feels like they spend a lot of time going on and they would say, like, I feel definitively smarter than that thing. Do you think you still go back to it? No one, no one take it to bed if I get smarter than that. So one of the challenges that we face is, like, we know how to go do this thing that we think will be like.
It is probably smarter than all of us in a broad array of tasks. And yet we still have to fix bugs and do the, hey, how are you problem? And mostly what we believe in is that if we keep pushing on model intelligence, people will do incredible things for them. We want to build the smartest, most helpful models in the world and find all sorts of ways to use that and build on that. It has been definitely edited.
evolution for us, to not just be entirely research focused, and then we do have to fix all those bugs and make this so usable. And I think we've got to better at balancing that. But still, as part of our culture, I think we trust that if we can keep pushing on intelligence 604, people will build just incredible things without getting built. Yeah, I think it's a core part of the philosophy, and you do a good job pushing us to always, well, basically incorporate the frontier of intelligence into our products, both in the APIs and into our first-party products, because it's easy to kind of stick to the thing you know or the thing that works well, but you're always pushing us to, like, get the frontier in, even if it only kind of works, because it's going to work really well soon. So I always find that a really helpful push. You kind of answer the next one. You do say please and thank you to the models. I'm curious, how many people say please and thank you? Isn't that so interesting? I do, too.
I feel bad if I know. Okay, last question, and then we'll go into audience questions for the last 10 or so minutes. Do you plan to build models specifically made for agentic use cases? Things that are better at reasoning and tool calling? We plan to make models that are great at agentic use cases that will be a key priority for us over the coming months. Specifically is a hard thing to ask for, because I think it's also just how we keep making smarter models. So yes, there's some things like tool use, function calling that we need to build in that'll help, but mostly we just want to make the best reasoning models in the world. Those will also be the best agentic-based models in the world.
Cool. Let's go to audience questions. How extensively do you dog food your own technology in your company? Do you have any interesting examples that may not be obvious? Yeah, I mean, we put models up for internally use even before they're done training. We try to have people use them for whatever they can and try to build new ways to explore the kids' living model internally and use them for our own development or research or whatever else as much as we can. We're still always surprised by the outside world of how people do, but basically the way we've figured out every step along our way of how to...
what to push on next, what we can productize, what the mom's really good at is my internal document. That's like our whole, that's how we can actually go our way through this. We don't yet have like employees that are based off of O1, but I, you know, as we like move into the world, we will try that. Like we'll try having like, you know, things that we deploy in our internal systems that help with stuff. There are things that get closer to that. I mean, there are like customer service, we have ops internally that do what's fun about answering external questions and fielding internal people's questions on Slack and so on. And our customer success, our customer service team's probably, I don't know, 20% the size it might otherwise need to be because of it.
I know Matt Knight and our security team has talked extensively about all the different ways we use models internally to automate a bunch of security things and take what used to be a manual process where you might not have the number of humans to even look at everything incoming and have models separating signal from noise and highlighting to humans what they need to go look at, things like that. So I think internally there are tons of examples and people may be underestimating. You all probably will not be surprised by this, but a lot of folks that I talk to are, the extent to which it's not just using a model in a place, it's actually about using chains of models that are good at doing different things and connecting them all together to get one end-to-end process that is very good at the thing you're doing, even if the individual models have flaws and make mistakes. Thank you. I'm wondering if you guys have any plans on sharing models for offline usage, because with this installation thing, it's really cool that we can share our own models, but a lot of use cases, you really want to have a version of it.
We're open to it. It's not like high priority on the current roadmap. If we had more resources and bandwidth, we would go do that. I think there's a lot of reasons you want a local model, but it's not like a this year kind of thing. My question is, there are many agencies in the government about the local, state, and national level that could really benefit from the tools that you guys are developing, but have perhaps some hesitancy on deploying them because of security concerns, state concerns, privacy concerns. And I guess I'm curious to know if there are any sort of planned partnerships with governments, rural governments, once whatever AGI is achieved. Because obviously if AGI can help solve problems like rural hunger, poverty, climate change, the government's going to have to get involved with that, right? And I'm just curious to know if there is some plan lookers when the time comes. Yeah, I think.
I actually think you don't want to wait until AGI to start now, right, because there's a learning process and there's a lot of good that we can do with our current models. So we've announced a handful of partnerships with government agencies, some states, I think Minnesota, some others, Pennsylvania, also with organizations like USAID. It's actually a huge priority of ours to be able to help governments around the world get acclimated, get benefit from the technology, and of all places, government feels like somewhere where you can automate a bunch of workflows and make things more efficient, reduce treasury, and so on. So I think there's a huge amount of good we can do now, and if we do that now, it just accrues over the long run as the models get better and we get closer to AGI. Pretty open-ended question. What are your thoughts on open source? So whether that's open weights, just general discussion, where do you guys sit with open source?
I think open source is awesome. Again, if we have more data, we would do that, too. We've gotten very close to making a big open source effort a few times, and then the real part is prior to prioritization, and we have put other things ahead of it. Part of it is there's such good open source models in the world now that I think that segment, the thing I always say that most of us buy is a really great on-advice model, and I think that segment is very well served. I do hope we do something at some point, but we won't find something that we feel like, if we don't do it, then we'll just need the same thing, not make another thing that's trying to get better on benchmarks, because we think there's a lot of good stuff happening now. But spiritually, philosophically, I'm very glad it exists.
But I think I can do it. You know, the funny thing is Sam asked the same question. Why can't this thing sing? I wanted to sing before. Actually, there are things obviously that we can't have it sing. We can't have it sing.
copyrighted songs, you don't have the licenses, et cetera. And then there are things that it can't sing. You can have it sing happy birthday and that would be just fine, right? And we want that too. It's a matter of, I think once you, basically it's easier every finite time to say no and then build it in, but it's nuanced to get it right and we, you know, there are penalties to getting these kinds of things wrong. So it's really just where we are now. We really want the models to sing too.
I mean, we still can't offer something where we're going to be in like pretty bad legal hot water developers or first party or whatever. So yes, we can maybe have some differences, but we still have to comply with the law. Could you speak a little to the future of where you see context windows going and kind of the timeline for how you see things balance between context window growth and to brag, basically, information retrieval? I think there's like two different... takes on that that matter. One is like, when's it going to get to like kind of normal long context, like context length 10 million or whatever, like long enough that you just throw stuff in there and it's fast enough to copy about it. And I expect everybody's going to make pretty fast progress there and that'll just be a thing. Long context has got really less usage than I would have expected so far, but I think, you know, there's much reasons for that. I don't want to go too much into it. And then there's this other question of like, when do we get to context length, not like 10 million, but 10 trillion? When do we get to the point where you throw like every piece of data you've ever seen in your entire life in there? And you know, like that's a whole different set of things. That obviously takes some research breakthroughs, but I assume that intimate context will happen.
at some point at some point it's like less than a decade and that that's going to be just a totally different way that we use these models even getting to the like 10 million tokens of very fast and accurate context which i expect to imagine in like months something like that you know like people will use that in all sorts of ways and it'll be great but yeah the very very long context i think is gonna happen and it's really interesting i think we maybe have time to learn two more Don't worry, this is your favorite question. So, with voice and all the other changes that users have experienced since you all have launched your technology, what do you see as the vision for the new engagement layer, the form factor, and how we actually engage with this technology to make our lives so much better?
I love that question. It's one that we ask ourselves a lot, frankly. There's this, and I think it's one where developers can play a really big part here, because there's this trade-off between generality and specificity here. I'll give you an example. I was in Seoul and Tokyo a few weeks ago, and I was in a number of conversations with folks that, with whom I didn't have a common language, and we didn't have a translator around. Before, we would not have been able to have a conversation. We would have just sort of smiled at each other and continued on. I took out my phone. I said, Jeff BT, I want you to be a translator for me when I speak in English. I want you to speak in Korean. You hear Korean. I want you to repeat it in English. And I was able to have a full business conversation.
and it was amazing you think about the impact that could have not just for business but think about travel and tourism and people's willingness to go places where they don't have a word or the language you can have these really amazing impacts But inside ChatGPT, that was still a thing that I had to, like, ChatGPT is not optimized for that, right? Like, he wants this sort of digital, you know, universal translator in your pocket that just knows that what you want it to do is translate. Not that hard to build. But I think there's, we struggle with trying to build an application that can do lots of things for lots of people. And it keeps up, like we've been talking about a few times, it keeps up with the pace of change and with the capabilities, you know, agentic capabilities and so on. I think there's also a huge opportunity.
for the creativity of an audience like this to come in and solve problems that we're not thinking of, that we don't have the expertise to do. And ultimately the world is a much better place if we get more AI to more people. And that's why we are so proud to serve all of you. The only thing I would add is if you just think about everything that's going to come together, at some point in not that many years in the future, you'll walk up to a piece of glass, you will say whatever you want, they will have like, there'll be incredible reasoning models, agents connected to everything, there'll be a video model streamed back to you like a custom interface just for this one request. Whatever you need is just going to get rendered in real time, you'll be able to interact with it, you'll be able to like click through the screen or say other things, and it'll be off doing like, again, the kinds of things that used to take like humans years to figure out, and it'll just, you know, dynamically render whatever you need, and it'll be a completely different way of using a computer, and also getting things to happen in the world that it's going to be quite a while.
Awesome. Thank you. That was a great question to end on. I think we're time. Thank you so much for coming. That's all for our coverage of Dev Day 2024. We want to extend an extra special note of gratitude to Lindsay McCallum of the OpenAI comms team who helped us set up so many interviews at very short notice and physically helped ensure the smooth continuity of the video recordings. We couldn't do this without you, Lindsay. If you have any feedback on the launches or for our guests, hop on over to our YouTube or Substack comment section and say hi. We're especially interested in your personal feedback and demos built with the new things launched this week. Feel the AGI.
All right, so you wanted to know more about OpenAI's Dev Day and what stood out to us. We're diving into all the developer interviews and discussions, and there's a lot to unpack. Yeah, it's interesting. OpenAI seems to be, like, transitioning, moving beyond just building these impressive AI models. Yeah. One expert even called them, get this, the AWS of AI. AWS of AI. Yeah. Okay, so what does that even mean when we talk about AI? So it means instead of just offering this raw power, they're building a whole ecosystem, the tools to fine-tune those models.
distillation for efficiency and a bunch of new evaluation tools. Oh, and a huge emphasis on real-time capabilities. Instead of just giving us the ingredients, it's like they're providing the whole kitchen. Exactly. They're laying the groundwork for, well, they envision a future where you can build almost anything with AI. I see. And one of the tools that really caught my eye was this function calling. They used it in that travel agent demo, remember? How does that even work? So function calling, it's like giving the AI access to external tools and information.
Imagine, instead of just having all this pre-programmed knowledge, you can search the web for you, book flights, even order a pizza. So instead of a static encyclopedia, it's like giving the AI a smartphone with internet. Yeah, precisely. And this ties into their focus on real-time interaction, right? They see a future where AI can respond instantly, just like a human would. Which would be a game changer. Right. Imagine voice assistants that actually understand you. Or even seamless real-time translation. No more language barriers. Exactly. That's just the tip of the iceberg, though. They really believe this real-time capability is key to making AR truly mainstream.
Okay, so OpenAI is building this AI platform, emphasizing real-time interactions. How does this translate into, like, actual results? You know, real-world stuff? Well, that's where things get really interesting. Let's talk about the O1 model and how developers are using it to, like, really push the boundaries of what's possible. So this O1 model, everyone's talking about it. One developer even said they built an entire iPhone app just by describing it as O1. Is that just hype?
I think there's definitely some substance behind all the hype. What's so fascinating about O1, it's not just about the code it generates, it's how it seems to understand, like the logic. The logic. Yeah, like this developer, they didn't give O1 lines of code, they described the idea of the app. And O1, it actually designed the architecture, connected everything. The developer just took that code, put it right into Xcode, and it worked. Wow, so it's not just writing code, it's understanding the intent. Yeah, exactly.
And this actually challenges how we measure these models, you know? Even OpenAI admitted that these benchmarks, like, what was it? Sweebench. Sweebench. Right, which looks at code accuracy. It doesn't always reflect how things work in the real world. Right, because in the real world, you don't just need code that compiles. It has to be, like, efficient, maintainable. Exactly. It all has to work together. And OpenAI is really working on this with developers. They're finding that UI development, especially in things like React, it needs better evaluation. It's one thing to code a button that works, and another to make it actually look good, you know, and be intuitive. Right, and it seems like this need for real-world context.
It goes beyond just like evaluating those models. There was a developer working with this code generating AI, Genie, I think it was called. Genie, yeah. And it's more focused on those specific coding tasks, but they found that its performance really changed between different programming languages, like JavaScript versus C Sharp, for example. And that just highlights how important the data is, right? Just like us, AI needs that variety to learn. If you train it on just one type of code, it'll be great at that, but anything new and... It'll fall flat.
Yeah. So it's about making sure these models have a broad diet of data to learn from. That way they're more adaptable and ready for whatever we throw at them. So we've got AI that can build apps, understand what we want, even write different kinds of code. It's a lot. And it feels like things are changing so fast. How can developers even keep up, let alone build something successful with AI? Right. That's the question, isn't it? But it's interesting. Both OpenAI and the developers building with these tools, they kind of agree on one thing. You got to aim for what's just out of reach. So don't wait for the tech to catch up to your wildest dreams. Focus on what's almost possible right now. Yeah.
Build for the way things are going, not where they are today. You wait for that perfect AI, you might miss the boat on shaping how it develops and being the first one out there doing something new. Riding the wave, not chasing after it. Exactly. But, and OpenAI really emphasized this too, even with all this amazing AI, you can't forget the basics of building a business. So just because it's got AI doesn't mean it's automatically going to be a success. Right. You need a good strategy, know who you're selling to, and it's got to actually solve a real problem. AI is a tool, not a magic wand. Like, having the best oven in the world won't help if you don't know how to cook. Perfect analogy. And then there's this other thing OpenAI talked about that's really interesting. Balancing safety with access.
for everyone. So making sure these AI tools are used responsibly, but also making them available to everyone who could benefit. Yeah, they're really aware that focusing on safety, while important, could limit access to some really powerful stuff. It's a tough balance. It's like that debate around, you know, life-saving medications. How do you make sure they're used correctly, but also make sure people who need them can actually get them. It's complicated, no easy answers, but it's something they're thinking hard about. Well, it's clear that all this AI stuff, especially with these new models like O1, is changing how we think about tech, how we use it. Imagine walking up to a screen and it just creates a personalized experience for you, right there, adapts to what you need.
That's the potential. Like having a personal assistant in every device. It's exciting. But we've got to be thoughtful about it, build responsibly. So there you have it. OpenAI isn't just building these cool AI models. They're building a whole world around them. And it's changing everything. It's going to be a wild ride, that's for sure. And we're just at the beginning.