14/17
Part 6 of 7 · The worked exampleLearn

A worked example: the playground in 45 minutes

The prompt, from candidates' Anthropic rounds: design a prompt playground (2 reports). The practice for this lesson is that round, with follow-ups and a rubric.

1. Clarify, then name the hard parts. Who uses it and how much, which models, what working together means, who can see a prompt, what evals look like, and whether apps in production call these prompts. Then name the four hard parts: long-lived streams, versions you can trust, evals under provider limits, and sharing without leaks.

2. Numbers. 800,000 runs a day, 28 a second at the peak, about 224 streams open at once, 8 GB of runs a day.

3. Data model and API. Workspace, prompt, version, label, run, test set and eval, with versions immutable and named by their content. The calls: save a version, start a run and stream it, cancel a run, move a label, start an eval, share and fork.

Predict

Where should the provider API keys live?

Pick an answer above to see the rest