Prerequisites & Notation
Prerequisites
This chapter assumes familiarity with:
- How LLMs work (Chapter 35): transformer architecture, pre-training, RLHF
- Python fundamentals (Chapter 1): async, HTTP requests, JSON We cover the practical side: calling LLM APIs, designing effective prompts, implementing tool use, and building RAG systems.
Definition: Notation for This Chapter
Notation for This Chapter
| Symbol | Meaning |
|---|---|
| Input token count | |
| Output token count | |
| Number of retrieved documents in RAG | |
| Query embedding vector | |
| Document corpus for retrieval |