• Spice Hoarder@lemmy.zipOP
    link
    fedilink
    arrow-up
    7
    ·
    1 day ago

    While I wholeheartedly agree with your statement. I think the reason it spits out thousands of lines of code instead of the obvious answer is because of poor training data and unqualified individuals assuming more code means better.

    • Hawk@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 day ago

      Doesn’t surprise me. The internet is filled with outdated code and personal blogs detailing stuff you should never put in production code.

      AI is just going to regurgitate those instead of the actual optimal answer, so unless you steer it in the right direction, it spits out what it sees most in it’s training data.

    • village604@adultswim.fan
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 day ago

      Bad prompt formation is also an issue. You can’t just ask a one sentence question and get good results. For best results you need be very specific and get it to prompt you for more details if needed.

      But it’s very much ‘garbage in garbage out’.