ELIZA (Natural Language Processing)

The first AI that pretended to listen — 1966 and surprisingly convincing.

ELIZA - The First Chatbot

AnalogyDefinition
ELIZA is like that one colleague who never judges, always listens, and then responds with the perfect follow-up question. She takes your words, cleverly turns them around, and serves them back as a new question. The amazing thing: this 'parrot principle' works so well that people often forget they're talking to a 60-year-old computer. Sometimes the simplest solution is the most elegant.

How it works

Pattern Matching

ELIZA recognizes patterns in your input and responds with pre-programmed phrases:

I am tired
How long have you been tired?
I think that...
Do you doubt that...?
My mother...
Tell me more about your mother.

Keywords

mother
father
feel
think
want
always
never
can't

ELIZA Chat

Have a conversation with the historic ELIZA

ELIZA: I'm glad you're here. Tell me what's on your mind.
ELIZA 16:56
I'm glad you're here. Tell me what's on your mind.
Enter a message and press Enter or click Send

ELIZA Explained

TheoryHistoryPseudo-CodeStep by StepFlow Diagram

Pattern-Matching Theory

ELIZA is based on the principle that meaningful dialogue can be simulated through pattern recognition and text transformation. This approach was primitive by today's standards, but revealed fundamental insights about human-computer interaction and the psychology of conversation.

The system works through simple string matching: It searches the user input for predefined keywords and patterns. When a pattern is found, ELIZA selects an appropriate predefined response and transforms it through pronoun reflection (I→you, my→your). This simple technique was surprisingly effective in creating the illusion of understanding.

Natural Language Processing

As one of the earliest NLP systems, ELIZA established fundamental concepts that remain relevant today: pattern recognition in natural language, context-aware responses, and the importance of conversation flow in human-computer interfaces.

Its approach was based on simple string matching and text transformations - no machine learning, no neural networks, just clever rules. Yet ELIZA demonstrated that even with simple techniques, a remarkable illusion of intelligence can be created when the right conversation patterns are used.

Modern Relevance

While today's chatbots use neural networks and machine learning, ELIZA's fundamental insights about conversation patterns, user expectations, and the importance of meaningful responses remain relevant in contemporary AI development.

ELIZA taught us important lessons: People are willing to attribute intelligence and understanding to systems, even when they are not present. This insight is still central today in the development of conversational AI and in shaping user expectations.

Try the demo! Chat with ELIZA and notice how she mirrors your statements. Can you recognize the patterns?

ELIZA Knowledge Quiz

Question 1 / 3
Not completed

What main technique does ELIZA use to generate responses?

Select one answer
Answer Key: 1) B · 2) A C D · 3) C