1966 · Symbolic AI
Reflect the words back and call it understanding.
Every other technique here counts something. ELIZA counts nothing. It is a rule-based system: a fixed, hand-written list of patterns, each paired with response templates, checked against your input from top to bottom. The first pattern that matches wins. Joseph Weizenbaum built it in 1966 to play a Rogerian psychotherapist — a role chosen deliberately, because a Rogerian therapist mostly reflects the patient's own words back as questions, which needs no world knowledge at all.
Say "I need help" and ELIZA doesn't need to know what help means. It just needs to notice the pattern I need (...), swap the pronouns ("I"→"you", "my"→"your"), and slot the reflected text into a template:
"I" became "you", "my" became "your" — the sentence was never understood, only grammatically mirrored. When nothing matches, ELIZA falls back to a cycling list of empty prompts ("Please go on.", "Tell me more.") that keep the conversation moving without engaging with a single word you said.
core.js, none hiddenThe entire model, in full. Nothing is trained; nothing is counted. Every reply traces back to one line of source you could read in under a minute.
It understands nothing. Every reply is a syntactic reflection of your own words. ELIZA has no model of what "help", "sleep", or "family" mean — it cannot answer a factual question, hold a fact across turns, or notice a contradiction.
Coverage does not scale. This demo has 17 rules; Weizenbaum's original had a few hundred. Getting from a handful of patterns to "handles arbitrary English" is not a matter of writing more of them — language has combinatorially many ways to say the same thing, and hand-authored patterns cannot keep up.
It is brittle to phrasing. "I need help" triggers a rule; "help is something I need" does not, even though they mean the same thing. A rule-based system only recognises the exact surface forms someone thought to write down.
The illusion depends entirely on the topic. Rogerian therapy is a best case for pattern reflection — the therapist is supposed to say very little. Ask ELIZA to translate a sentence or answer a trivia question and it has nothing but the same handful of empty prompts.