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

        That’s almost correct, actually. One of the best things to do is to prompt it to ask you clarifying questions.

    • Dozzi92@lemmy.world
      link
      fedilink
      English
      arrow-up
      15
      ·
      2 days ago

      I haven’t used an LLM, but it’s probably similar to how people could not Google for shit. I always considered myself something of an expert at using search engines, although they’ve gone to shit obviously, and with the advent of AI it seems like they will fade out.

    • zbyte64@awful.systems
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      1
      ·
      2 days ago

      “Properly prompting” is to not prompt. A chat interface is the lowest fidelity interface to use with an LLM.

        • zbyte64@awful.systems
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 day ago

          Examples to consider:

          A code base with TODOs embedded will make fewer mistakes and spend less tokens than if you attempt to direct the LLM only with prompting.

          A file system gives an LLM more context than a flat file (or large prompt) with the same contents because a file system has a tree like structure and makes it less likely the LLM will ingest context it doesn’t need and confuse it

          Lastly consider the efficacy of providing it tools vs using agent skills which is another form of prompting. Giving an LLM a deterministic feedback loop beats tweaking your prompts every time

          • el_abuelo@programming.dev
            link
            fedilink
            English
            arrow-up
            2
            ·
            16 hours ago

            Ok so i think i do all of these things and would just describe them as “other ways to prompt and LLM” - i think the nuance youre shooting for here is that using these methods you are “pre-preparing” the prompt - not thinking about it at prompt-time and thus likely to miss stuff.

            e.g. Feeding a TODO is just the same as copy-pasting that todo in as a prompt.

            Have I understood you correctly?

            • zbyte64@awful.systems
              link
              fedilink
              English
              arrow-up
              1
              ·
              edit-2
              7 hours ago

              No, it’s not the same as copying and pasting the TODO into a prompt. Embedding the TODO in code instead of the prompt reduces tokens burned and increases accuracy because it’s observing the TODO in context. Sure you can write more prompting to provide that context, but it still won’t be as accurate. The less context you provide via prompting and instead provide more context through automatic deterministc feedback the better the results

              • el_abuelo@programming.dev
                link
                fedilink
                English
                arrow-up
                1
                ·
                5 hours ago

                Okay so now I think you’re describing the behaviour I take for granted with the harness i.e. Claude Code.

                Having good repo readiness through a good agents/claude.md file + tests + docs means the LLM is able to read more files into its context.

                It never occurred to me that anyone would prompt in isolation of their repos but I guess thats exactly what it was like for me last year when I was just feeding ChatGPT prompts away from the repo.

                • zbyte64@awful.systems
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  3 hours ago

                  Yes, code harnesses help by providing deterministic feedback like with a language server and reduce the amount of prompting requirements. I guess I should have led with that example 😅

    • blargh513@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      13
      arrow-down
      2
      ·
      2 days ago

      I don’t know, it seems to me that most people know how to ask a question or make a request. It’s not that different. It’s just that a lot of people don’t understand what is possible and they freeze.

      You tell them, to ask for anything you want. They uncork and say “So I can ask it for a chocolate cream pie?”. Partially in jest, but they do that because they don’t seem to have a comfortable knowledge of the limits. A person with little technical background has no need for output that they don’t understand. Once you guide them a little and let them know they can get a recipe for a chocolate cream pie and some practical advice on how to make it, that might be helpful, but little better than just looking up a recipe. You’d have to let them know that they can find multiple variants of recipes and have it rank them, compare them, and produce a summary of the most popular types. By now they’ve stopped listening and have gone to the grocery store to buy a chocolate cream pie and you’re standing there hoping they will give you a piece.

      In summary, I wish I had some pie. What was the question?

      • Ledivin@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        5
        ·
        1 day ago

        I don’t know, it seems to me that most people know how to ask a question or make a request. It’s not that different.

        You don’t actually use AI in any professional capacity, huh

        • blargh513@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          4
          arrow-down
          1
          ·
          1 day ago

          Yeah, you’re probably right. Probably don’t do anything with it at all, never touched it, don’t understand how it works either. You, on the other hand are probably a seasoned LLM engineer. Shameful of me to not understand that.