Subscribe:

Ads 468x60px

Monday, August 8, 2026

Artificial Intelligence using Python

Hello everyone

              In this post I want to walk you through a few ways to bring  Artificial Intelligence into your own code. The approach below is the one I applied in a project of mine named  "Social Robot". I built the AI side of it with the Python programming language. Here are the steps, one by one ..





                       The module that handles the AI work here is PyAIML, and AIML is short for Artificial Intelligence Markup Language.
1) Get Python 2.6 or 2.5 and install it

2) Grab the Python module known as PyAIML . You will find the download link just below
                           
                                                http://pyaiml.sourceforge.net/


3) The module can be installed by running a single command in the terminal.
    sudo python setup.py install


Keep in mind that the terminal must be pointed at the module folder

4) That completes the PyAIML installation.

5) Next you need a set of .aiml files to load. For my setup I used the ALICE chatter bot files, available from the link below

                                 http://www.alicebot.org/downloads/sets.html

6) Once the aiml files are downloaded, you can hook them up to Python by following the tutorial linked below

                                       http://pyaiml.sourceforge.net/

7) You are all set

From there it can power some genuinely interesting projects, such as a chatter robot ...

5 comments:

N-I-C-K.COM said...

Did anyone get a working copy?

bcarroll said...

The pyAIML SourceForge site appears to have been removed. pyAIML can be downloaded from GitHub here:
pyAIML module on GitHub

Download as ZIP and extract the contents of the zip the to a folder named aiml in your python/Lib/site-packages directory

bcarroll said...

The pyAIML package on GitHub also contains the ALICE aiml files, so you can skip the extra step of downloading them separately.

Richard C. Lambert said...

The pyAIML SourceForge site appears to have been removed. pyAIML can be downloaded from GitHub here: speech recognition software

Anna Schafer said...

we don't seem to be ready to make machines learn the way we do, to think the way we think, to interact the way we do.virtual assistant software

Post a Comment