Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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)

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

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

    How do I use this? | Other CB clients
    Other Users?
    Others browsing the Monastery: (5)
    As of 2020-06-06 12:16 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      Do you really want to know if there is extraterrestrial life?



      Results (41 votes). Check out past polls.

      Notices?