15 posts found
Bigger context windows did not give models memory. They gave you a larger envelope to fill on every single request — and...
Hallucination is not a glitch that a better model will one day remove. It is what generation does when it has nothing to...
A system prompt sets the rules for everything that follows. Written well it is the cheapest quality improvement availabl...
If your code needs a value from a model, ask for JSON and validate it. Regexing an answer out of a paragraph is a bug wa...
Most production traffic does not need the largest model available. Routing by task rather than defaulting to the top of...
Retrieval-augmented generation is three steps and a lot of tuning. The architecture is simple; the quality lives almost...
Teams spend weeks on rerankers and leave chunking at the default. It is usually the other way round that pays — how you...
If every request begins with the same two thousand tokens of instructions, you are paying full price to resend them. Ord...
Streaming makes a slow response feel fast. It also means rendering text that is syntactically incomplete, and handling a...
Every AI feature meets a 429 eventually. Whether that is a blip or an outage depends on retry logic written before you n...
You cannot unit test "is this a good answer", but you can build a set of real cases with known-good outputs. An afternoo...
Per-token pricing looks trivial until you multiply by retries, conversation history and the context you resend on every...