ELIZA (Natural Language Processing)

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

Have a conversation with the historic ELIZA

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

Pattern Matching The inside view of the last reply: the keyword it spotted, the underlying pattern, and which parts of your message ELIZA folded into the answer.

Found keyword
  1. question
  2. sorry
  3. why
  4. what
  5. how
  6. yes
  7. no
  8. remember
  9. dream
  10. i am sad
  11. i am happy
  12. i am angry
  13. i am afraid
  14. i think
  15. i dont know
  16. i feel
  17. computer
  18. mother
  19. father
  20. family
  21. love
  22. boyfriend girlfriend
  23. everyone
  24. nobody
  25. always
  26. never
  27. i want
  28. i need
  29. i cant
  30. i can
  31. none – default reply

No pattern match analysis available yet. Start a conversation to see how ELIZA processes your input.

Controls
ViewTurns on the x-ray view: ELIZA then highlights the keyword it spotted in your message and shows which words it mirrors straight back.
Top rules this sessionTallies which keyword rules fired most often this session, so you can see what ELIZA actually reacted to.

No rule fired yet

Session

Definition

ELIZA - The First Chatbot

Analogy

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.

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

ELIZA recognizes keywords in your input and prioritizes responses based on their psychological significance:

motherfatherfeelthinkwantalwaysnevercan't

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?

Check

ELIZA Knowledge Quiz

Not completed

Test your understanding of the world's first chatbot

What main technique does ELIZA use to generate responses?

Select one answer

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

Plain Language

This preview is in Plain Language. The whole portal is also available in Plain Language. You can change the language at the top. Or use the button below. Our Plain Language texts are AI-assisted and editorially reviewed. They follow the core principles of easy-to-read language, but they are not certified Easy Read: a review panel of people with learning difficulties does not test them.

Preview: ELIZA: the first chatbot

What is shown

ELIZA is a very old chatbot. It was built in the 1960s. ELIZA can hold conversations. But it does not really understand you.

How ELIZA works

ELIZA looks for specific words in your message. You write the word 'mother'. Then ELIZA asks about your mother. This is called pattern matching. Pattern matching means: the system recognizes patterns in text.

What you learn from this

You write messages to ELIZA. You recognize the patterns. ELIZA understands nothing. It only follows simple rules. That was an important discovery for AI.