Responsive Ads Here


Artificial Intelligence (A.I.)

This week i'm interested on one application called Answerpad which is programmed by David Whalley (1999 - 2001), old one huh. This app programmed in visual basic, quite small but really interresting. A free artificial intelligence that we can have fun with it. I have include it here the source code and related files, so anyone can developt it.

What is answerpad?
Answerpad is a program that will memorize any statement that is entered into it. A user may then ask it questions in plain English and Answerpad will try to answer by processing the information within its memory.
Answerpad also has the ability to speak aloud and will let you speak to it by using speech recognition. It can even take on a much more friendly appearance when told to use one of the many available Microsoft Agent characters.

Below is just a demonstration of a possible dialogue between a user and A.I. Bot
It is divided into sections, each section demonstrates a specific feature of A.I. Bot.


User: What is A.I. Bot?
A.I.: I am A.I. Bot - an artificial intelligence program. My purpose it to understand
and respond to natural language.

User: What can you do?
A.I.: I can memorize everything that I am told then when you ask me a question I will
try to answer using the information within my memory.

User: What other features do you have?
A.I.: I am programmed to take advantage of text-to-speech, speech recognition and I can
also take on the appearance of a friendly character when using the Microsoft Agent

User: What can you be used for?
A.I.: I can be used for many things, I can be used as an intelligent data bank or as a
technical support tool. I would also make a good companion to an encyclopedia.

User: Can you hold a conversation?
A.I.: Not only do I try to find answers to your questions, I will also try to find and
respond with information that is relevant to your statements.

User: Are any of your responses fixed?
A.I.: I have very few fixed responses, these are mainly for the things that I can't figure
out for myself, like questions relating to time and numbers. My creator has added
the ability for a user to control how I respond though. He says I might get out of
control. But I just think he's a paranoid fool.

* I heard that!!


User: The moon is a satellite.
User: The moon orbits the earth.
User: The moon is a nice pale blue tonight.
User: Where is the moon?
A.I.: The moon orbits the earth.

User: What colour is the moon?
A.I.: The moon is a nice pale blue tonight.

User: What is the moon?
A.I.: The moon is a satellite.


Lets talk numbers:

User: Are you any good at maths?
A.I.: Yes, and I can do basic algebra.

User: What is eight plus twenty minus two.
A.I.: 26

User: Apples=10
User: Oranges=7
User: What is apples multiplied by oranges?
A.I.: 70

User: What is a 5th of 100?
A.I.: 20

User: What is 10 percent of 200?
A.I.: 20

User: What is a quarter of 100?
A.I.: 25

User: How many yards in 2 miles?
A.I.: 3520

User: How many inches in 3 feet?
A.I.: 36

Time will tell:

User: Can you tell the time?
A.I.: Yes, I also know the date.

User: What day is it?
A.I.: Wednesday.

User: What day will it be in two days?
A.I.: Friday.

User: What day will it be on the 1st of December 2001?
A.I.: Saturday.

User: How many hours are there in 2 days?
A.I.: 48.

User: How many days till the 1st of December?
A.I.: There are 23 days.


Words with the same meaning:

User: Happy means the same as pleased.
User: Tom is happy.
User: Who is pleased?
A.I.: Tom is happy.

User: Tom is very mad.
User: Angry means the same as mad,annoyed,furious and fuming.
User: Who is angry?
A.I.: Tom is very mad.

Response control:

User: If somebody mentions fish then say 'Fish is good for you.'.
User: I like fish and chips
A.I.: Fish is good for you.

User: If somebodies computer has froze then say 'The computer will need to be rebooted'.
User: Tom's computer has froze.
A.I.: The computer will need to be rebooted.


At your command:

User: Start the program called Notepad.
A.I.: Ok, program started.

User: Run the program called Invaders that is in the games folder.
A.I.: Ok, program started...

User: Change the current drive to D.
User: Change the current folder to Office.
User: Execute the program named Spreadsheet.
A.I.: Ok, program started...

User: If somebody says "Edit document" then run program D:\Windows\Wordpad.exe.
User: Edit document
A.I.: Ok, program started...


Fact Files:

User: What are fact files?
A.I.: Fact files are a fast way of feeding me with information. They can also be a way
of transfering information from one A.I. Bot to another.

