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 application on Heroku git ser

[Solved] Linux mint, Ubuntu audio problem

The Linux operating systems gets a gradual increase of  user base level and also it improves user-friendly interface and other essential components like windows  But anyway still some Linux users Face some problems in our systems, Most common was audio problem, sometimes the sound will be muted automatically,  The audio problem-related questions are most frequently question in Linux and ubuntu forums, somebody gets a solution or but still few struggled with this problem. I am also facing this problem in past weeks, afterwards, I can find the one solution In this post, I am sharing how to fix audio problem in Linux mint or Ubuntu systems Restart Alsamixer : Alsa mixer (Advanced Linux Sound Architecture ) is a Graphical mixer program used in Linux Mint and Ubuntu systems, sometimes it may be worked incorrect, so at this time the audio problems will be occur So try to Restart the program by using this command in terminal: