Artificial Intelligence in Linux

AI the term artificial intelligence sounds so interesting and make us curious what stores in future of AI.  There has been recent updates about how Facebook creator Mark Zuckerberg wants to create his own JARVIS.  AI has been fascinating me when I was kid Star Wars, Eliza and now as grown up we have  SIRI as a virtual assistant and many other.

First step up to start using AI is to create a chatbot which has lot of readymade stuff available or you can use opensource such as charliebot (http://sourceforge.net/projects/charliebot/).

You can download the tar archive and building it is very easy.

tar -xzvf charliebot-src_4.1.8.tar.gz
cd charliebot
./server.sh
Starting Charliebot version 4.1.8

Eventually, you’ll see Alice come online.
Response 1 in 483 ms. (Average: 483.0 ms.)
Alice> Can you tell me any gossip?
Alice] user>

You can now start chatting with Alice and also other 3 personalities.
/talkto Charlie
/talkto Anna
To shift to any of the personalities.

Charliebot runs and listens on 2001 port where you can also get the logs of chats.

http://localhost:2001/?botid=Alice&template=alice

This is an example where you can see Charliebot on the browser and see the conversations in the logs folder too in charliebot directory.

You can create and write your own chatbot with python and AIML(Artificial Intelligence Markup Language). You can see the link Create your own Chatbot.

I am very much fascinated with text to speech thing where I would love to say when I booted my computer in Linux and it says Welcome Alok and during shutdown it says Goodbye Alok. I used open source espeak TTS speech software which is quite good and also MARY TTS also scores really well.

I have been using Raspberry pi for my home hobby projects and Raspberry pi is becoming one of the favorite devices for IOT(Internet of Things) and also for AI. A very good website which has good listing and documentation of AI on Raspberry pi on http://rpiai.com/ and also learn about machine learning  language.

There is a big name emerging in AI known as Mycroft

They are going to launch a home automation and responsive system for playing your own movie, locking your door, starting coffee, waking you up etc. It is an open source AI which is going to be released soon in 2016 and also a device running on Raspberry pi 2 which helps you everything for home automation and AI.

Feel free for any comments or queries.

-Alok Thaker

Leave a Reply

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