AI isn't magic or a giant answer book. It's a pattern-recognition machine that learns from examples and predicts what comes next — one word at a time.
Course: Beginner.
This lesson covers 5 concepts: Your Question, Billions of Examples, Finding the Pattern, Picking the Next Word, Your Answer.
This is your prompt — the question or instruction you send to AI. Every response begins here.
Every word you write shapes the entire response — AI builds everything around this one input.
Like the first line of a fill-in-the-blank — you write the beginning, and AI completes the rest.
You type "Why is the sky blue?" and AI begins working — word by word, building an answer from patterns it learned.
Before answering you, AI spent months reading billions of documents — learning what patterns appear together in human language.
All of AI's knowledge lives in these learned patterns — there is no internet search happening when you ask a question.
Imagine reading every book ever written. You would start to notice how ideas connect. That is exactly what AI did, but in months.
GPT-4 was trained on more words than a person could read in 100,000 lifetimes.
AI searches its learned patterns to find what is most relevant to your specific question.
This matching step turns billions of learned examples into a focused, relevant response for your exact question.
Like your brain finishing "Roses are red, violets are ___" — you do not calculate it, you just recognize the pattern instantly.
"Why is the sky blue?" connects strongly to patterns about light, wavelengths, and atmosphere — surfacing the right knowledge.
AI scores every possible next word and picks the most fitting one — then repeats this for every single word in the response.
This word-by-word prediction is why AI can produce any text on demand — it is always just asking "what word comes next?"
Like your phone's autocomplete — but trained on the entire internet and far more precise.
After "Blue light is ", AI gives "scattered" a 72% score, "refracted" 14% — picks the winner, then moves to the next word.
The finished response — assembled word by word from the prediction process, unique to your exact question in this moment.
AI builds this from scratch every single time — there is no pre-written answer being retrieved. Pure construction.
Like a chef who learned from a million recipes, then cooks something new for you from scratch — every single time you ask.
"Blue light scatters more than other colors..." — generated token by token in under a second. Never copied from anywhere.