• Sleeping@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    I wonder if someone has already created a bot that asks chat-GPT to create a piece of code, grabs it to try and run it, and then just goes back and forth with chat-GPT to fix the errors. Now the code would probably be a complete mess, but I wonder if non-coders could use it to create helpful one-off tools they can’t find anywhere else.

    • Deebster@lemmyrs.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      It definitely exists - there’s something that goes:

      1. generates code
      2. feed code back in and ask ChatGPT if it has any bugs (yes/no answer)
      3. if no, done, otherwise feed code back in and ask ChatGPT to fix it
      4. goto step 2

      I can’t find the link now, but you might also be interested in Auto-GPT.