WEBVTT

1
00:00:00.330 --> 00:00:03.790
Welcome to the chat section of this course,

2
00:00:04.290 --> 00:00:08.510
and chat is kind of an odd name

3
00:00:08.510 --> 00:00:11.010
for the section, but that's what it's called.

4
00:00:11.030 --> 00:00:12.310
It's called chat completion.

5
00:00:13.650 --> 00:00:17.350
But chats are actually much more than chatbots

6
00:00:17.350 --> 00:00:20.450
where the name already is, because, of course,

7
00:00:20.450 --> 00:00:25.330
we can make chatbots where a human asks

8
00:00:25.330 --> 00:00:29.730
a question and an AI answers back.

9
00:00:31.170 --> 00:00:34.990
But chat, I put that in quotation marks,

10
00:00:35.450 --> 00:00:39.290
is also just something that can happen in

11
00:00:39.290 --> 00:00:40.870
a backend system on a schedule.

12
00:00:41.210 --> 00:00:42.770
So like every day at eight o'clock,

13
00:00:43.190 --> 00:00:46.890
go do these steps, often with some tools

14
00:00:46.890 --> 00:00:49.170
that we will cover in the next section.

15
00:00:50.070 --> 00:00:51.390
And send me an email.

16
00:00:52.030 --> 00:00:56.370
That is also technically a chat, but there's

17
00:00:56.370 --> 00:00:57.590
no human involved.

18
00:00:57.750 --> 00:01:00.650
Yes, the human is the receiver of the

19
00:01:00.650 --> 00:01:03.930
email, but the human didn't make it happen

20
00:01:03.930 --> 00:01:06.090
at that time at eight o'clock, other

21
00:01:06.090 --> 00:01:08.330
than setting up the initial schedule.

22
00:01:10.550 --> 00:01:12.430
And in the same manner, if you have

23
00:01:12.430 --> 00:01:16.630
things, events like webhooks and stuff like that,

24
00:01:17.110 --> 00:01:19.030
that can also be the initiator.

25
00:01:19.330 --> 00:01:21.890
So when a GitHub pull request is made

26
00:01:21.890 --> 00:01:24.850
by someone, the AI can make an AI

27
00:01:24.850 --> 00:01:28.970
review of that pull request without the user

28
00:01:28.970 --> 00:01:31.930
doing other than what they normally did, meaning

29
00:01:31.930 --> 00:01:33.090
making a pull request.

30
00:01:34.650 --> 00:01:37.730
And this is all over in this area

31
00:01:37.730 --> 00:01:42.390
begins to become what we call agents, where

32
00:01:42.390 --> 00:01:48.370
it is more that the system is more

33
00:01:48.370 --> 00:01:48.930
autonomous.

34
00:01:49.350 --> 00:01:51.510
It's not really autonomous over here.

35
00:01:52.190 --> 00:01:54.610
And I have had many discussions with other

36
00:01:54.610 --> 00:02:00.670
people about what agents are, because this is

37
00:02:00.670 --> 00:02:04.370
not an agent by itself, because at some

38
00:02:04.370 --> 00:02:08.710
point, someone wrote this message and chose this

39
00:02:08.710 --> 00:02:09.190
schedule.

40
00:02:09.190 --> 00:02:12.330
It was not the AI itself that chose

41
00:02:12.330 --> 00:02:12.970
this schedule.

42
00:02:14.210 --> 00:02:16.190
In the same manner, it was someone who

43
00:02:16.190 --> 00:02:21.510
set up the webhook here and made this

44
00:02:21.510 --> 00:02:21.930
happen.

45
00:02:22.830 --> 00:02:25.650
AI is just involved in a bigger scheme.

46
00:02:26.230 --> 00:02:28.630
And in the old days, behind the scenes,

47
00:02:28.750 --> 00:02:30.630
we used if and else statements to do

48
00:02:30.630 --> 00:02:33.050
things like this, and the same over here.

49
00:02:33.050 --> 00:02:34.150
And we still do.

50
00:02:34.330 --> 00:02:38.730
We just have now an AI component involved

51
00:02:38.730 --> 00:02:39.250
as well.

52
00:02:39.530 --> 00:02:41.430
And we suddenly call them agents.

53
00:02:44.330 --> 00:02:47.290
So chat is kind of a wrongly named

54
00:02:47.290 --> 00:02:48.810
referred nowadays.

55
00:02:49.230 --> 00:02:51.030
And it should just be more a request

56
00:02:51.030 --> 00:02:54.150
response to some kind of system, just like

57
00:02:54.150 --> 00:02:57.190
we can request the weather from a system,

58
00:02:57.590 --> 00:03:00.890
just like we can ask things about the

59
00:03:00.890 --> 00:03:02.930
order from a system using an API.

60
00:03:03.610 --> 00:03:06.510
We can just ask an AI about some

61
00:03:06.510 --> 00:03:11.530
little more undetermined, little more unstructured, little more

62
00:03:11.530 --> 00:03:14.450
non-deterministic in a way.

63
00:03:16.250 --> 00:03:20.430
So that is what I see when I

64
00:03:20.430 --> 00:03:21.550
see the word chat.

65
00:03:21.610 --> 00:03:23.090
It's not just a chatbot.
