Hi guys.
Welcome to this session.
So in this session we wanted to look at another type of style of prompting which can be chain of thought
prompting.
So chain of thought prompting is a simple technique wherein you can ask ChatGPT to explain the answer
in a step by step format.
So rather than jumping to the answer straight away, you want ChatGPT to take you through the complete
steps to reach to that answer.
So now it is going to work on that and give you a step by step understanding of how it reached and came
up to that answer which you got.
So this way the understanding is better.
Sometimes when we are interested in a particular topic, we would like to know the process, how the
particular thing was evaluated.
So in such cases this kind of response is very useful.
So for example the format the prompt formula which we can use is you can give your question and then
you can just say let's think step by step.
So now ChatGPT will give you the solution in a step by step format.
Like for example, what's the diameter of the sun?
Okay.
What is the weight of an oxygen molecule.
So let's see this in practical how this will make a difference.
So let's start with first without our prompt and see what response ChatGPT gives us.
So you can see simply we have jumped to the answer and it has given us the answer very clearly, which
is there.
But now let's do it step by step.
So now you can see it has gone step by step.
Where it starts with understanding the sun size.
The sun is a massive ball of hot gas and gives clear understanding.
Definition of the sun's size.
Now what is a diameter?
It's also defining what is the diameter as a unit to measure.
Then measuring the sun's diameter.
So it's looking at.
Now they're coming to the point where they are trying to look at sun's diameter.
How to measure.
So they're giving that understanding.
Then sun's diameter based on these observations diameter is 1.3 million.
They come up with the figures which they have given.
And finally they're concluding it with the final answer.
So this way they have broken it down into multiple parts defining each part and then joining them all
together to come to the final conclusion.
So this really helps.
Let's look at another one.
Let's go with the question first.
What is the weight of the oxygen molecule.
Now in this case what is happening is it is automatically taking the previous conversation into consideration
and giving us the output in a step by step format.
So this is what we were expecting by the step by step prompting methodology.
Okay.
So wherein it's asking telling us the oxygen molecule composition is what mass of the oxygen atom is
this much.
Okay.
And then converting the atomic mass units to kilograms.
So it turns out to be this much.
So now we're getting all the information in a very step by step format.
I hope this makes sense.
You understand this type of prompting, which you can also use to understand better.
The responses which you get understand the whole process, how ChatGPT processed the whole information
and gave you the solution.
Thank you so much guys for listening to this and I will see you in the next video.