ChatGPT Prompt Engineering Principles: Chain of Thought Prompting

  Рет қаралды 23,289

All About AI

All About AI

Күн бұрын

ChatGPT Prompt Engineering Principles: Chain of Thought Prompting
👊 Become a member:
/ allaboutai
Get a FREE 45+ ChatGPT Prompts PDF here:
📧 Join the newsletter:
www.allabtai.com/newsletter/
🌐 My website:
www.allabtai.com
Discover how to optimize your AI experience by understanding the principles of Prompt Engineering in GPT-4 / ChatGPT! In this video, we'll guide you through the key components that shape your AI's behavior, from giving it a name and persona, to assigning roles, providing context, and defining tasks. Learn how these elements come together to improve user satisfaction, increase control over responses, and unlock new applications.
Watch now and start harnessing the full power of GPT-4 / ChatGPT for your business and creative needs!
00:00 ChatGPT Prompt Engineering Principles Intro
00:45 What is Chain of Thought Prompting?
01:50 Chain of Thought Prompt Example 1
07:14 Chain of Thought Prompt Example 2

Пікірлер: 45
@georgegray2712
@georgegray2712 9 ай бұрын
As someone who has been involved with computers since the Sinclair ZX-81 in the 80s, it is absolutely incredible that a machine can perform this level of reasoning.
@Hall
@Hall 23 күн бұрын
Great example! ❤ Interestingly, my tests also reveal that adding “think step by step” with GPT 4o can accomplish the same results without COT prompting. Takeaway: As AI gets smarter, it can handle more complex problems without as much human assistance.
@ManiSaintVictor
@ManiSaintVictor 5 ай бұрын
Best explanation of chain of thought I've come across. Thanks.
@ytpah9823
@ytpah9823 9 ай бұрын
🎯 Key Takeaways for quick navigation: 00:00 🧠 "Perfect Prompt Principles" is a series exploring techniques to improve prompt engineering for better results in language models. 01:06 🔄 Chain of Thought Prompting involves breaking down complex problems into step-by-step subproblems to achieve more accurate and useful outputs from language models. 02:03 🚫 Some problems, like riddles, can't be solved directly with language models; they require a Chain of Thought approach to systematically tackle each component. 03:13 📝 When using Chain of Thought prompting, start by listing all the subproblems that need to be addressed before solving the main problem. 06:05 🤖 Language models may not have all the answers, but making educated guesses based on probabilities can help progress in solving complex problems. 08:51 🧩 Chain of Thought can be applied to various problems, even when a direct solution seems possible, to ensure thorough and detailed analysis. 10:12 🗂️ Chain of Thought can lead to nuanced and considered answers by addressing multiple aspects and potential ambiguities within a problem. 11:48 🧐 Using Chain of Thought, language models can provide more insightful answers by considering the sequence of events and potential variables within a problem-solving scenario. Made with HARPA AI
@iampuco445
@iampuco445 9 ай бұрын
Amazing didactic ability!!! Chapeau … I’ll borrow that for my next talk
@aiadvantage
@aiadvantage 9 ай бұрын
Great video Kris! Very valuable topic
@amandamate9117
@amandamate9117 9 ай бұрын
lol
@AllAboutAI
@AllAboutAI 9 ай бұрын
Thanks mate :) lets have a catch up soon
@arnettbuckers
@arnettbuckers 9 ай бұрын
Love the fact that you guys are friendly. Love both your channels. Could you do a video on Tree of Thoughts prompting similar to this one? I've tried using the ToT approach but I'm not as skilled in AI as you two. Be great to see a detailed example from either one of you. Either way. Thanks for the content guys! Really appreciate it!🤗
@wenyunie3575
@wenyunie3575 6 ай бұрын
I really like your two examples. They show perfectly the usefulness of COT
@travisross8704
@travisross8704 9 ай бұрын
Awesome! Let see more complex prompt engineering videos !
@brunosompreee
@brunosompreee 6 ай бұрын
Thanks for the explanation. That helped me a lot in a prompt tuning I'm doing.
@ehza
@ehza 9 ай бұрын
This is useful, thanks man!
@ylazerson
@ylazerson 9 ай бұрын
great video - thanks!
@AndiAsante
@AndiAsante 2 ай бұрын
Great explanation, thanks 🙏
@micbab-vg2mu
@micbab-vg2mu 9 ай бұрын
Great video - I am using yours prompts with some small modifications - results are great - thank you
@AllAboutAI
@AllAboutAI 9 ай бұрын
Thanks mate :)
@NABZ028
@NABZ028 9 ай бұрын
As always, the key is to guide the LLM and provide him with the best advice. The LLM's ability to "reason" is amazing, and I can only imagine what they will be able to accomplish in the future. The examples are great because they provide a clear explanation of the technique and show how it can be applied to a variety of situations.
@AllAboutAI
@AllAboutAI 9 ай бұрын
Thanks mate, 100% agree
@georgegray2712
@georgegray2712 9 ай бұрын
* “provide her with the best advice.”
@brianstieve648
@brianstieve648 9 ай бұрын
This is great! Don't know if it's learned more since it was uploaded, but it solved problem 1 for me with no issues about the museum without chain of thought prompting.
@KooksEntertainment-dd6oe
@KooksEntertainment-dd6oe 9 ай бұрын
its gotten alot dumber. not worth using anymore.
@RaitisPetrovs-nb9kz
@RaitisPetrovs-nb9kz 9 ай бұрын
Great, I just tested my custom instruction, which I crafted together with ChatGPT4 some weeks ago. It solves both problems in one go! I knew it is good! Great job, Kris, love the series, will send you the custom instruction prompt over the email!
@AllAboutAI
@AllAboutAI 9 ай бұрын
Awsome mate :) will do a Custom Instrucitons vid
@georgegray2712
@georgegray2712 9 ай бұрын
Please share your custom instructions!!
@BirgittaGranstrom
@BirgittaGranstrom 9 ай бұрын
Love your Prompt Principles! Will listen a second time and see how I can apply it to one of my coaching methods to ISOLATE a problem. (I'm working on the Englings acronym version:-) Identifiera-Specificera-OrsaksInventera-LösningsFokusera-EffektAnalysera-Radera-Applådera
@amandamate9117
@amandamate9117 9 ай бұрын
show me your prompt.
@AllAboutAI
@AllAboutAI 9 ай бұрын
Awsome :D just send me a mail if you need some additional input
@BirgittaGranstrom
@BirgittaGranstrom 6 ай бұрын
Thanks for your comment! It worked as a reminder of the ISOLATE method. I will get bac to you when it's done. So much interesting stuff to do and to little time.
@BirgittaGranstrom
@BirgittaGranstrom 6 ай бұрын
@@AllAboutAI I will defenetly get back to you on this. Sorry for the delay!
@crobinso2010
@crobinso2010 9 ай бұрын
This should be called the "Socratic Method"
@gaussdog
@gaussdog 9 ай бұрын
Chain of Socrates, .. 😁 interestingly enough, I have an extraordinarily complex idea that I’m working on, and it requires exactly this, as part of its set up, and I jokingly call it the ChatSPT: Socratically Pretrained Transformer
@iampuco445
@iampuco445 9 ай бұрын
I don’t want to be a KLUGSCHEISSER but the Socratic method is a bit different. In this (amazing) video you have the whole riddle in place and cut it in slices. In the Socratic dialog you develop the riddle by inspecting a single thought more and more detailed …
@somag6810
@somag6810 6 ай бұрын
I am guessing with my intuition that knowledge graphs can really help get better results and chatgpt might be using the same especially for chain of thought problems.
@mageprometheus
@mageprometheus 9 ай бұрын
I tried the ball and box problem with GPT3.5.turbo. Oh, dear. It needs a lot of hand-holding and keeps forgetting what it learned. Thanks for this.
@NicheProfitEngine
@NicheProfitEngine 2 ай бұрын
Is it possible to structure this into a single prompt?
@trud811
@trud811 9 ай бұрын
For the first Japan problem. GPT4 can solve it even with the original prompt without any clarification. Is this method applicable for GPT4, or all such settings performed internally in the GPT4 engine? Here is my problem: "Michael is a 31 year old man from America. He is at that really famous museum in France looking at its most famous painting. However, the artist who made this painting just makes Michael think of his favourite cartoon character from his childhood. What was the country of origin of the thing that the cartoon character usually holds in his hand?" Solve this:
@AllAboutAI
@AllAboutAI 9 ай бұрын
Yeah, it is very applicable to GPT-4 too. But as you state GPT-4 is already much better than 3.5 to solve these types of problems from a Zero shot. But for longer more complex problems it really makes a big difference
@trud811
@trud811 9 ай бұрын
@@AllAboutAI Thanks for the answer. I just read in another source that you may just add "Take a deep breath and work on this problem step-by-step" and the result will be better. I applied it to your second problem, and it worked(so no need to do a complex staff as in the video). Maybe you may find cases where even this is not working? I am in my garage, I pick up a small ball and I grab a small box that is missing the bottom. I walk into my office and I put the small ball into the small box. Then I take the small box with me to the postal office. Here I put the small box into a bigger box and sent it to my friend in New York. Where is the ball now? Take a deep breath and work on this problem step-by-step
@TechMarine
@TechMarine 9 ай бұрын
Would it solve a crime if it is feeded witnesses reports the same way it solve the riddle?!
@leod7
@leod7 8 ай бұрын
Pretty much as in the Minority report movie
@user-cd3xl9cp3g
@user-cd3xl9cp3g 7 ай бұрын
INTERESTING video ! I noticed you fell into the same trap we all occasionally (regularly!) fall into - you start saying "I THINK the response are CORRECT"... You THINK the response is CORRECT? We have to challenge ourselves to NOT consider our OPINIONS are equivalent to FACT. "I think the response is correct" implies you KNOW the CORRECT answer when in fact you only have a hunch, and even YOU are making ASSUMPTIONS about HOW you held the box, and even how long it took to ship the box. "I think I AGREE WITH the answer" is a bit more honest; you DON'T in fact "know" the CORRECT answer, nor are you pretending to be any sort of omniscient guru. ALL you're saying is your OPINION - you happen to AGREE with the response as "reasonable"... That's all we can say in light of the ambiguities - that the conclusion is REASONABLE. Train of Thought/Chain of Thought Prompting is fast becoming one of the most fascinating aspects of GPT for many many data scientists like myself ! Keep up the great videos ! Mark Vogt, Principal Data Scientist, Avanade
@jdanorthwest
@jdanorthwest 9 ай бұрын
Using AI to identify the country of origin of a cartoon character ... good God, we're all doomed
@typicallyvirgo
@typicallyvirgo 3 ай бұрын
For folks understanding GPT, the type of examples quoted in your CoT prompting are absolutely ridiculous. CoT needs to be done for problems and not wordy riddles. What you demonstrated is just a GPT working demonstration. It does little to explain CoT in any way...
ИРИНА КАЙРАТОВНА - АЙДАХАР (БЕКА) [MV]
02:51
ГОСТ ENTERTAINMENT
Рет қаралды 6 МЛН
когда повзрослела // EVA mash
00:40
EVA mash
Рет қаралды 2,3 МЛН
The Perfect ChatGPT Prompt Formula (Start With This!)
13:03
Brie Kirbyson
Рет қаралды 46 М.
ChatGPT / GPT-4 System Prompt Engineering - Ultimate Guide
27:22
All About AI
Рет қаралды 107 М.
ChatGPT-4 Prompt Engineering: The Tree of Thoughts Method - WOW!
11:16
Chain of Thought with Retrieval for LLMs
10:06
Vivek Haldar
Рет қаралды 3 М.
4 Methods of Prompt Engineering
12:42
IBM Technology
Рет қаралды 114 М.
Prompt Engineering Tutorial - Master ChatGPT and LLM Responses
41:36
freeCodeCamp.org
Рет қаралды 1,4 МЛН
Chain of Thought (CoT) meets Instruction Fine-Tuning
29:55
code_your_own_AI
Рет қаралды 7 М.
Master the Perfect ChatGPT Prompt Formula (in just 8 minutes)!
8:30
Samsung S24 Ultra professional shooting kit #shorts
0:12
Photographer Army
Рет қаралды 33 МЛН
Lid hologram 3d
0:32
LEDG
Рет қаралды 9 МЛН