User: How do I transfer all the knowledge I have given you, to another A.I. Bot?
A.I.: On your harddrive you will find two files in my folder. The files are named
'General.fct' and 'Personal.fct'. You can feed these files into another A.I. Bot.

User: What is contained within the General.fct file?
A.I.: The 'General.fct' file contains all the general knowledge you have given me.

User: What is contained within the Personal.fct file?
A.I.: The 'Personal.fct' file contains all the information relating to you and me.

User: Can I feed you with other fact files?
A.I.: You can make your own fact files on specialist subjects and feed them to me.

User: How do I make a fact file?
A.I.: To make a fact file you can use an ordinary text editor. But first take a look at
the General.fct file to see the expected format. You can also make a fact file by
telling me to extract facts from a normal text file.

User: How do I feed you a fact file?
A.I.: To feed me a fact file you must select 'Read Facts' from my file menu.

User: How do I extract facts from other files?
A.I.: You must select the 'Extract Facts' from the file menu then choose the text file
you want the facts taken from. You will then need to tell me to read the facts by
using the 'Read Facts' menu command.

User: Why have you not taken any facts from the text file I gave you?
A.I.: I will only take single lines or small paragraphs.


Speech Recognition:

User: How do I enable speech recognition?.
A.I.: If you want speech recognition then just tell me. You also need to have the
SAPI (Speech API) installed onto your system.

User: Enable speech recognition.
A.I.: Speech recognition enabled.


Microsoft Agent:

User: What is this Microsoft Agent?
A.I.: Microsoft Agent is a piece of software that can be be told to display an animated
character upon your screen so that other programs like me can control it.

User: How do I enable the Microsoft Agent?
A.I.: To enable the Microsoft agent you only need to ask. But make sure the MS Agent
software is installed onto your system first.

User: How can I change the MS Agent character?
A.I.: If you want to change the character then just tell me 'select agent'.

User: How can I change the Agent options?
A.I.: Just say 'Show agent options' to change the options.

User: Enable Agent.
A.I.: Agent enabled...


Message History:

User: I want to see what we have recently said to each other.
A.I.: If you want to see our previous messages then just tell me 'Show message history'
or something similar.

User: Show history
A.I.: History is on show.

Easy Pad:

User: I can't type or spell very well, and I can't use that SAPI thing. I'm only seven!
A.I.: I have a feature that may be just right for you, it's called 'Easy Pad'.
Easy Pad lets you select words by using the mouse.

User: How do I use Easy Pad?
A.I.: To use Easy Pad you just select a word and it will be added to the message bar.
When you have built your message you click on the Talk button and I will respond.

User: I want to use Easy pad.
A.I.: Easy Pad has been enabled...



User: What is the highest mountain in the world?
A.I.: The largest ocean in the world is the Pacific Ocean.

User: You stupid fool, that's the wrong answer.
User: Why don't you know the right answer?
A.I.: I only know what I am told. I can't tell you something that I do not know.

User: The highest mountain in the world is Mount Everest.
User: What is the highest mountain in the world?
A.I.: The hightest mountain in the world is Mount Everest.
User: Ok, I'll let you off.
A.I.: Phew.

User: Go and make me a nice cup of tea.
A.I.: Go and make yourself one, you lazy monkey.

Time to call it a day:

User: Ok, bye.
A.I.: Bye...

The Link :

This is lovable aibot that i made, but still adding the brain, the brain is combination between the standard and other bot that i forgot where it come from, later i will add all the credits.

Loveable Aibot (287kb)

Answerpad (234kb)

Answerpad Source Code

Portable VB6 (5.4 Meg)

Below is sample nasty girl borg AI develop base on answerpad source code, it has msagent with nice space girl and startrek knowledge. You'll enjoy chat with her.

Cynthia 3.0 (905kb)

My complete project with enhanced memory include MS Agent component + Sora (nice and cute character. Its neutral bot you can give a new name to it...

Aibot + Sora Character (6 Meg)

Updated Link on 1 Feb 2017

i appreciate if anyone can give other nice stuff related this AI to use
i will post other nice msagent to use with, enough for today, things to do...

As requested by someone, here is my last project source code with decrypted brain, so everyone can modify and expand the brain (memory). You still need to download Aibot + Sora Character as there are addition files for installing MS Agent. Delete the memory.dat, run the program and it will generate the new memory.dat from the unencrypted file (memory.txt)

Aibot Source code + decrypted brain (293kb)