ADVANCED ChatGPT Prompt Engineering: 7+ Chain Prompts in the Tree of Thougts Principle

preview_player
Показать описание
ADVANCED ChatGPT Prompt Engineering: 7+ Chain Prompts in the Tree of Thougts Principle

Find the prompts here:

👊 Become a member:

Get a FREE 45+ ChatGPT Prompts PDF here:
📧 Join the newsletter:

🌐 My website:

In this video we take a look at a prompt engineering technique in ChatGPT and Python that uses Chain-of-thought prompting + the tree of thoughs principale to solve problems and improve reasoning.

00:00 ChatGPT Advanced Prompt Engineering Intro
00:18 How to ChatGPT Prompt Chaining Works
01:34 ChatGPT Advanced Prompts Sequence
07:05 Python Advanced Prompt Engineering
Рекомендации по теме
Комментарии
Автор

I would recommend testing whether GPT-3/4 most frequently ranks the first idea as the highest.

In my testing it does.

I would consider having it rank each idea individually and see if the results are the same.

robxmccarthy
Автор

when i break up with my GF, Im just going to send her this video

SparxCarnival
Автор

I tried some similiar stuff in. but I used prompts to setup different roles (in my case marketing guy, scientist (technical knowledge), business visionary guy, investor) and let them come discuss ideas with pros and cons, and loop several times. it was pretty interesting because certain aspects of ideas where good but then in the discussion it turned out they were to expensive or the market was to small, etc.

you can also use gpt to comeup with roles, in your case: if i need advice concerning relationships, what kind of different personalities with different educations and personal experiences could be helpful to talk to, to get different ideas, opinions and interpretations. give a list

MrKwizzles
Автор

This worked for me: Roleplay that you are a unique individual who is an expert with 30 years of concurrent experience in both the public and private spheres in (name 7 disciplines that are related to weight loss, healthy mind and overall wellness. 5 times rank the different disciplines in numerical order 1 to 10 with 10 being the best regarding consistent and sustainable weight loss. Each iteration use different unique techniques and innovative measures to rank their effectiveness regarding consistent and sustainable weight loss. After the 5th time average the scores from the 5 iterations and pick the top four disciplines. Those are the 4 you are uniquely skilled in). You are a published author in all of those disciplines and have won multiple prestigious awards in all 4 disciplines.

Knowdis
Автор

Great improvement over the simpler tree of thought process shown in previous approach. This time it really worked like a human would act when faced with a task to brainstorm and find best solution.

derryfh
Автор

Thank you for this and all your videos. Makes complex issues easy to understand and follow with real life examples.

benny
Автор

I think that we shouldn't test the models with problems that are well known. If you now try to ask ChatGPT 4 the same question, it replies with correct amount. Since that podcast rised some concern about the real abilities of such models I think they fixed it (or anyway the model is constantly improving thanks to user feedback that it got fixed).

This is the answer I got (without plugins):
The time it takes for clothes to dry is generally not directly related to the quantity of clothes. The drying time depends more on factors such as how wet the clothes are, the temperature, humidity, and wind speed.

If we assume that these variables stay constant, and the five clothes you initially dried didn't overlap each other and were equally exposed to the sun and wind, then you should be able to dry 30 clothes in the same amount of time (5 hours), given that you have enough space to spread them out as you did with the initial 5 clothes.

However, if you don't have enough space and the clothes need to be overlapped or not all clothes get the same exposure to sun and wind, then it might take longer. But without additional information, it's hard to estimate how much longer it would take.

FabioAngela
Автор

Brother I just have to tip my hat. Your many different presentations on prompting are nothing short of brilliant. More effectively than most on YT, they serve to demonstrate that in order to hack the best results out of these LLMs, you have to understand basic programming principles. (At least for now!)

JamesJosephFinn
Автор

Awesome, and thank you. I truly appreciate the simplicity and organization of your presentation. I absolutely must work on my frustration when submitting prompts and not receiving an appropriate reply. Sometimes Chappy will say random things such as, "Hmm, I'm not sure. But here's the latest recipe for chocolate chip cookies" (and yes, assigning GPU a name allows me to not feel so ridiculous about engaging in conversation with AI.)

Mind.Body.Mosaic
Автор

My first thought conclusion was: What first comes to your mind is often the best idea. (=the more you are trained in listen to your intuition -which is based on more information then your conscious mind can access.) It would be interesting to create statistic how it works with ChatGPT. The second problem is mathematics and not applicable. Whatever it is your scripts are insane brilliant and useful. I think this was a sneak peak of the reason process for future GPT versions, or....?

BirgittaGranstrom
Автор

All About AI and Goda Go are the only true prompt engineering channels I have come across yet.

MODEST
Автор

Asking ChatGPT to act as a psychologist and a relationship coach is basically what we are doing at Remble. 🙂 We are studying the best prompts and prompt chain of thought approaches for this specific scenario. It’s still pretty early, but I am definitely encouraged and excited by the potential of using this technology to actually help people who otherwise would never feel comfortable reaching out to a therapist for help.

ron.timoshenko
Автор

Imma be putting this idea in my library thanks!

savagejoe
Автор

What an awesome prompt-flow! 👏 Those problems were pretty rank, though 🤣

TheUnsubScribe
Автор

Thank you for ur information about chatGPT

videomantan
Автор

I'm no expert in ToT but what I understand is that the idea is:

1. Pose the problem. Generate first layer of solutions and rank them.

2. Add a second layer by selecting each of first layer of solutions and generating different type of solutions from each with different question and then ranking them.

In your example, generate a number of new solutions from each first solution (for example how to engage in direct discussion) by trying to add their pros and reducing cons.

3. Add third layer with another type of question for all solutions from 2nd layer or stop.

4. Finally compare all answers from the last layer to see which path lead you to best solution. (Even if the first layer didn't produce the best ranked solution.)

mertanen
Автор

Awesome as always! Funny thing is that you still can make winning idea better. It is another technique. I get shocked 😲 by ChatGPT capabilities everyday now ))

umaruly_ai
Автор

To go around the content limitation, keep the titles of already discarded ideas in "Discarded: idea1, idea2, idea3, etc." and pass it to any new prompt loop. That will allow you to keep some sort of history and avoid repetition of ideas without breaking the limits. Good content by the way, keep up!

Note: Do you know that you sound simmilar to uncle roger? 😂

MiguelAngelMartinGordillo
Автор

Thank you so much for your hard work.
I noticed there was a difference between the prompt in the video and on your site. What is the difference between the two?

rustyxof
Автор

If I may here's an idea for a video. I'd do it, but my skill set is not there yet. Write a ToT prompt that lays out the scenario from the 1983 movie War Games. Have ChatGPT-4 assume the role of WOPR. Feed it a bunch of nuclear war simulations to find out which one leads the best possible outcome for the "winning" country. Then finally have it set up some AI Agents to play one another in a game of TIC-TAC-TOE. See if ChatGPT-4 figures out "the only winning move is not to play."

timothypruitt