TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 02-21-2008, 09:18 PM   #1 (permalink)
The Addict
Upcoming Programmer Top Contributor 
 
Rendair's Avatar
 
Join Date: Nov 2007
Location: UK
Posts: 319
Thanks: 18
Rendair is on a distinguished road
Default Artificial intelligence robots ( PHP)

Hey all while at university studying AI in computer science. I have been exploring many different ways of programming "chatterbots" and i have manage to find a PHP version. This will allow you to create your own AI chatterbot of your own.

Program E

Program E is a platform for running artificial intelligence robots. It is written in PHP and uses MySQL for its backend database. Program E runs bots that are written in Artificial Intelligence Markup Language or AIML.

You can read more on AI and my opinions on a assignment i have written for Uni

Dale Mooney



I thought i would show you this maybe you can download it and give it a try make your own AI bots
__________________
www.jooney.co.uk - the online portfolio
Send a message via MSN to Rendair
Rendair is offline  
Reply With Quote
Old 02-21-2008, 09:50 PM   #2 (permalink)
The Prestige
Upcoming Programmer Inquisitive 
 
Tanax's Avatar
 
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
Tanax is on a distinguished road
Default

Do you think you can create so the "robot" can learn also?
__________________
Tanax is offline  
Reply With Quote
Old 02-21-2008, 10:15 PM   #3 (permalink)
The Addict
Upcoming Programmer Top Contributor 
 
Rendair's Avatar
 
Join Date: Nov 2007
Location: UK
Posts: 319
Thanks: 18
Rendair is on a distinguished road
Default

Yes you can you are able to set up certain rules so for instance if the program answers a question incorrectly then you say "That is incorrect" then you are able to set up something that will make it ask for the correct answer and will store it for later use.
__________________
www.jooney.co.uk - the online portfolio
Send a message via MSN to Rendair
Rendair is offline  
Reply With Quote
Old 02-22-2008, 09:16 AM   #4 (permalink)
The Prestige
Upcoming Programmer Inquisitive 
 
Tanax's Avatar
 
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
Tanax is on a distinguished road
Default

Quote:
Originally Posted by Rendair View Post
Yes you can you are able to set up certain rules so for instance if the program answers a question incorrectly then you say "That is incorrect" then you are able to set up something that will make it ask for the correct answer and will store it for later use.
Really? :-O
I was only joking, lol.. but dude, that's.. brutal! :O
__________________
Tanax is offline  
Reply With Quote
Old 02-22-2008, 01:39 PM   #5 (permalink)
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default

I could whip you up a simple version of that in php, would take me less then an hour. Burger king used to have a game of 20 questions that could learn, its not up anymore though.
__________________

Village Idiot is offline  
Reply With Quote
Old 02-22-2008, 02:22 PM   #6 (permalink)
The Addict
Upcoming Programmer Top Contributor 
 
Rendair's Avatar
 
Join Date: Nov 2007
Location: UK
Posts: 319
Thanks: 18
Rendair is on a distinguished road
Default

Quote:
Originally Posted by Village Idiot View Post
I could whip you up a simple version of that in php, would take me less then an hour. Burger king used to have a game of 20 questions that could learn, its not up anymore though.
Maybe if you have time you can give it ago would be interesting to see your version of it. Me myself i am using a different language as its more powerful then PHP.
__________________
www.jooney.co.uk - the online portfolio
Send a message via MSN to Rendair
Rendair is offline  
Reply With Quote
Old 02-22-2008, 04:26 PM   #7 (permalink)
The Contributor
 
Devels's Avatar
 
Join Date: Nov 2007
Posts: 27
Thanks: 2
Devels is on a distinguished road
Default

Quote:
Originally Posted by Village Idiot View Post
I could whip you up a simple version of that in php, would take me less then an hour. Burger king used to have a game of 20 questions that could learn, its not up anymore though.
I am really interested to see something alike you could make in less a hour.
Devels is offline  
Reply With Quote
Old 02-22-2008, 05:12 PM   #8 (permalink)
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default

Quote:
Originally Posted by Devels View Post
I am really interested to see something alike you could make in less a hour.
I couldnt make anything as advanced as the burger king bot. But I can make something that will get an answer wrong once, then you tell it the answer. When you ask again it will give you the answer.
__________________

Village Idiot is offline  
Reply With Quote
Old 02-22-2008, 09:26 PM   #9 (permalink)
The Addict
Upcoming Programmer Top Contributor 
 
Rendair's Avatar
 
Join Date: Nov 2007
Location: UK
Posts: 319
Thanks: 18
Rendair is on a distinguished road
Default

In order for it to pass as a AI bot you would have to test it out on humans and if they think that they are chatting to a human then the bot passes according to the "The Turing Test"
__________________
www.jooney.co.uk - the online portfolio
Send a message via MSN to Rendair
Rendair is offline  
Reply With Quote
Old 02-22-2008, 10:26 PM   #10 (permalink)
The Contributor
 
Devels's Avatar
 
Join Date: Nov 2007
Posts: 27
Thanks: 2
Devels is on a distinguished road
Default

Quote:
Originally Posted by Village Idiot View Post
I couldnt make anything as advanced as the burger king bot. But I can make something that will get an answer wrong once, then you tell it the answer. When you ask again it will give you the answer.
Are you talking about an example of yours also using AIML, or just a PHP mechanism that is acting like it is smart?
Devels is offline  
Reply With Quote
Old 02-22-2008, 10:54 PM   #11 (permalink)
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default

All programs act like they are smart, in reality they can only do what they are told. Heck, computers cant even generate real random numbers.

It would just be something that is asked a question, if it doesnt know it will ask you for an answer. When that question is asked again it will give an answer, you can then say its wrong and give it another answer. It will base answers off of number of "correct" answers told to it.

edit: Those AIML bots arent much more then that, they just can their answers via XML.
__________________

Village Idiot is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 01:32 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design