4 Methods of Prompt Engineering

  Рет қаралды 104,706

IBM Technology

IBM Technology

Күн бұрын

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-rf4kx 4 ай бұрын
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
@DanAlvard 4 ай бұрын
@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
@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.
@egemengulpinar379
@egemengulpinar379 2 ай бұрын
So simple and focused on the main idea and key points. Thank you for your straightforward explanation!
@UVTimeTraveller
@UVTimeTraveller 2 ай бұрын
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.
@GibranCastillo
@GibranCastillo 3 ай бұрын
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
@saadowain3511 4 ай бұрын
Absolutely amazing
@bowneeb4986
@bowneeb4986 2 ай бұрын
Beautiful explanation!!
@osamaa.h.altameemi5592
@osamaa.h.altameemi5592 4 ай бұрын
simple, direct, and on point. Thx a ton
@things799
@things799 4 ай бұрын
Love you guys
@storyteller_prashant
@storyteller_prashant 3 ай бұрын
Really nice 👍
@SB-vj5sn
@SB-vj5sn 2 ай бұрын
Nice, short clip, explaining such mega-areas in 12 minutes
@MrVengngy
@MrVengngy 2 ай бұрын
That amazing
@marquesjones3411
@marquesjones3411 3 ай бұрын
Does this apply to all practical language models currently? This is how I should rizzz up my chat4 bot?
@karthickwork3296
@karthickwork3296 3 ай бұрын
Woule be helpful if you can come up with realime example and usuage. May be in parts..
@vanir23
@vanir23 2 ай бұрын
It is wild to me how engineers view the research process. Honestly, they make it more complicated than it needs to be.
@stanTrX
@stanTrX 14 күн бұрын
Wish you had show more specific examples
@jabee81
@jabee81 Ай бұрын
The lady explanation always confused me, but still appreciate the intention.
@ifeanyiidiaye1889
@ifeanyiidiaye1889 4 ай бұрын
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.
@diptarshi1234
@diptarshi1234 4 ай бұрын
How it is generating responses if I only have to train it with all actual data.
@gkennedy_aiforsocialbenefit
@gkennedy_aiforsocialbenefit 4 ай бұрын
Excellent presentattion
@riteshranjan3260
@riteshranjan3260 2 ай бұрын
Good short/focused content. But example/context could have been lot better.
@maikvanrossum
@maikvanrossum 4 ай бұрын
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…?
@ChuckNorris-lf6vo
@ChuckNorris-lf6vo 4 ай бұрын
Im sorry I don't get it at all? What does the computer do exactly ?
@j.maginnenu6291
@j.maginnenu6291 3 ай бұрын
Lol
@yasmineclaire5299
@yasmineclaire5299 20 күн бұрын
But but they all sound the same essentially? Please tell me the nuanced difference between the four.
@jonesbbq307
@jonesbbq307 2 ай бұрын
So ReACT is just RAG with two databases?
@faketrump3605
@faketrump3605 2 ай бұрын
sorry for my slowness. but the only thing I could understand is the RAG. the other ones are not clear.
@alexanderepifani2657
@alexanderepifani2657 Ай бұрын
top
@darrenwastestime
@darrenwastestime Ай бұрын
example prompts would've been helpful
@techwithjesus8263
@techwithjesus8263 4 ай бұрын
She's good 👍
@davepowder4020
@davepowder4020 4 ай бұрын
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
@sapiomancer 4 ай бұрын
Instantly confusing and unclear. The example didn't even flow in relation to what she was saying.
@lordlee6473
@lordlee6473 3 ай бұрын
That was confusing due to inferior examples given. No you didn’t succeed in explaining to a 8 year old
@user-jf5uv9ir5k
@user-jf5uv9ir5k 2 ай бұрын
Awful video for beginners
@user-eu5in1gw2h
@user-eu5in1gw2h 4 ай бұрын
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 ай бұрын
@krisrusso5900
@krisrusso5900 4 ай бұрын
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 Ай бұрын
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.
@ElChapoDel8
@ElChapoDel8 6 күн бұрын
Really bad examples, couldn’t they ask the AI to give better ones?
@kboyle1127
@kboyle1127 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 4 ай бұрын
Can you outline, briefly, the inaccuracy?
@2010RSHACKS
@2010RSHACKS 4 ай бұрын
They trying to simplify it
@eatyourt0fu
@eatyourt0fu 2 ай бұрын
I'm confused. Isn't RAG and prompt engineering two fundamentally different concepts?
Discover Prompt Engineering | Google AI Essentials
30:30
Google Career Certificates
Рет қаралды 25 М.
СҰЛТАН СҮЛЕЙМАНДАР | bayGUYS
24:46
bayGUYS
Рет қаралды 788 М.
Omega Boy Past 3 #funny #viral #comedy
00:22
CRAZY GREAPA
Рет қаралды 34 МЛН
когда достали одноклассники!
00:49
БРУНО
Рет қаралды 3,7 МЛН
The most important AI trends in 2024
9:35
IBM Technology
Рет қаралды 203 М.
What is a Vector Database?
8:12
IBM Technology
Рет қаралды 46 М.
RAG for LLMs explained in 3 minutes
3:15
Manny Bernabe
Рет қаралды 13 М.
What They Told You About Prompt Engineering is WRONG!
8:38
codebasics
Рет қаралды 13 М.
Generative AI in a Nutshell - how to survive and thrive in the age of AI
17:57
What is Prompt Tuning?
8:33
IBM Technology
Рет қаралды 165 М.
Prompt Engineering Tutorial - Master ChatGPT and LLM Responses
41:36
freeCodeCamp.org
Рет қаралды 1,3 МЛН
AI’s Hottest New Job Pays Up to $250K a Year. So I Applied. | WSJ
4:59
The Wall Street Journal
Рет қаралды 361 М.
СҰЛТАН СҮЛЕЙМАНДАР | bayGUYS
24:46
bayGUYS
Рет қаралды 788 М.