From the course: Hands-On AI: Building Your First Conversational AI Chatbot

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Launching and testing chatbot locally

Launching and testing chatbot locally

- [Instructor] In this video, we'll go over how to launch and test your chatbot locally using radio. By launching the interface, you'll be able to interact with your chatbot and see how it responds to different types of inputs. This is an important step to make sure everything is working smoothly. To launch the chatbot, we call iface.launch function. Then we run this cell. This starts the local server and opens the interface in this browser. We can see the CSS effects are working and the chatbot looks interactive and engaging. You can type your messages in the input box and the chatbot's replies will appear in the output box. You can also click on the link here to access the chatbot in a new webpage. Once the interface is live, it's important to test it with a variety of inputs to see how the chatbot performs. Let's walk through a few example input-output pairs. Let's start with a simple greeting. (keyboard clicking) Hi, how are you? (keyboard clicking) And the chatbot's response is…

Contents