Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Thanks! The article about ELIZA is hilarious, in that this AI "doctor" was also based on the principle of the superficiality of communication, and how many people were fooled, feeling like they received real help from an apparent psychotherapist.

My program is much simpler than ELIZA, just a hash, really, and a CGI interface. It could probably be almost a one liner if I was a more experienced programmer. The trickiest part was just getting around Perl's taint checking, and some additional security measures on the server.

In a way though, Bot 2 is more "advanced" in that, according to that article. ELIZA could only be updated by manually rewriting the code. I'm intrigued by the possible potential of a program that can be updated or "learn" from people connecting to it and modifying it from all over the world simultaneously. My biggest wory was that with a potential for thousands of people to be able to "teach" Bot, simultaneously, the hash would grow extremely large very quickly. As it is, that did not happen. A million people could say "Hello Bot", and he says hello. They say "how are you" he says fine. The hash is not modified. People's Repertoire of greetings and casual conversation are surprisingly (to me anyway) limited. The problem has been more, trying to get people to converse long enough to find something not already in the hash.

If people could add alternate responses, that might be more interesting. -- Tom

In reply to Re^2: Artificial Intelligence experiment by PerlGuy(Tom)
in thread Artificial Intelligence experiment by PerlGuy(Tom)

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2021-10-28 03:02 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (95 votes). Check out past polls.