In this lesson, we start by making some quick design changes to our chatbot interface, including updating the logo, header, and messages. Once the aesthetics are in place, we dive into the AI aspect of the chatbot. The goal is to create a support bot specific to WeWingIt drones, capable of answering customer queries accurately.
However, if the bot is unsure of an answer, it will suggest contacting the company via email or phone instead. We'll explore the underlying AI process, highlighting the steps involved in achieving our objectives.
[00:00] Okay, so for this fine-tuned chatbot, we're going to use a lot of the same HTML and CSS as the previous project. But before we get to work on the AI, let's just make some quick changes to the design so it better fits our purpose. Up here, I've got the new WeWingIt logo, which is just drone-logo.
[00:18] So let's just swap that out right here. And because that logo is slightly smaller, we need to just make a quick change to the CSS. Right here on line 54, the logo has got a width of 45 pixels. I'm going to change that to a width of 50 pixels. Okay, that's looking better.
[00:35] Now, back in index.html, we need to change the name to WeWingIt drones. And the subheader will now be delivery support chat. And to give us a little bit of extra room in the header, I'm just going to bring this down to ID. And let's just update that. It doesn't do anything.
[00:55] It's just for aesthetics. Now, I'm also going to change this one hard-coded message. So now it's going to say, how can I help you with your WeWingIt drone delivery? And lastly, we should come up here and change the title, even though it doesn't make any difference in the mini browser.
[01:14] Okay, let's save that. And there we are. Everything is looking fine. Now, the rest of the CSS and HTML is going to stay the same. But under the hood, we're going to completely change the way we use OpenAI. So this is WeWingIt, an accident-prone drone delivery company with some very unhappy customers.
[01:34] Now, WeWingIt needs a way to communicate with their customers quickly and easily. So they want an AI support bot. Let's just check what exactly we're trying to achieve here. We want a chat bot with the ability to answer questions specific to our company.
[01:49] If the chat bot doesn't know the answer, rather than hallucinate, it should advise the user to email or phone. Okay, let's crack on. Now we know what we're doing and why we're doing it. Let's take a high-level overview of the AI process to get an idea of how we're going to do it.
Member comments are a way for members to communicate, interact, and ask questions about a lesson.
The instructor or someone from the community might respond to your question Here are a few basic guidelines to commenting on egghead.io
Be on-Topic
Comments are for discussing a lesson. If you're having a general issue with the website functionality, please contact us at support@egghead.io.
Avoid meta-discussion
Code Problems?
Should be accompanied by code! Codesandbox or Stackblitz provide a way to share code and discuss it in context
Details and Context
Vague question? Vague answer. Any details and context you can provide will lure more interesting answers!