Generative AI is the class of models that create new content — text, images, code, audio — rather than just classify or predict a label. The models behind the text tools you use are large language models (LLMs). This course is a practitioner's introduction: how they work, how to prompt them well, and how to build real applications on top of them.
What is generative AI?
A traditional model might answer "is this email spam?" A generative model produces open-ended output: write the email, summarise a report, translate a paragraph, generate code. Modern LLMs are strikingly general — one model handles many tasks with no task-specific training, just a good prompt.
How LLMs work
An LLM is trained on vast amounts of text to predict the next piece of text given everything before it. Do that well enough, at enough scale, and the model appears to reason, summarise and write. At its core it is a very sophisticated next-token predictor — understanding that framing explains both its power and its failure modes.
Tokens & context
Models don't see words — they see tokens (roughly 3–4 characters of English each). The context window is how many tokens the model can consider at once — your prompt plus its reply must fit inside it. Bigger windows let you pass more documents, but cost and latency grow with tokens:
"Albero Academy" ≈ 3–4 tokens1 page of text ≈ 500 tokensPricing & limits are measured per-token, both input and output.
Key terms
| Term | Meaning |
|---|---|
| Prompt | The input text you give the model |
| Token | A chunk of text the model reads/writes |
| Context window | Max tokens the model handles at once |
| Temperature | Randomness: low = focused, high = creative |
| System prompt | Instructions that set the model's role & rules |
| Hallucination | A confident but false or invented answer |
Limits
- Hallucination — models can state false facts fluently. Verify anything that matters.
- Knowledge cutoff — a base model only knows its training data; it can't know today's news without being given it.
- No true memory — each request is stateless; conversation "memory" is just re-sending prior messages.
Practice
Take any chat LLM and give it the same question three times, once asking for a "concise" answer, once "detailed", once "for a 10-year old". Notice how much the prompt shapes the output — that's the whole of the next chapter.
Key takeaways
- 01Generative AI creates new content; LLMs are the text-generating kind.
- 02An LLM predicts the next token; scale turns that into apparent reasoning and writing.
- 03Models read/write tokens; prompt + reply must fit the context window, and you pay per token.
- 04Learn the vocabulary: prompt, temperature, system prompt, hallucination, context window.
- 05Verify outputs — models hallucinate, have a knowledge cutoff, and are stateless.
