Welcome to the chat section of this course,
and chat is kind of an odd name
for the section, but that's what it's called.
It's called chat completion.
But chats are actually much more than chatbots
where the name already is, because, of course,
we can make chatbots where a human asks
a question and an AI answers back.
But chat, I put that in quotation marks,
is also just something that can happen in
a backend system on a schedule.
So like every day at eight o'clock,
go do these steps, often with some tools
that we will cover in the next section.
And send me an email.
That is also technically a chat, but there's
no human involved.
Yes, the human is the receiver of the
email, but the human didn't make it happen
at that time at eight o'clock, other
than setting up the initial schedule.
And in the same manner, if you have
things, events like webhooks and stuff like that,
that can also be the initiator.
So when a GitHub pull request is made
by someone, the AI can make an AI
review of that pull request without the user
doing other than what they normally did, meaning
making a pull request.
And this is all over in this area
begins to become what we call agents, where
it is more that the system is more
autonomous.
It's not really autonomous over here.
And I have had many discussions with other
people about what agents are, because this is
not an agent by itself, because at some
point, someone wrote this message and chose this
schedule.
It was not the AI itself that chose
this schedule.
In the same manner, it was someone who
set up the webhook here and made this
happen.
AI is just involved in a bigger scheme.
And in the old days, behind the scenes,
we used if and else statements to do
things like this, and the same over here.
And we still do.
We just have now an AI component involved
as well.
And we suddenly call them agents.
So chat is kind of a wrongly named
referred nowadays.
And it should just be more a request
response to some kind of system, just like
we can request the weather from a system,
just like we can ask things about the
order from a system using an API.
We can just ask an AI about some
little more undetermined, little more unstructured, little more
non-deterministic in a way.
So that is what I see when I
see the word chat.
It's not just a chatbot.