4 Methods of Prompt Engineering

Поділитися
Вставка
  • Опубліковано 29 гру 2024

КОМЕНТАРІ • 83

  • @DataScienceAI-rf4kx
    @DataScienceAI-rf4kx 11 місяців тому +125

    Summary
    1. **RAG (Retrieval Augmented Generation):** Augmenting the knowledge base (db) to enhance responses by combining language models.
    2. **Chain of Thoughts:** Promoting ideas using 'thoughts' 💭 in the form of chunks one by one to obtain actual answers. Language models arrive at your desired answers through reasoning and logic.
    3. **ReAct (Thought, Action, and Observation):** Different from the chain of thoughts, this involves both private knowledge base (db) and public language model (llm) data. If information isn't in the knowledge base, it goes back to the public llm data (trained data) for results.
    4. **DSP (Direct Stimulus Prompting):** The latest method involves hinting the prompt with a specific hint to get the answers.

  • @UVTimeTraveller
    @UVTimeTraveller 9 місяців тому +44

    I understand the main idea, but I think the examples and explanations weren't clearly thought through and felt vague. I didn't get a clear sense of how to apply these techniques effectively in real-life situations. However, I appreciate the intention and the effort put into it.

    • @nzkhan
      @nzkhan 5 місяців тому +1

      Exactly. Half baked answers. Good efforts

  • @DanAlvard
    @DanAlvard 11 місяців тому +97

    @IBM Technology I got the theory but I want to see an example of the actual resulting prompt in each of the 4 methods. Nothing beats learning by example

    • @Ifero10
      @Ifero10 3 місяці тому

      Absolutely :)

  • @spyderscience
    @spyderscience 28 днів тому +2

    The explanation is good as far as you know the difference between knowledge based data, internal or external, and private or public.
    1. RAG is infact knowledge based but it is an external knowledge based approach as it depends on databases, search engines results that are relevant to your industry, either private or public.
    2. COT is reasoning based without knowledge based approach.
    3. ReACT can be reasoning through COT and Acting through knowledge sources that could be internal, external, private or public.
    4. DSP neither rely on reasoning nor on external knowledge. This approach directly take the hint and apply pre-trained knowledge (internal knowledge) from LLM.

  • @ScottGaul
    @ScottGaul 6 місяців тому +8

    This is the most intelligent video I have seen on Prompt Eng.

  • @egemengulpinar379
    @egemengulpinar379 9 місяців тому +14

    So simple and focused on the main idea and key points. Thank you for your straightforward explanation!

  • @GibranCastillo
    @GibranCastillo 10 місяців тому +10

    A prompt is a specific instruction or query given to an LLM (Large Language Model) to perform a task. A task can be: Providing information, summarizing, analyzing, planning, reasoning, coding, generating, etc. Effective prompt engineering involves iteratively refining these instructions or questions to achieve a more accurate, relevant, or desired outcome from the LLM.

  • @Sereen-j2l
    @Sereen-j2l 2 місяці тому +3

    How blessed am I to watch this AMAZING video, thank you.

  • @MJFUYT
    @MJFUYT 14 днів тому +1

    Excellent content and commentary. Thanks for sharing your knowledge.

  • @eng.mohammadshericmrp9251
    @eng.mohammadshericmrp9251 3 місяці тому +2

    RAG --> is primarily about improving factual correctness by retrieving external information.
    CoT --> enhances logical reasoning by encouraging the model to break down problems into sequential steps.
    ReAct --> adds a layer of interaction, allowing the model to not just reason, but also perform actions based on that reasoning.
    DSP--> subtly influences the direction of the model's output through carefully designed prompts.

  • @HojaUno
    @HojaUno 8 місяців тому +5

    I like they are labeling every interaction with the LLMs. Prompt engineering, rag, cot, react, dsp. These are the basic blocks and as a developer I share what many are already seen and working on it.
    A higher programing language where it is no longer constrained to direct the physical and structured layer to compute the results. This programming language will skip those layers 100% to work directly on the business problems. It may be named as mayeutic.
    Supporting in a new way critical questions; fast no longer will be the measure. Fast will be just side effect.
    The key will be the transition from RDBs, repositories, rudimentary data input, rudimentary finance procedures, to the next abstractions that would facilitate this smart agility using it.

  • @georgex9543
    @georgex9543 6 місяців тому +4

    A realistic discussion such as this should include the old concept that still holds true: Garbage in garbage out

  • @BizzInnovate
    @BizzInnovate 3 місяці тому +3

    Awesome Video . Great Instructor.

  • @neovox103_1-6
    @neovox103_1-6 4 місяці тому +2

    Prompt Engineering is what will initiate the singularity. Questions are the most powerful statements.

  • @GopikrishnaMagesh
    @GopikrishnaMagesh 5 місяців тому +3

    Thank you to all the people who were involved in the making of this video and content. Now, I know the 4 methods of Prompt Engineering.

  • @lucho0849
    @lucho0849 27 днів тому

    Very good explanation

  • @Maillesmaillesmailles
    @Maillesmaillesmailles 4 місяці тому +1

    I will use it in my team to introduce those techniques to our new members ! Thanks ! :) (and congrats for mirror writing so clearly : what a skill ;) )

  • @ShekharKhandelwal-c7o
    @ShekharKhandelwal-c7o 5 місяців тому +1

    So many factual inaccuracies and incomplete explanations. Can’t believe IBM official channel producing such content.

  • @bowneeb4986
    @bowneeb4986 9 місяців тому +2

    Beautiful explanation!!

  • @dz5505
    @dz5505 3 місяці тому +1

    In computer science research, which encompasses fields such as computer science, computer engineering, and artificial intelligence, ethical standards have been neglected for at least two decades. A recurring problem is the renaming of well-established concepts without properly acknowledging their origins. For example, “prompt engineering” is simply a renaming of the concept of relevance feedback, but existing work on relevance feedback often goes unnoticed. This trend is pervasive: in deep learning, research unrelated to deep learning is frequently ignored and thus avoids comparison with lightweigt or frugal methods. Random projection has been renamed compressive sensing. Even basic concepts like the dot product, correlation and convolution have been renamed to create an illusion of innovation. The examples are numerous.
    Where are the intellectuals whose responsibility it is to denounce such abuses?

  • @Prashant-PandeyOfficialChannel
    @Prashant-PandeyOfficialChannel 10 місяців тому +2

    Really nice 👍

  • @SPribyt
    @SPribyt 2 місяці тому +2

    This lady is very smart

  • @karthickwork3296
    @karthickwork3296 10 місяців тому +3

    Woule be helpful if you can come up with realime example and usuage. May be in parts..

  • @vjnvisakh
    @vjnvisakh 3 місяці тому +1

    The techniques apart from RAG look like a derived version of RAG itself. The line of separation is kind of blurred IMO.

    • @stevenr3729
      @stevenr3729 2 місяці тому

      They did a pretty bad job of explaining ReAct which is probably why it didn't feel all that different. The secret sauce of ReAct has to do with using custom tools (not just a public or private database) and a reasoning loop where the model evaluates the output from a tool, decides if that is enough to give a final answer and if not, continue to use tools to get more information until it does

  • @osamaa.h.altameemi5592
    @osamaa.h.altameemi5592 11 місяців тому +14

    simple, direct, and on point. Thx a ton

  • @marquesjones3411
    @marquesjones3411 9 місяців тому +1

    Does this apply to all practical language models currently? This is how I should rizzz up my chat4 bot?

  • @proflead
    @proflead 4 місяці тому +1

    Examples would be useful! Thanks

  • @teenytinytoons
    @teenytinytoons 2 місяці тому +1

    are they writing backwards? how the heck does this work. lol. also you can just tell she's so intelligent. she has a really good vibe about her. anyone who gets to work with her is very very lucky.

  • @vanir23
    @vanir23 9 місяців тому +5

    It is wild to me how engineers view the research process. Honestly, they make it more complicated than it needs to be.

    • @georgex9543
      @georgex9543 6 місяців тому

      better label: "academic engineers"

  • @SB-vj5sn
    @SB-vj5sn 9 місяців тому +3

    Nice, short clip, explaining such mega-areas in 12 minutes

  • @jonesbbq307
    @jonesbbq307 9 місяців тому +1

    So ReACT is just RAG with two databases?

  • @ifeanyiidiaye1889
    @ifeanyiidiaye1889 11 місяців тому +5

    Nice video, thanks guys! Quick question: are all your engineers at IBM left-handed? You seem to have a bias for left-handed engineers 😅

    • @daveqr
      @daveqr 11 місяців тому +5

      The image is reversed. They have a video explaining how they make lightboard videos.

    • @yesblahblah
      @yesblahblah 11 місяців тому +1

      The view you are seeing it from has been flipped. There is a video on this channel or steve brutons where they explain how they make these videos. Also, if you assume the rule of wearing your wedding band on your left hand ring finger applies then you are looking at the marker being in his right hand.

    • @ethanfogarty9540
      @ethanfogarty9540 11 місяців тому +1

      They are all right-handed. The camera is behind them and is recording them facing and writing on some sort of mirror that makes their markers glow. Almost like an old school SmartBoard, but as a mirror.

  • @maikvanrossum
    @maikvanrossum 11 місяців тому +10

    So basically this about ‘structuring’ your prompts in a way the LLM has to process your input…? And who is expected to formulate these ‘natural language’ questions…?

  • @WayOfTheZombie
    @WayOfTheZombie 6 місяців тому +1

    Instructions unclear, i now have a cat tattoo on my face

  • @diptarshi1234
    @diptarshi1234 11 місяців тому +2

    How it is generating responses if I only have to train it with all actual data.

  • @stanTrX
    @stanTrX 7 місяців тому +1

    Wish you had show more specific examples

  • @saadowain3511
    @saadowain3511 11 місяців тому +3

    Absolutely amazing

  • @yasmineclaire5299
    @yasmineclaire5299 7 місяців тому +1

    But but they all sound the same essentially? Please tell me the nuanced difference between the four.

  • @jabee81
    @jabee81 8 місяців тому +1

    The lady explanation always confused me, but still appreciate the intention.

  • @things799
    @things799 11 місяців тому +4

    Love you guys

  • @humanbeing1065
    @humanbeing1065 2 місяці тому +1

    i was distracted on how you did the drawing and not have to write backwards... lol

  • @Eugdum
    @Eugdum 3 місяці тому +1

    Thank you !

  • @riteshranjan3260
    @riteshranjan3260 9 місяців тому +1

    Good short/focused content. But example/context could have been lot better.

  • @faketrump3605
    @faketrump3605 9 місяців тому +1

    sorry for my slowness. but the only thing I could understand is the RAG. the other ones are not clear.

  • @MrVengngy
    @MrVengngy 9 місяців тому +2

    That amazing

  • @side54723
    @side54723 7 місяців тому +1

    😮Giving the same example for dsp and cop makes it confusing
    React isnt helping with prompt but with results... Misleading title

  • @darrenwastestime
    @darrenwastestime 8 місяців тому +1

    example prompts would've been helpful

  • @aibeginnertutorials
    @aibeginnertutorials 11 місяців тому +2

    Excellent presentattion

  • @davepowder4020
    @davepowder4020 11 місяців тому +1

    I have two questions. One, is IBM going to "decouple" from any dependency or vulnerability via China? Two, could IBM get back into the PC market? They were in rough times when they divested from their old PC, and sold it off as Lenovo. But they could really bring a high-end machine to market, and keep it U.S. developed.

    • @WilliamStonerock
      @WilliamStonerock 11 місяців тому

      The US dependency by IBM is also problematic. The pervasive and unethical spying by the American govt should have any company that relies on AI worried.

  • @tilkesh
    @tilkesh 6 місяців тому +1

    Thx

  • @Rosepoision
    @Rosepoision 6 місяців тому

    Apple intelligence seems work on this model

  • @techwithjesus8263
    @techwithjesus8263 11 місяців тому +4

    She's good 👍

  • @Cam1lo91
    @Cam1lo91 15 днів тому

    Lack of examples and not clear enough information for begginers killed this video for me

  • @PearsonLester-m5q
    @PearsonLester-m5q 2 місяці тому

    Miller Jessica Brown Larry Garcia Brian

  • @sapiomancer
    @sapiomancer 11 місяців тому +7

    Instantly confusing and unclear. The example didn't even flow in relation to what she was saying.

  • @ElChapoDel8
    @ElChapoDel8 7 місяців тому +2

    Really bad examples, couldn’t they ask the AI to give better ones?

  • @JurassicMonkey-x9f
    @JurassicMonkey-x9f 11 місяців тому +5

    This is really terrible! RAG is not a method of prompt engineering, it's an architecture! And as far as the prompt explanations, they are also really poor. No wonder nobody uses IBM anymore

  • @lordlee6473
    @lordlee6473 10 місяців тому +1

    That was confusing due to inferior examples given. No you didn’t succeed in explaining to a 8 year old

  • @alexanderepifani2657
    @alexanderepifani2657 8 місяців тому

    top

  • @krisrusso5900
    @krisrusso5900 11 місяців тому +50

    i never even thumb downed a video before. content was lacking. no prompt examples.

    • @j.maginnenu6291
      @j.maginnenu6291 10 місяців тому

      Lol😂

    • @galengkm
      @galengkm 10 місяців тому +1

      Agreed this was very lame, terrible examples and explanation lacking in specificity and clarity

    • @app8414
      @app8414 10 місяців тому +2

      It's click bait.

    • @AdamPippert
      @AdamPippert 8 місяців тому +1

      These videos are not for AI engineers, they are for business people that need to understand the tools and techniques used in generative AI. If you want real media AI content, go check out machine learning Street talk. This is not the channel for you.

  • @phily8020-u8x
    @phily8020-u8x 9 місяців тому +3

    Awful video for beginners

  • @favoritesonline
    @favoritesonline 5 місяців тому +1

    I really didn’t get value from this video.

  • @kboyle1127
    @kboyle1127 11 місяців тому +4

    This is completely inaccurate and confusing. IBM should take this down and check for accuracy of their content before putting this out there

    • @WilliamStonerock
      @WilliamStonerock 11 місяців тому +2

      Can you outline, briefly, the inaccuracy?

    • @2010RSHACKS
      @2010RSHACKS 11 місяців тому

      They trying to simplify it

  • @francisantony12
    @francisantony12 21 день тому

    superficial and pretty useless... Shoudl have given examples of a prompt for each

  • @aakashwalke2778
    @aakashwalke2778 3 місяці тому +1

    Mam loves anual earning example very much 🥹