Тёмный

ChatGPT Prompt Engineering Principles: Chain of Thought Prompting 

All About AI
Подписаться 161 тыс.
Просмотров 25 тыс.
50% 1

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

Наука

Опубликовано:

 

30 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 46   
@georgegray2712
@georgegray2712 10 месяцев назад
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.
@SimonHuggins
@SimonHuggins 15 дней назад
Well, had a bit more than 1k of memory to work with!
@aiadvantage
@aiadvantage 10 месяцев назад
Great video Kris! Very valuable topic
@amandamate9117
@amandamate9117 10 месяцев назад
lol
@AllAboutAI
@AllAboutAI 10 месяцев назад
Thanks mate :) lets have a catch up soon
@arnettbuckers
@arnettbuckers 10 месяцев назад
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!🤗
@ManiSaintVictor
@ManiSaintVictor 6 месяцев назад
Best explanation of chain of thought I've come across. Thanks.
@iampuco445
@iampuco445 10 месяцев назад
Amazing didactic ability!!! Chapeau … I’ll borrow that for my next talk
@travisross8704
@travisross8704 10 месяцев назад
Awesome! Let see more complex prompt engineering videos !
@wenyunie3575
@wenyunie3575 7 месяцев назад
I really like your two examples. They show perfectly the usefulness of COT
@ytpah9823
@ytpah9823 10 месяцев назад
🎯 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
@brunosompreee
@brunosompreee 7 месяцев назад
Thanks for the explanation. That helped me a lot in a prompt tuning I'm doing.
@NABZ028
@NABZ028 10 месяцев назад
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 10 месяцев назад
Thanks mate, 100% agree
@georgegray2712
@georgegray2712 10 месяцев назад
* “provide her with the best advice.”
@ylazerson
@ylazerson 10 месяцев назад
great video - thanks!
@ehza
@ehza 10 месяцев назад
This is useful, thanks man!
@Hall
@Hall Месяц назад
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.
@micbab-vg2mu
@micbab-vg2mu 10 месяцев назад
Great video - I am using yours prompts with some small modifications - results are great - thank you
@AllAboutAI
@AllAboutAI 10 месяцев назад
Thanks mate :)
@AndiAsante
@AndiAsante 3 месяца назад
Great explanation, thanks 🙏
@RaitisPetrovs-nb9kz
@RaitisPetrovs-nb9kz 10 месяцев назад
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 10 месяцев назад
Awsome mate :) will do a Custom Instrucitons vid
@georgegray2712
@georgegray2712 10 месяцев назад
Please share your custom instructions!!
@brianstieve648
@brianstieve648 10 месяцев назад
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 10 месяцев назад
its gotten alot dumber. not worth using anymore.
@BirgittaGranstrom
@BirgittaGranstrom 10 месяцев назад
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 10 месяцев назад
show me your prompt.
@AllAboutAI
@AllAboutAI 10 месяцев назад
Awsome :D just send me a mail if you need some additional input
@BirgittaGranstrom
@BirgittaGranstrom 7 месяцев назад
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 7 месяцев назад
@@AllAboutAI I will defenetly get back to you on this. Sorry for the delay!
@crobinso2010
@crobinso2010 10 месяцев назад
This should be called the "Socratic Method"
@gaussdog
@gaussdog 10 месяцев назад
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 10 месяцев назад
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 …
@NicheProfitEngine
@NicheProfitEngine 3 месяца назад
Is it possible to structure this into a single prompt?
@somag6810
@somag6810 7 месяцев назад
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 10 месяцев назад
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.
@trud811
@trud811 10 месяцев назад
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 10 месяцев назад
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 10 месяцев назад
@@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 10 месяцев назад
Would it solve a crime if it is feeded witnesses reports the same way it solve the riddle?!
@leod7
@leod7 9 месяцев назад
Pretty much as in the Minority report movie
@user-cd3xl9cp3g
@user-cd3xl9cp3g 8 месяцев назад
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 10 месяцев назад
Using AI to identify the country of origin of a cartoon character ... good God, we're all doomed
@typicallyvirgo
@typicallyvirgo 4 месяца назад
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...
Далее
▼КОРОЛЬ СОЖРАЛ ВСЕХ 👑🍗
29:48
Просмотров 270 тыс.
Я КУПИЛ САМЫЙ МОЩНЫЙ МОТОЦИКЛ!
59:15
The Perfect ChatGPT Prompt Formula (Start With This!)
13:03
4 Methods of Prompt Engineering
12:42
Просмотров 124 тыс.
Graph-of-Thoughts (GoT) for AI reasoning Agents
41:34
Why Large Language Models Hallucinate
9:38
Просмотров 182 тыс.
This AI Skill Will Put You Ahead of 98% of People
30:19
Google’s NEW Prompting Guide is Incredible!
9:11
Просмотров 136 тыс.