
Kick off your learning by exploring how to build a python powered chatbot in under 60 minutes, with an introductory overview of core concepts and project setup.
Create a fully functional Python-based chatbot quickly, with no prior Python experience required, by downloading Python, using Thorny, building a basic knowledge file, and publishing to the web for free.
Equip yourself with a working computer and a passion for building useful, fun chat bots in Python; this course runs on Windows, Mac, Linux, and even Chromebooks.
Learn to download and install free software - Python, Git, and the thorny IDE - on Windows, Mac, or Linux to build a Python-powered chatbot.
Download Python from python.org and install it, adding Python to your path for smoother later steps. Verify installation with Python -V to ensure environment is ready for building your chatbot.
Install git for windows to quickly download code packages for this course, then verify the installation by typing git in the command prompt.
Install the free Thorny Python IDE to edit and run course scripts, leveraging Python built in, cross-platform support, and quick execution with the run button or F5.
Install Flask and P z in Thorny via Tools, then manage packages, to enable the chatbot’s web server and timezone calculations, ensuring the Python project is ready for later code.
Use Google Sheets to create and edit CSC knowledge files for your Python powered chatbot, with cloud backups and optional Excel edits.
Run commands to download and install the Python packages that power our chat, establishing the foundational setup for a Python powered chatbot in under 60 minutes.
Install the chatterbox Python library for natural language processing and machine learning to handle user input and responses, then clone the repository with git clone.
Run pip to install required Python libraries from the requirements file, navigate into the my bot folder, and watch the installation complete so your chatbot runs.
Test your python powered chatbot by running Demo.py to start a Flask server on port 80 via localhost or 127.0.0.1; then shut down with Ctrl+C and prepare for customization.
Add knowledge and personality to your chat by using Google spreadsheets to supply your bot with information to answer questions and comments; keep them open in two tabs.
Enhance your Python powered chatbot by adding questions and responses in a Google Sheets sample, saving as chat bot csv in the data folder, and training and testing it.
The course shows a Python powered chatbot that updates without retraining, thanks to smart code that uses a CSV knowledge file, so you can skip the training step.
Customize and improve your Python-powered chatbot to make it more useful and give it some personality, building a more engaging, responsive AI in under 60 minutes.
We’ve updated the course to switch from the Atom editor to the Thorney Python editor, available on Windows, Mac, and Linux. Some videos may reference Atom, but you’ll use Thorney.
Customize your Python powered chatbot by editing the bot_config to rename Marvin to Chappy, swap the avatar and background, save them in the static folder, and restart the chat server.
Set the chatbot's confidence level to 65 percent so it answers only when confident; otherwise it uses 'I don't know' responses. Adjust thresholds to reduce false positives and improve accuracy.
Learn to create random responses in your Python-powered chatbot by duplicating prompts, selecting a random reply, retraining with an updated knowledge base, and restarting the chat server.
Configure a Python powered chatbot to return local date and time via flags and custom code. Set time zones in the bot config and control Google search suggestions.
Learn how to extend a Python chatbot to return images and clickable links, update training data, retrain, and restart the server for enhanced responses.
Learn to train your python powered chatbot by analyzing conversations, updating the knowledge base, and using train_log.py to retrain with recent logs, improving responses.
Back up your bot’s CSB file to cloud storage, flesh out the knowledge base in Google Sheets, and train with conversation logs to keep cloud and local data synchronized.
Customize your chatbot's appearance by editing the style cfs file in the static folder, adjusting hex color values for the message container, the robot's typing box, and text color.
Review how to customize and train your Python powered chatbot—edit the bot config (name, time zone, avatar, background), adjust confidence, add knowledge, and enable multiple responses and Google links.
Publish your chatbot to the web with PythonAnywhere by creating a Flask app and test with your chat bot knowledge base CSV; customize name, avatar, and background, and enable https.
Explore experimental features in a bonus lecture to make your chat smarter and more interactive. Copy your bot before implementing any new feature and note the added value.
Add suggestion buttons to chat responses to guide users toward topics the bot knows, making the chat feel more intelligent; the next lecture shows how to implement this feature.
Discover how to add suggestion buttons to chatbot responses to guide users to topics the bot knows, enhancing engagement and perceived intelligence.
This course is designed to be accessible to brand new Python programmers but also worthwhile for more experienced Pythonistas who want to get started with AI and Natural Language processing.
You do not any previous experience with Python or programming to be successful in this course.
You can use a Windows or Mac computer to complete the course (or Linux for that matter).
This course will cover the following:
Setting up your development environment
Downloading and installing Python
Downloading and installing a free IDE to work with our code
Installing the ChatBot package
Customizing and training your ChatBot
Sharing your ChatBot with the world