Topic · Foundation
Foundations: how AI apps work
3 lessons · 22 minutes of stepping · 3 ready now
- Done
- 0 / 3
- Next
- Lesson 3
- 01How an LLM answers
Tokens in, one token out, again and again: prompts, tokenizers, scores and sampling.
6 min - 02RAG: answers from your documents
Documents become chunks and embeddings; the closest chunks join the prompt so the model can answer from them.
8 min - Next up. The agent loop
The model picks an action, the app checks it's allowed, a tool runs, and the loop goes round until it's done.
8 min