Technical articles, tutorials, and thoughts on software engineering
Prompt Engineering
If your LLM application processes any external or user-supplied content, prompt injection is a real security concern — not a theoretical one.
You can't reliably improve a prompt you haven't measured. Here's how to build a lightweight evaluation system from scratch.
Asking a model to reason step by step before answering measurably improves accuracy on tasks that require multi-step logic.
Showing an LLM a few examples of the pattern you want is often more effective than describing it. Here's how to do it well.
Less mystical, more methodical: a look at the actual day-to-day work behind making LLM features reliable.
Prompt engineering is the discipline of designing inputs to get reliable, accurate outputs from an LLM. It's less about clever wording than systematic testing.