Make a chatbot

A chatbot is a computer program or an artificial intelligence (AI) designed to simulate human conversation through text or voice interactions. 

A rule based chatbot follows a specific flow of conversation and provides pre-determined responses based on keywords or phrases a user enters. We interact with these chatbots on a regular basis – e.g. when you are doing online shopping.

And AI powered chatbot uses artificial intelligence techniques, such as natural language processing (NLP) and machine learning, to understand and respond to the user. They can learn from interactions, adapt to different contexts, and provide more dynamic and personalised responses.

Python is widely used to build both AI powered or rule based chatbots. I love using this programming language to show my students that they can create a basic rule based chatbot with a few lines of code. It is an excellent way of introducing python syntax and an example of a real application.

If you are ready to move to text based coding, the next Make a chatbot in Python workshop is on 27th July at Yatton library.

Leave a Reply

Your email address will not be published. Required fields are marked *