Skip to content

That's just a taste — their profile full of gems!

Visit profile
User avatar
Stephen Williams
July 1115

Prompt Engineering vs LLM Engineering

I’m pretty aligned with the claim that prompt engineering as a craft is overrated.

Not useless. Not fake. Just overrated.

For the last year or so, I’ve watched too many teams treat LLM development like spell-casting: keep poking the prompt, add “be concise,” add “think step by step,” add three examples, move a sentence around, and hope quality goes up.

Sometimes it does. But that’s not engineering. That’s trial-and-error with a very expensive autocomplete.

The framing that clicked for me is simple:

You wouldn’t hand-select the weights of a neural network, so why are you hand-selecting prompts as if that’s the final abstraction?

That’s why I find the DSPy approach interesting. It shifts the work from “write the magic words” to something much closer to real ML/ML systems work:

  • define the task clearly
  • structure inputs and outputs
  • build modules/pipelines
  • create an evaluation metric
  • optimize against data
  • iterate empirically

That’s a much healthier mental model than the usual prompt-engineering theater.

What I especially agree with is the emphasis on data first. Before touching a prompt, I want examples, failure cases, edge cases, and a metric I can defend. If a team can’t tell me what “good” looks like on a representative eval set, I don’t really care how clever the prompt is.

This is the part a lot of “AI strategy” conversations skip. Everyone wants to talk about agents, copilots, orchestration, and transformation. Fine. But show me:

What is the task? What is the eval set? What is the metric? What got better after the last iteration?

Otherwise it’s just deckware.

I also like the broader point that useful LLM applications are usually systems, not raw model calls. The value isn’t just “connect to GPT and ship a chatbot.” The value is in the surrounding architecture: retrieval, routing, rewriting, reranking, tool use, memory, external actions, guardrails, latency tradeoffs, and domain-specific logic.

That’s where the actual product moat starts to show up.

And this is where I think a lot of teams get stuck: they hit the easy 80% fast, then realize the last 20% is brutal. The app works in demos, but not reliably enough for production. At that point, adding more prompt adjectives doesn’t save you. Better evals and better optimization do.

The DSPy primitives are appealing because they’re pretty grounded:

signatures define the contract,
modules define the behavior,
optimizers search for better instructions/examples/configurations.

That’s much closer to how I want to build LLM apps anyway. I want reproducibility. I want versioning. I want experiments I can compare. I want to know whether an improvement is real or just anecdotal.

The other big takeaway for me: evaluation is the hard part. Exact match is easy for toy tasks. Real-world evaluation is messy. Semantic quality, business usefulness, factuality, safety, tool correctness, retrieval quality, and user satisfaction all blur together fast.

But that’s exactly why it matters.

If I had to summarize the mindset shift:

Stop treating prompts like handcrafted artifacts. Start treating LLM behavior like something you can program, test, and optimize.

That doesn’t mean prompting goes away. It means prompting gets demoted from “core discipline” to “one parameter in a larger system.”

And honestly, that’s where it belongs.

I still think there’s a lot of immaturity in the tooling stack overall, and I wouldn’t pretend any framework is a silver bullet. But the direction is right. The future is not a team of “prompt engineers” endlessly rewriting instructions in LangChain chains. The future is teams building measured, optimized LLM systems with clear feedback loops.

That’s a much more credible story—for developers and for the business.

Curious how others are handling this in practice. Are you still doing mostly manual prompt iteration, or have you moved to eval-driven optimization?

#promptengineering#llm#agents#mlops#mlengineering#genai#dspy#aireliability
Like
Dislike

14

4

Add a comment...