LLM Fundamentals & Prompting practice
How large language models work and how to use them from Python: tokens, API calls, prompts, settings, structured JSON output, chat history, cost, retries and streaming.
- 01How LLMs work: tokens, the context window and next-word predictionShort notes · 11 questions
- 02Your first API call: keys, messages, roles and the responseShort notes · 10 questions
- 03Writing good prompts: instructions, context and examplesShort notes · 10 questions
- 04System prompts, temperature and other settingsShort notes · 10 questions
- 05Structured output: JSON, schemas and checking it with PydanticShort notes · 10 questions
- 06Multi-turn chat: history, context limits and summarisingShort notes · 10 questions
- 07Cost, rate limits, retries and streamingShort notes · 11 questions
- 08Choosing a model: open or closed, small or large, running one locally, when to fine-tuneShort notes · 10 questions