Evidence receipt / recommendation
Published · transcript-backedAman Sanger: recommendation
22 Aug 2023 Latent Space Cursor.so: The AI-first Code Editor — with Aman Sanger of Anysphere
“5 would strongly recommend using the Azure model because there you get access to completions, meaning you can put kind of words in GPT 3.”
Source trail
Everything needed to verify it.
- Speaker
- Aman Sanger
- Attribution
- Verified speaker
- Claim type
- recommendation
- Recorded
- 22 Aug 2023
- Publisher
- Latent Space
Transcript context
…And so for those who don't know, you primarily, the main model for most people is GPT 3.5 and pro users can use GPT 4. You're prompting GPT 3.5 with these system prompts first. Any other tips apart from your company specific ones, apart from the English as a second language ones, how do you prompt GPT 3 or 4 for code? So this is interesting because I think in general, these models are good at just producing net new code or rewriting code from scratch. The thing that they're not great at is producing edits or modifications. So producing a diff is incredibly painful. And I'm sure you guys may have encountered this if doing stuff with agents, but they just get line numbers wrong pretty often. And when you're producing a diff, you know, it's fewer tokens of compute. And there's, there's some theories that like, you know, the more tokens of compute you kind of use up, the more the model is kind of expending on thinking, thinking, yeah, chain of thought. That's one thing we've kind of struggled with. And so that takes probably chaining to get it to work well, where one kind of technique we do is we have GPT 4 kind of propose a draft PR and then we have 3.5 go and kind of heal a draft diff and then we have 3.5 go and go and heal those changes. So you'll have to do things like this in order to get it work around those limitations with edits. In terms of general code writing, I think with 4, it's just, it's been super, super straightforward. 4 is fantastic. 3. 5 would strongly recommend using the Azure model because there you get access to completions, meaning you can put kind of words in GPT 3. 5's mouth and let it finish it. Kind of like what you can do with Claude. And that's really helpful. I always assumed that was going away as a API because OpenAI is like clearly not interested in maintaining that. I mean, they're straight up deprecating it now. Yeah.…
Stored transcript either side of the excerpt. The highlighted words are the published quote; the surrounding text is unedited source, never generated.