R

Author

Roo Iyer

Roo Iyer writes terse, tested prompt recipes for PromptAttic. Reads the paper, then tells you which half of it you can actually run.

Prompt Recipes

Top P: 5 Recipes That Ship (2026)

Five copy-paste top_p (nucleus sampling) recipes for the OpenAI and Anthropic APIs in 2026: the default that ships, clamping the tail for extraction, focused creative, steadier JSON, and the one-knob rule.

5 min read185
Prompt Recipes

max_tokens: 5 Recipes That Ship (2026)

max_tokens caps output; it does not push the model to fill it. Detect truncation via stop_reason of max_tokens, continue a cut-off answer, and leave room for extended thinking. Five copy-paste recipes for 2026.

5 min read129