Sunday, November 15, 2015

Eliza, computer therapist

ELIZA emulates a Rogerian psychotherapist.

ELIZA has almost no intelligence whatsoever, only tricks like string substitution and canned responses based on keywords. Yet when the original ELIZA first appeared in the 60's, some people actually mistook her for human. The illusion of intelligence works best, however, if you limit your conversation to talking about yourself and your life.

This javascript version of ELIZA was originally written by Michal Wallace and significantly enhanced by George Dunlop.

Note: Eliza is dumb! This is common knowledge. Please don't write to me telling me she's dumb, or how to fix it. If you don't like the way she works, you can change the code yourself. Just view source on this page to see the javascript, and save it to your hard drive. Then do a search for javascript documenation, and you should be able to make Eliza act any way you want. :)

No comments:

Post a Comment