Lesson 021: Context window and chunk budgeting
Focus
Swap placeholder nouns for your internal service names immediately. Token Context window and chunk budgeting:21 keeps neighbouring lessons differentiable.
Key ideas
- Thread: Context window and chunk budgeting · drill v1 · spin
478931. - Habit: attach a trace_id to every completion you would paste into an ops dashboard.
- Guardrail: add one RACI bullet for prompt or index changes before tomorrow's standup.
Deep dive notebook
Synthetic drill artefacts
Token CFO scratchpad
- prompt_budget: 1718
- completion_budget: 500
- cache_key: `2be1`
Hypothesis: halving completions moves P95 ~5% — record actuals.
Practice
Practice Pair with security on one prompt-injection tabletop scenario. — 21 Bump 12.