this post was submitted on 06 Jul 2023
9 points (100.0% liked)

ChatGPT

8820 readers
1 users here now

Unofficial ChatGPT community to discuss anything ChatGPT

founded 1 year ago
MODERATORS
 

I asked GPT4 to refactor a simple, working python script for my smart lights... and it completely butchered the code and apologized mid-generation.

No amount of pleading or correction would get it to function as it did just a week or two ago.

It is so over.

you are viewing a single comment's thread
view the rest of the comments
[–] Aidan@lemm.ee 4 points 1 year ago* (last edited 1 year ago)

Gpt4 is not good at writing code. I think it’s because it has a lower token limit. Ask Gpt 4 to write out detailed specs for the code you want, then copy and paste that into a Gpt-3.5 session and ask it to write the code

And if it gets cut off, paste in the last line it output successfully and ask it to continue with the line following that one. Then just copy and paste the blocks together