Clarification: Just making fun of people(including myself) who watch shitty videos instead of official documentation.

  • sfxrlz@lemmy.world
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    2 days ago

    This in general is the main reason for the ai surge. Just dump the 2 sentence explanation into a prompt and hope something sensible comes from it rather than googling for half an hour.

    • Petter1@lemm.ee
      link
      fedilink
      arrow-up
      4
      ·
      2 days ago

      No, make it like this:

      I have a problem with program x. Please tell me how i do y if I want z. Use this man page for reference:

      [insert man page into promt py copy paste]

      This gives way better results.

      • TangledHyphae@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        2 days ago

        Most of the time you don’t have to insert the man page, it’s already baked into the neural network model and filling the context window sometimes gives worse results.

        • DampCanary@lemmy.world
          link
          fedilink
          arrow-up
          5
          ·
          2 days ago

          I noticed that mentioning commands you want gives good results e.g.:

          Hi,
          I want to replace line with HOSTTOOLS += " svn"
          in all layer.conf files under current directory
          by using find and sed commands.

          If it’s more complicated, pasting parial scrript for LLM to finish gave better results (4 me),
          than pure prompt text.

    • leisesprecher@feddit.org
      link
      fedilink
      arrow-up
      3
      ·
      2 days ago

      At least for programming/Linux stuff, it often enough actually does deliver keywords, that you can use as jumping off points. The proposed solutions however…