TopicFoundations, switch topic
Verified 18 Nov 2026

Topic · Foundation

Foundations: how AI apps work

3 lessons · 22 minutes of stepping · 3 ready now

Done
0 / 3
Next
Lesson 3
  1. 01
    How an LLM answers

    Tokens in, one token out, again and again: prompts, tokenizers, scores and sampling.

    6 min
  2. 02
    RAG: answers from your documents

    Documents become chunks and embeddings; the closest chunks join the prompt so the model can answer from them.

    8 min
  3. 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