What AI Actually Is
How AI Chatbots Work (Plainly)
ChatGPT and Claude do something almost absurdly simple, predict the next word, trained so well it produces real intelligence.
The AI everyone is talking about, ChatGPT, Claude, Gemini, are large language models, or LLMs. At their core they do something that sounds almost too simple: they predict the next word. Trained on a massive chunk of human writing, they learned the patterns of language so deeply that predicting the next word, over and over, produces coherent, genuinely useful text.
Why "just prediction" is so powerful
To predict the next word well across everything humans have written, the model had to absorb grammar, facts, reasoning patterns, code, tone and style. So "predict the next word" quietly requires compressing a staggering amount of human knowledge and structure. That is why the same simple mechanism can answer questions, write essays, explain ideas and produce working code.
Knowing this changes how you use it. It is brilliant at language, structure, drafting and reasoning patterns, and shaky on precise facts and figures. Lean on its strengths, and verify anything that has to be exactly correct.
Predict the next word
the simple mechanism behind chatbots, done well enough to feel like intelligence
Key takeaways
This is one lesson of 541.
The whole Foundation is free — 16 subjects, beginner to advanced. Sign in to track what you have read, take the end-of-module quizzes, and use the terminal.