4 Methods of Prompt Engineering

Explore watsonx → ibm.biz/explore-ibm-watsonx
Dig Deeper: What is prompt engineering? → ibm.biz/prompt-engineering
Learn generative AI → ibm.biz/generative-ai-for-dev...
Have you heard of these AI prompt engineering methods?
• Retrieval Augmented Generation (RAG)
• Chain-of-Thought (COT)
• ReACT (Reason + Act)
• Directional Stimulus Prompting (DSP)
Wondering what the differences and values of each are?
In this video, IBM Distinguished Engineer Suj Perepa explains those differences and values, provides an example of each method, and tells how they can be best used and even combined.
Introduction 0:00
RAG 1:16
Chain of Thought (COT) 3:33
ReACT 6:30
Directional Stimulus Prompting (DSP) 10:48
Combinations 12:05
Get started for free on IBM Cloud → ibm.biz/sign-up-now
Subscribe to see more videos like this in the future → ibm.biz/subscribe-now
#ai #neuralnetworks #promptengineering #genai

Пікірлер: 53

  • @DataScienceAI-rf4kx
    @DataScienceAI-rf4kx4 ай бұрын

    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.

  • @DanAlvard
    @DanAlvard4 ай бұрын

    @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

  • @egemengulpinar379
    @egemengulpinar3792 ай бұрын

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

  • @HojaUno
    @HojaUnoАй бұрын

    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.

  • @UVTimeTraveller
    @UVTimeTraveller2 ай бұрын

    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.

  • @osamaa.h.altameemi5592
    @osamaa.h.altameemi55924 ай бұрын

    simple, direct, and on point. Thx a ton

  • @GibranCastillo
    @GibranCastillo3 ай бұрын

    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.

  • @saadowain3511
    @saadowain35114 ай бұрын

    Absolutely amazing

  • @bowneeb4986
    @bowneeb49862 ай бұрын

    Beautiful explanation!!

  • @things799
    @things7994 ай бұрын

    Love you guys

  • @storyteller_prashant
    @storyteller_prashant3 ай бұрын

    Really nice 👍

  • @MrVengngy
    @MrVengngy2 ай бұрын

    That amazing

  • @marquesjones3411
    @marquesjones34113 ай бұрын

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

  • @SB-vj5sn
    @SB-vj5sn3 ай бұрын

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

  • @karthickwork3296
    @karthickwork32963 ай бұрын

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

  • @diptarshi1234
    @diptarshi12344 ай бұрын

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

  • @ifeanyiidiaye1889
    @ifeanyiidiaye18894 ай бұрын

    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

    4 ай бұрын

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

  • @yesblahblah

    @yesblahblah

    4 ай бұрын

    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

    4 ай бұрын

    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.

  • @vanir23
    @vanir232 ай бұрын

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

  • @ChuckNorris-lf6vo
    @ChuckNorris-lf6vo4 ай бұрын

    Im sorry I don't get it at all? What does the computer do exactly ?

  • @j.maginnenu6291

    @j.maginnenu6291

    3 ай бұрын

    Lol

  • @gkennedy_aiforsocialbenefit
    @gkennedy_aiforsocialbenefit4 ай бұрын

    Excellent presentattion

  • @stanTrX
    @stanTrX15 күн бұрын

    Wish you had show more specific examples

  • @jabee81
    @jabee81Ай бұрын

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

  • @riteshranjan3260
    @riteshranjan32602 ай бұрын

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

  • @jonesbbq307
    @jonesbbq3072 ай бұрын

    So ReACT is just RAG with two databases?

  • @maikvanrossum
    @maikvanrossum4 ай бұрын

    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…?

  • @yasmineclaire5299
    @yasmineclaire529921 күн бұрын

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

  • @faketrump3605
    @faketrump36052 ай бұрын

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

  • @techwithjesus8263
    @techwithjesus82634 ай бұрын

    She's good 👍

  • @darrenwastestime
    @darrenwastestimeАй бұрын

    example prompts would've been helpful

  • @alexanderepifani2657
    @alexanderepifani2657Ай бұрын

    top

  • @davepowder4020
    @davepowder40204 ай бұрын

    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

    4 ай бұрын

    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.

  • @side54723
    @side54723Ай бұрын

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

  • @sapiomancer
    @sapiomancer4 ай бұрын

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

  • @lordlee6473
    @lordlee64733 ай бұрын

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

  • @user-eu5in1gw2h
    @user-eu5in1gw2h4 ай бұрын

    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

  • @made432

    @made432

    3 ай бұрын

  • @made432

    @made432

    3 ай бұрын

  • @user-jf5uv9ir5k
    @user-jf5uv9ir5k2 ай бұрын

    Awful video for beginners

  • @ElChapoDel8
    @ElChapoDel88 күн бұрын

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

  • @krisrusso5900
    @krisrusso59004 ай бұрын

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

  • @j.maginnenu6291

    @j.maginnenu6291

    3 ай бұрын

    Lol😂

  • @galengkm

    @galengkm

    3 ай бұрын

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

  • @app8414

    @app8414

    3 ай бұрын

    It's click bait.

  • @AdamPippert

    @AdamPippert

    2 ай бұрын

    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.

  • @kboyle1127
    @kboyle11274 ай бұрын

    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

    4 ай бұрын

    Can you outline, briefly, the inaccuracy?

  • @2010RSHACKS

    @2010RSHACKS

    4 ай бұрын

    They trying to simplify it

  • @eatyourt0fu
    @eatyourt0fu2 ай бұрын

    I'm confused. Isn't RAG and prompt engineering two fundamentally different concepts?