Joseph Weizenbaum's Original Eliza
sites.google.com
sites.google.com
Weizenbaum was shocked to discover that many users were taking his program seriously and were opening their hearts to it. The experience prompted him to think philosophically about the implications of artificial intelligence and, later, to become a critic of it.
In his 1976 book, "Computer Power and Human Reason: From Judgment to Calculation," Weizenbaum suggested that it could be both dangerous and immoral to assume computers could eventually take over any role, given enough processing power and the right programming.
"No other organism, and certainly no computer, can be made to confront genuine human problems in human terms," he wrote.
[1] - https://www.latimes.com/archives/la-xpm-2008-mar-14-me-weize...
It looked for common strings inside a sentence and responded with one of 5 random choose sentences. It had the ability to add new sentences as it was used so over time it got better and better.
What got me was that it was less than 100 lines of BASIC code, yet I had people spending over an hour typing with it. And one girl was in tears as she was busy with it talking about her breakup with her boy friend.
Note the database of answers was over 2000 questions, I think I still have the paper tape with the original program even.
https://dl.acm.org/doi/pdf/10.1145/1045264.1045265
"This moralistic and incoherent book uses computer science and technology as an illustration to support the view promoted by Lewis Mumford, Theodore Roszak, and Jacques Ellul, that science has led to an immoral view of man and the world. I am frightened by its arguments that certain research should not be done if it is based on or might result in an "obscene" picture of the world and man. Worse yet, the book's notion of "obscenity" is vague enough to admit arbitrary interpretations by activist bureaucrats."
>It seems exceedingly unlikely that the v e r y difficult problems of intelligence can be solved by "hackers" without a deep theory.
Guess they were very wrong.
https://www.atariarchives.org/morebasicgames/showpage.php?pa...
Jeff Shrager who is the author of the ELIZA code in the book is the person who created ELIZAGen and tracked down the original code.
The whole episode is sort of the back story of ELIZA and ELIZAGen effort.
Main class that does processing is interesting to look at:
https://github.com/sirkris/ELIZA.NET/blob/master/src/ELIZA.N...
Main script file data structure:
https://raw.githubusercontent.com/sirkris/ELIZA.NET/master/s...
There's a few other nuts and bolts but thats basically it
https://github.com/stefanhaustein/eliza/tree/main/modernized...
curl --header 'Content-Type: application/json' --data '{"sentence": "I feel happy."}' https://demo.connect.build/buf.connect.demo.eliza.v1.ElizaSe...
I love that this little bit of computing history is getting some love :)
https://www.jstor.org/stable/24967539 (Sadly only a preview, I can't find the whole article freely online.)