Skip to main content

#1 Build your first chatbot using Python and AIML

In the series of post, I am going to build own chatbot using python and AIML 

How to build a Chatbot:

In this series, we gonna develop our chatbot as a simplest as possible
using python and the AIML is brain

How to build a Chatbot:
Chatbot using python and AIML

what is AIML:

AIML stands for Artificial Intelligence Markup language
It looks like XML files, developed by Dr. Richard S. Wallace during 1995-2000, 
It is a set of tags and patterned structure, constructed by question and answers
It makes our chatbot brain as simple as possible

python:

Everybody knows what is python language, it's one of the popular programmings in time
it has multiple packages available in their packages repository both internally and externally
As on the list, AIML package also available is python.
You can easily install the packages using python pip(python package manager), or any other ways.
The package helps to read and learn the AIML files into python and return the appropriate response 

Note: In the first phase of our chatbot runs on a command line interface
whatever you are using Windows or Linux machine there is no problem. It can run as same as other programmes.

In later we gonna deploy our chatbot in a Web application using python web frameworks like Flask, I will cover all the Process of development, continue to follow my blog.

How to install Virtual Repository(Optional Step);

Whenever you start any projects recommended to make your own virtual repository because it makes the workplace is neat and clean and it does affect any other external packages,
In python, it has a package named as virtualenv to make and manage virtual repository
This procedure is completely optional, if you want to workplace clean use it, otherwise, it's not needed 
Here is my instruction post to make and manage virtual  ///Link will be updated////

How to install Python AIML Package:

Installing procedures are in here: https://pypi.org/project/python-aiml/
if you are in Linux open your terminal type
                  pip install python-aiml              to install 
if you are getting any error like permission related to try that one
                  pip install --user python-aiml 
it is recommended to don't install the packages with super user SUDO privileges

install Python AIML Package
python aiml package installing

it shows any error place your comment on the comment section


Thank You for reading...

checkout the best online skill learning platform Pluralsight with 7000+ courses from industry level trained teachers Sign-up now with 50% offer

Comments

Popular posts from this blog

Deploy Flask app on Heroku with example guide

Deploying a python flask app has many ways to do, and there is a lot of platforms available Here I am going to show how to deploy a python flask application on Heroku in a free plan Let's Get started I assume You already developed your flask application in your local environment, have a Heroku account, and have some basic knowledge of working with git and Command-line Interface. Else If you are new Python Flask, Checkout the amazing course from Pluralsight called Introduction to the Flask Microframework  by Reindert-Jan Ekker Signup-now with 50% offer why Heroku? Heroku Free account provides 550 free dyno hours and free domain Example: https://app_name.herokuapp.com.  Learn more at  Heroku Free Dyno Hours Heroku Provide some option to Deploy App:  First one is deployed your app by linking your GitHub repository with your Heroku Account Another one is using the Heroku Command-line Interface (Heroku CLI) by pushing the applicati...

Get Started With the Windows Subsystem for Linux

You may already know the power of Linux, and its features make the best place for programmers and developers  If you're not going to install the Linux operating system but you want to use the Linux offered features in windows this post maybe yours. You can get the pure Linux experience natively in windows machine  through the windows subsystem Linux   (WSL) here the Steps to install and configure Linux subsystem in windows  That feature has been available from Windows 10 2016 First, you want to go to  Control Panel\Programs\Programs and Features now you can see an option like "Turn windows features on or off" on your left side  open that option, Now you want to check the Windows subsystem for Linux' checkbox  After you check that option restart your system  Okay now you want to search "bash" from the start menu, Open that   It shows the message like no distribution installed    Let'...