The LLM Is a Function, Not a Friend
Before you write a single line of LLM code, install the one mental model that makes every other decision easier: it is a function, not a thing you are talking to.
Search for a command to run...
Series
Before you write a single line of LLM code, install the one mental model that makes every other decision easier: it is a function, not a thing you are talking to.
curl, SDK, streaming, async. Four ways to call an LLM, one shape that beats the rest in production, and the ones everyone reaches for at the wrong moment.
Asking nicely for JSON is not a plan. Here is how to get structured output from an LLM that your downstream code can trust, with schemas, real errors, and the moves that scale.
Most developers pick defaults for temperature and top-p and never revisit them. Most defaults are wrong for most calls. Here is what each knob actually does and when to touch it.
Every LLM call has three kinds of messages: system, user, and tool. They disagree all the time. Here is who wins, why, and how to design prompts that don't get overridden by the next user turn.
Most teams treat prompts like magic strings. Then they wake up to a regression nobody can explain. Here is how to treat prompts like code — versioned, templated, tested — without making a career of it.