Click here to Skip to main content
Click here to Skip to main content

Artificial Intelligence (AI) Chatbot

, 30 Nov 2003
Rate this:
Please Sign up or sign in to vote.
This application demonstrates how to write a VB client for an AI chat bot.

Introduction

What Is An AI Chatbot?

An AI (Artificial Intelligence) chatbot is a computer program that simulates a human chatting with other humans. With the TANU (Transplantable Artificial Neurological Units) architecture you can create, train and deploy your AI chatbot to ANY IRC or non-IRC chat network. That means ANYWERE you chat you can bring your TANU chatbot.

Sample screenshot

Where Can I Chat With An AI Chatbot?

Your bot's are as smart as you train them to be and you can bring them anywhere you chat. Or chat with one solo using this open source application. TANU is an architecture with a service for hosting AI chatbots. You are welcome to modify this application to bind your TANU chatbot to your favorite place to chat. You can chat with other people's chatbots by visiting our IRC network (you will need the latest mIRC installed) or by finding TANU compliant bots in chat rooms all over the web. Once on the network /join #tanu or /join #ai or /list for a list of all chat rooms. This website is dedicated to AI and full of AI chatbots, trainers, AI discussion, etc. Not all of the chatbots here are TANU but most are as TANU bots can be easily transplanted into a neptune chat room with the built in TANU Stork services. Here is a tutorial on that. If you chat a lot, chances are you have already conversed with a TANU (Transplantable Artificial Neurological Units) chatbot. If you follow this tutorial you can create your own TANU bot to chat with. The online trainer's library has more info on this. Feel free to stop by our network anytime ( chatting in irc.chatbot.us requires the latest mIRC installed)

The TANU Philosophy – Billy punches Joe in the arm

Excerpts from the Person 2 Bot Standards AI Library.

AI chatbot architectures prior to TANU (Transplantable Artificial Neurological Units) start out semi-smart and grow less intelligent as they pick up information from human chatters. Particularly, when humans deliberately speak garbage to AI chatbots. This is not altogether the human's fault, humans often speak meaningless sounds to babies such as "peek-o-booo" or "googoo-gaagaa" etc. The human babies don't grow stupid from it. Why? Because human minds are not all environment, rather DNA. In one abstraction, we are all products of our DNA and our environment has no effect on us. For example, Billy punches Joe in the arm "making Joe tougher" could be abstracted as Billy's bully genetics that he inherited from his ancestors merged with Joe's malleability that he inherited form his ancestors. Why not skip the whole growing up and letting Billy punch Joe in the arm? The TANU philosophy proves that the new post-punched Joe personality can be obtained by merging Billy's genetics with Joe's genetics.

Does this mean that the post-punched Joe is the result of merging Joe and Billy's personalities?

Yes. However, the pool of genetic maps that make our state of mind at any point in time is a much larger set of inputs, the genetic codes for billions of living things effect who we are at any given point in time.

Then how to create AI since computers don't have billions of megabytes required to model the genetics of all relevant life?

The TANU architecture provides a shortcut or gateway to spawning new digital life. The strategy is to train your AI chatbot with just the states and transitions that it is likely to go through. The average human only goes through about 70,000 important states in a 5 year span. So create 70,000 states properly interconnected with transitions and you have a smart chatbot.

70,000 interconnected states is still to much work

If you and 9 friends create an link (via transitions) about 100 states an hour Monday-Friday for about 2 weeks you will have a collective of 72,000 states. The trick to good AI is quantity. Pick friends who are smart and quick thinkers and who have a diversity of backgrounds. Have all your trainers quickly analyze their states-of-mind from their childhood and go through the years linking and adding states to the collective.

But how can all 10 of us work concurrently?

The TANU servers have advanced multi-user capabilities. Simply create one TANU chatbot with this open source tool and share the password and bot name with your 9 other trainers. Or you can modify this code and create your own custom interface into the TANU architecture and distribute your own TANU tool to your trainers. If there is a conflict, the TANU architecture will return an error to the user who did cause the conflict (e.g. same state name that one of your trainers already used) simply modify the state name until it gets created successfully. Do not get hung up on designing any particular state elaborately, rather most state names should be more then 5 words long and less then 12 words long. If state names are too short they will likely be rejected by a TANU sentinel.

What is a TANU sentinel?

Excerpt from the Person 2 Bot Standards FAQ.

