• @sramder@lemmy.world
    link
    fedilink
    English
    846 months ago

    […]will only take a few hallucinations before no one trusts LLMs to write code or give advice

    Because none of us have ever blindly pasted some code we got off google and crossed our fingers ;-)

    • Avid Amoeba
      link
      fedilink
      English
      84
      edit-2
      6 months ago

      It’s way easier to figure that out than check ChatGPT hallucinations. There’s usually someone saying why a response in SO is wrong, either in another response or a comment. You can filter most of the garbage right at that point, without having to put it in your codebase and discover that the hard way. You get none of that information with ChatGPT. The data spat out is not equivalent.

      • deweydecibel
        link
        fedilink
        English
        316 months ago

        That’s an important point, and and it ties into the way ChatGPT and other LLMs take advantage of a flaw in the human brain:

        Because it impersonates a human, people are more inherently willing to trust it. To think it’s “smart”. It’s dangerous how people who don’t know any better (and many people that do know better) will defer to it, consciously or unconsciously, as an authority and never second guess it.

        And the fact it’s a one on one conversation, no comment sections, no one else looking at the responses to call them out as bullshit, the user just won’t second guess it.

    • @Hackerman_uwu@lemmy.world
      link
      fedilink
      English
      46 months ago

      When you paste that code you do it in your private IDE, in a dev environment and you test it thoroughly before handing it off to the next person to test before it goes to production.

      Hitting up ChatPPT for the answer to a question that you then vomit out in a meeting as if it’s knowledge is totally different.

      • @sramder@lemmy.world
        link
        fedilink
        English
        26 months ago

        Which is why I used the former as an example and not the latter.

        I’m not trying to make a general case for AI generated code here… just poking fun at the notion that a few errors will put people off using it.

    • @Seasm0ke@lemmy.world
      link
      fedilink
      English
      36 months ago

      Split segment of data without pii to staging database, test pasted script, completely rewrite script over the next three hours.