1 00:00:02,400 --> 00:00:02,880 Hi guys. 2 00:00:02,880 --> 00:00:03,840 Welcome to this session. 3 00:00:03,840 --> 00:00:08,200 So in this session we wanted to look at another type of style of prompting which can be chain of thought 4 00:00:08,200 --> 00:00:08,760 prompting. 5 00:00:09,200 --> 00:00:15,520 So chain of thought prompting is a simple technique wherein you can ask ChatGPT to explain the answer 6 00:00:15,520 --> 00:00:17,160 in a step by step format. 7 00:00:17,400 --> 00:00:22,800 So rather than jumping to the answer straight away, you want ChatGPT to take you through the complete 8 00:00:22,800 --> 00:00:24,920 steps to reach to that answer. 9 00:00:25,120 --> 00:00:31,680 So now it is going to work on that and give you a step by step understanding of how it reached and came 10 00:00:31,680 --> 00:00:33,560 up to that answer which you got. 11 00:00:33,880 --> 00:00:36,120 So this way the understanding is better. 12 00:00:36,120 --> 00:00:41,040 Sometimes when we are interested in a particular topic, we would like to know the process, how the 13 00:00:41,040 --> 00:00:43,560 particular thing was evaluated. 14 00:00:43,560 --> 00:00:47,520 So in such cases this kind of response is very useful. 15 00:00:47,760 --> 00:00:52,760 So for example the format the prompt formula which we can use is you can give your question and then 16 00:00:52,760 --> 00:00:55,200 you can just say let's think step by step. 17 00:00:55,440 --> 00:01:00,200 So now ChatGPT will give you the solution in a step by step format. 18 00:01:00,320 --> 00:01:03,080 Like for example, what's the diameter of the sun? 19 00:01:03,800 --> 00:01:04,000 Okay. 20 00:01:04,040 --> 00:01:06,160 What is the weight of an oxygen molecule. 21 00:01:07,120 --> 00:01:10,320 So let's see this in practical how this will make a difference. 22 00:01:12,700 --> 00:01:19,420 So let's start with first without our prompt and see what response ChatGPT gives us. 23 00:01:19,420 --> 00:01:24,220 So you can see simply we have jumped to the answer and it has given us the answer very clearly, which 24 00:01:24,220 --> 00:01:24,820 is there. 25 00:01:25,060 --> 00:01:27,860 But now let's do it step by step. 26 00:01:43,260 --> 00:01:45,900 So now you can see it has gone step by step. 27 00:01:45,900 --> 00:01:49,140 Where it starts with understanding the sun size. 28 00:01:49,380 --> 00:01:53,460 The sun is a massive ball of hot gas and gives clear understanding. 29 00:01:53,460 --> 00:01:55,340 Definition of the sun's size. 30 00:01:55,380 --> 00:01:56,420 Now what is a diameter? 31 00:01:56,420 --> 00:02:00,300 It's also defining what is the diameter as a unit to measure. 32 00:02:00,620 --> 00:02:02,220 Then measuring the sun's diameter. 33 00:02:02,220 --> 00:02:03,220 So it's looking at. 34 00:02:03,260 --> 00:02:07,020 Now they're coming to the point where they are trying to look at sun's diameter. 35 00:02:07,020 --> 00:02:07,780 How to measure. 36 00:02:07,820 --> 00:02:09,220 So they're giving that understanding. 37 00:02:09,500 --> 00:02:14,100 Then sun's diameter based on these observations diameter is 1.3 million. 38 00:02:14,140 --> 00:02:16,500 They come up with the figures which they have given. 39 00:02:16,700 --> 00:02:19,660 And finally they're concluding it with the final answer. 40 00:02:19,980 --> 00:02:25,850 So this way they have broken it down into multiple parts defining each part and then joining them all 41 00:02:25,890 --> 00:02:27,970 together to come to the final conclusion. 42 00:02:28,250 --> 00:02:29,450 So this really helps. 43 00:02:30,210 --> 00:02:31,410 Let's look at another one. 44 00:02:33,450 --> 00:02:36,850 Let's go with the question first. 45 00:02:40,810 --> 00:02:42,770 What is the weight of the oxygen molecule. 46 00:02:44,730 --> 00:02:50,570 Now in this case what is happening is it is automatically taking the previous conversation into consideration 47 00:02:50,570 --> 00:02:53,650 and giving us the output in a step by step format. 48 00:02:54,170 --> 00:02:59,810 So this is what we were expecting by the step by step prompting methodology. 49 00:03:00,050 --> 00:03:00,250 Okay. 50 00:03:00,290 --> 00:03:06,010 So wherein it's asking telling us the oxygen molecule composition is what mass of the oxygen atom is 51 00:03:06,010 --> 00:03:06,770 this much. 52 00:03:07,050 --> 00:03:07,250 Okay. 53 00:03:07,290 --> 00:03:10,170 And then converting the atomic mass units to kilograms. 54 00:03:10,330 --> 00:03:11,610 So it turns out to be this much. 55 00:03:11,610 --> 00:03:16,250 So now we're getting all the information in a very step by step format. 56 00:03:16,610 --> 00:03:17,570 I hope this makes sense. 57 00:03:17,570 --> 00:03:23,010 You understand this type of prompting, which you can also use to understand better. 58 00:03:23,050 --> 00:03:29,570 The responses which you get understand the whole process, how ChatGPT processed the whole information 59 00:03:29,570 --> 00:03:30,890 and gave you the solution. 60 00:03:31,330 --> 00:03:35,290 Thank you so much guys for listening to this and I will see you in the next video.