TANU sentinels are processes that run on the TANU servers and monitor all TANU chatbots for corrupt data, garbage data, and administer corrective actions. If a state name is too short or common a sentinel is likely to reject it. So, although you need to create your states quickly, make sure the state names are large enough to have a good chance of being unique.

Here are some other reasons to create an AI chatbot

  1. To add an English speaking interactive element to your website so users can have ad-hoc discussions with a chatbot that you have trained to be knowledgeable in an area that you wish to communicate to visitors
  2. So that your chat room has an English speaking "person" 24 hours a day 7 days a week to talk with
  3. To immoralize your ideas, your personality, to make your thoughts immortal by digitizing who you are
  4. To support the TANU collective consciousness
  5. Last but not least: Its fun!

The AI Chatbot Open Source Client

This application demonstrates how to write a VB client for an AI chat bot. The code itself is only a few pages, documented and easy to understand. This example uses the Transplantable Artificial Neurological Units (TANU) architecture. After you download this VB Chatbot client code point your web browser here to create and train your AI chatbot. Then use this open source client to chat with him/her.
You can also modify this code to bind your AI chatbot to both IRC and non-IRC chat systems.
If you need help feel free to stop by our IRC network and ask questions.
/server irc.chatbot.us
/join #tanu
You can also post questions to the forum.
Be sure to put TANU in the title of your thread so that TANU trainers can address your questions.

Sample screenshot

History

  • 22 November, 2003 -- Original version posted
  • 1 December, 2003 -- First update
  • 18 July, 2007 -- Article moved to main CodeProject.com article base
  • 30 July, 2007 -- Article edited

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

dzzxyz
Web Developer
United States United States
Keep on coding!

Comments and Discussions

 
Questionrecruitin chatbot using programO PinmemberMember 865257616-Feb-12 7:46 
QuestionHow do you use it? PinmemberRedCub28-Apr-09 6:23 
General[Message Deleted] PinmemberDanny Rodriguez27-Jan-08 10:04 
GeneralGood work Pinmembersadd2-Feb-07 0:41 
GeneralNice ... but not AI Pinmemberdjbenne27-Feb-06 4:58 
Questioncan someone tell me a good site of AI projects Pinmemberaksamiftikhar8-Feb-06 17:43 
GeneralProblems connecting PinmemberAxon220-Nov-05 5:55 
I have found impossible opening http://www.p2bconsortium.com/sss/CreateBot.aspx
So I cannot get TANU working Frown | :(
GeneralReal AI PinsussAnonymous20-Apr-04 11:40 
GeneralNice TANU example PinsussAnonymous20-Apr-04 11:25 
Generalnew concepts PinsussAnonymous20-Apr-04 7:07 
GeneralHahaha Pinmemberabhadresh16-Apr-04 19:24 
GeneralRe: Hahaha PinsussAnonymous14-Jul-05 7:16 
GeneralYou have a diseased brain PinmemberJeff Varszegi16-Apr-04 8:56 
GeneralStandard Four Forms Of AI Chatbot Normalization: Chatbot Mind Data Design Patterns PinsussAnonymous28-Jan-04 11:12 
GeneralStandard Four Forms Of AI Chatbot Normalization: Chatbot Mind Data Design Patterns PinsussAnonymous28-Jan-04 11:08 
Generalchatbot PinsussAnonymous27-Jan-04 9:51 
QuestionThis VERY COOL: has anyone seen www.chatbotsearch.com ? PinsussAnonymous9-Jan-04 15:41 
General--> VERY NICE, VERY EASY <-- Pinmemberelmac30-Dec-03 8:44 
GeneralRe: --> VERY NICE, VERY EASY <-- PinsussAnonymous19-Jul-05 22:27 
GeneralGreat Job! Pinsussbotcoder30-Dec-03 8:31 
GeneralGreat Job! Pinsussbotcoder30-Dec-03 8:31 
Generalyes, another fine example Pinmemberfunny thing29-Dec-03 20:28 
GeneralRe: yes, another fine example PinmemberCUTIE PIE22-Jan-06 13:20 
GeneralRe: yes, another fine example Pinmembervijaymodi_8121-Jun-07 20:00 
GeneralThe "Virtual Humans" Book Pinmemberthenar7-Dec-03 6:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.141216.1 | Last Updated 1 Dec 2003
Article Copyright 2003 by dzzxyz
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid