• demonsword@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    7
    ·
    22 hours ago

    The “correct” way to use AI for coding (and anything really) is to ask for explanations / tutorials when you can’t find one online, then learn from that.

    except the “explanation” frequently will be 100% “hallucinated” bullshit

    • takeda@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 hours ago

      People say the best way to see this is asking AI about subject you’re expert of.

      This is not always possible, I had people who said “but I’m not expert at anything”. Another way is to ask them about yourselves. For example if you have reddit account that is has some age, Gemini has deal with reddit and feeds them everything that’s posted. First response might even look good, but continue talking (as it is getting more ridiculous), don’t try correct, you can see how it is making shit up.

      Since they are feeding it with everything lemmy might also work.

    • UltraBlack@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      17 hours ago

      That’s why I always ask it to cite sources. Basically googld ATP since google is turning to shit and all other search engines still aren’t quite as good

      • frongt@lemmy.zip
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        16 hours ago

        It could very easily use a completely different or hallucinated source.

        But a lot of LLM products are now providing source links right in the response. I’ve found them useful, and hopefully they aren’t produced just by feeding the text back in and asking for a link.