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

  • 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.