CHALLENGE
I wanna see who can make the best simple Console application that uses AI. What i mean by that is, it will talk back to you... You talk, it responds... I just wanna see who can do it...
Good Luck
Printable View
CHALLENGE
I wanna see who can make the best simple Console application that uses AI. What i mean by that is, it will talk back to you... You talk, it responds... I just wanna see who can do it...
Good Luck
I've been interested in doing something like this for a while: can someone give me a start: how do you get the first thinking part? how does it generate it's own sentences.
You give it a basic vocabulary by defining sentence structure and grammar, then write up a file for it to read from with all of the words/phrases that it can use in response. The program will read from the file a phrase or several words pertainng to the input and build a coherent response. If the user inputs something that the AI isn't programmed to respond to it will simply respond with a default statement, such as "I'm sorry, I don't understand".
-Prelude
Of course you do ;)Quote:
... I just wanna see who can do it...
i wrote this as one of my first programs. It has a VERY simple AI if you can even call it a AI. But it might be of some use(although I can't figure out for what :-D )
i wrote this as one of my first programs. It has a VERY simple AI if you can even call it a AI. But it might be of some use(although I can't figure out for what :-D ) The other problem with it is it written in straight C.
Doesn't compile. Not surprising, seeing as:
Compare strings with strcmp with double quotes - or - compare single chars. Make up your mind which you are doing.Code:char plans [128];
if(plans == 'yes')
And:
tolower accepts single chars passed by copy. You can't give it a pointer to a char.Code:plans = tolower( plans );
This seems like an interesting, fairly somewhat simple challenge. Something to keep me occupied when I am bored.
Like I said I wrote it when I first started. I could probaly right a much better one now but owell.
But if that was the finalised source code, how did you even get it to compile?
Isometric, u might want to change ur sig before some people here get very mad.
samG, I think isometric is ignoring you... :)
btw, nothing wrong with the sig. I say...
And now that I've taken the time to look at Isometrics source I must point out that this is in no sense anything like the AI suggested by Silentsharp. What he's talking about is a Turing Machine, a concept developted by Alan Turing (check the site, its actually quite interesting) of a machine that could talk back to you.
The fact of the matter is that to date no one has been able to convinsingly build a Turing Machine (so it's pretty difficult...:)).
The difference between a Turing Machine and Isometrics source is that a the machine reacts on your questions instead of asking the questions, expecting a 128(max) char string in return and then using that string in a standard reply.
With a Turing Machine you would have a complete conversation without you notecing the fact you're talking to a machine. If anyone here would be able to build such a program I think he or she would not only be an instant "super member" but he or she would also probably be eligable for a nobel prize...;)
>to date no one has been able to convinsingly build a Turing Machine
That's not entirely correct. In reality several turing machines have been created and successfully fooled people into believing that they were talking to another human. A turing machine is rather easy to create seeing as how people are so gullible.
A true AI that can respond fluently and accurately to any input is incredibly difficult, if possible at all. If you simply want to make a turing machine then it shouldn't take too much work, but if you want a real artificial intelligence you've got your work cut out for you.
-Prelude
I have seen this done on the AI movie website. It is pretty amazing, though it can be very slow at times due to web traffic. I would sugest you check it out if you get a chance:
http://www.aimovie.com/