Day 1 — Talking to models
- What an LLM is, and what it isn't: tokens, context, sampling
- Calling hosted APIs: Anthropic, OpenAI
- Running local models with Ollama and llama.cpp
- Choosing a model: quality, cost, latency, privacy
- Writing prompts that hold up: system prompts, examples, constraints
- Structured output: getting clean data with Pydantic
- Streaming responses
- Handling errors, retries and rate limits