1
00:00:00,090 --> 00:00:03,000
-: So our next prompt framework that's really effective

2
00:00:03,000 --> 00:00:06,480
for daily use is chain of thought prompting.

3
00:00:06,480 --> 00:00:07,800
So let's check it out.

4
00:00:07,800 --> 00:00:10,170
This framework is a great technique

5
00:00:10,170 --> 00:00:13,470
to guide ChatGPT to explain its answers

6
00:00:13,470 --> 00:00:16,489
in a step by step format.

7
00:00:16,489 --> 00:00:17,880
This is really cool 'cause you get

8
00:00:17,880 --> 00:00:19,590
to see it's reasoning process.

9
00:00:19,590 --> 00:00:22,140
So this technique helps to ensure that A,

10
00:00:22,140 --> 00:00:24,540
the model's answers are transparent

11
00:00:24,540 --> 00:00:27,570
and easy to understand from you, the user.

12
00:00:27,570 --> 00:00:29,940
And it's great for making explanations

13
00:00:29,940 --> 00:00:34,350
that are expanded upon and more useful for educational

14
00:00:34,350 --> 00:00:36,720
and explanation purposes.

15
00:00:36,720 --> 00:00:38,760
So rather than explain this anymore,

16
00:00:38,760 --> 00:00:41,370
let's just go into the formula and the example.

17
00:00:41,370 --> 00:00:44,880
So our formula is actually very simple for this one.

18
00:00:44,880 --> 00:00:46,620
We have whatever your question is,

19
00:00:46,620 --> 00:00:49,080
and then the prompt that you always want to use is,

20
00:00:49,080 --> 00:00:51,180
let's think, step by step.

21
00:00:51,180 --> 00:00:53,550
So let's see what ChatGPT does.

22
00:00:53,550 --> 00:00:54,960
So we have our first example,

23
00:00:54,960 --> 00:00:56,490
what is the diameter of the sun?

24
00:00:56,490 --> 00:01:00,660
And I want to put this in without our prompting framework.

25
00:01:00,660 --> 00:01:03,690
So it says exactly what the answer is to our question.

26
00:01:03,690 --> 00:01:08,490
The diameter of the sun is approximately 1.39 million

27
00:01:08,490 --> 00:01:11,433
kilometers, AKA this is a big number,

28
00:01:12,402 --> 00:01:15,150
864,938 miles.

29
00:01:15,150 --> 00:01:18,930
Now if we were to do the same exact prompt,

30
00:01:18,930 --> 00:01:21,660
but I do our chain of thought framework,

31
00:01:21,660 --> 00:01:23,100
which is very simple for this case,

32
00:01:23,100 --> 00:01:27,090
let's think step by step, let's go ahead and submit this

33
00:01:27,090 --> 00:01:31,470
and we're gonna actually see the thought process that

34
00:01:31,470 --> 00:01:34,110
ChatGPT or a person would go through

35
00:01:34,110 --> 00:01:36,420
to actually get the answer to this question.

36
00:01:36,420 --> 00:01:37,800
So here we go.

37
00:01:37,800 --> 00:01:39,150
Let's break down the process

38
00:01:39,150 --> 00:01:41,550
of determining the diameter of the sun.

39
00:01:41,550 --> 00:01:44,460
Step one, you understand what we mean

40
00:01:44,460 --> 00:01:45,780
by the diameter of the sun.

41
00:01:45,780 --> 00:01:48,150
The diameter of an object is the distance

42
00:01:48,150 --> 00:01:51,450
between two points on its surface passing

43
00:01:51,450 --> 00:01:52,490
through its center.

44
00:01:52,490 --> 00:01:55,410
In the case of the sun, its diameter is the distance

45
00:01:55,410 --> 00:01:57,600
between two points on its surface,

46
00:01:57,600 --> 00:01:58,830
passing through the sun center.

47
00:01:58,830 --> 00:02:01,860
So it's talking about, from the basic level

48
00:02:01,860 --> 00:02:05,010
of the explanation, what the diameter is for an object,

49
00:02:05,010 --> 00:02:07,050
what the diameter is for the sun.

50
00:02:07,050 --> 00:02:09,990
And then the next step, step two,

51
00:02:09,990 --> 00:02:11,340
find the most accurate measurement

52
00:02:11,340 --> 00:02:12,870
of the diameter of the sun.

53
00:02:12,870 --> 00:02:15,090
And it goes into how it came up with that

54
00:02:15,090 --> 00:02:17,340
or how one would go through that process.

55
00:02:17,340 --> 00:02:19,740
According to NASA, the most accurate measurement

56
00:02:19,740 --> 00:02:21,030
of the diameter of the sun is

57
00:02:21,030 --> 00:02:23,340
approximately boom, our number.

58
00:02:23,340 --> 00:02:25,620
And then we wanna understand the units of measurement.

59
00:02:25,620 --> 00:02:27,120
It's important to understand the units

60
00:02:27,120 --> 00:02:30,420
of measurement used when discussing the diameter of the sun,

61
00:02:30,420 --> 00:02:31,890
kilometers and miles.

62
00:02:31,890 --> 00:02:33,390
Both specify the length

63
00:02:33,390 --> 00:02:36,390
and then we go into step four, convert the diameter to units

64
00:02:36,390 --> 00:02:38,910
of measurement as an optional step.

65
00:02:38,910 --> 00:02:41,130
So now let's look at our second example

66
00:02:41,130 --> 00:02:43,020
and see what else we find out.

67
00:02:43,020 --> 00:02:46,650
So we have, what is the weight of an oxygen molecule?

68
00:02:46,650 --> 00:02:48,240
Okay, so we have our answer here,

69
00:02:48,240 --> 00:02:51,810
which is the weight is approximately 32

70
00:02:51,810 --> 00:02:54,300
atomic mass units.

71
00:02:54,300 --> 00:02:57,360
Now, if I was a person interested in this topic

72
00:02:57,360 --> 00:02:59,460
and I wanted to understand

73
00:02:59,460 --> 00:03:04,260
the logical, step-by-step process of how a person comes to

74
00:03:04,260 --> 00:03:07,410
that specific answer, we would use our formula.

75
00:03:07,410 --> 00:03:12,410
So let's go ahead and let's think, step by step.

76
00:03:13,200 --> 00:03:16,170
And here, we have the logical steps to arrive

77
00:03:16,170 --> 00:03:17,130
at that answer.

78
00:03:17,130 --> 00:03:19,680
Step one, identify the chemical formula

79
00:03:19,680 --> 00:03:22,380
of an oxygen molecule, explains what that is.

80
00:03:22,380 --> 00:03:24,480
Then we wanna determine the atomic mass.

81
00:03:24,480 --> 00:03:27,570
Then we want to calculate the weight of an oxygen molecule

82
00:03:27,570 --> 00:03:31,410
and then convert that atomic mass units to grams

83
00:03:31,410 --> 00:03:32,880
as an optional step.

84
00:03:32,880 --> 00:03:37,260
And we can really see how an expert would go through

85
00:03:37,260 --> 00:03:39,960
and get the answering and you can see what's under the hood

86
00:03:39,960 --> 00:03:42,930
and expand simple, straightforward answers

87
00:03:42,930 --> 00:03:45,693
into more detailed breakdowns.

