I’ve been digging into how to actually ship AI features in production, specifically on .NET. The surprising part? Building the feature itself is usually the easy bit—hooking up an API call and writing a prompt can take an afternoon.
What’s really tricky is knowing if it’s *any good* and if a recent tweak actually improved it. Unlike normal code where tests give a clear pass/fail, AI outputs vary and have many valid answers. You can’t just Assert.Equal a paragraph.
That’s where evals come in: a structured way to measure AI quality across real cases, giving you scores, not just pass/fail. At TextStack, every AI feature ships with its own eval suite baked in from day one, using .NET tooling and a stronger model as a judge.
It’s not glamorous but treating evaluation as a loop—Analyze, Measure, Improve—feels like the right mindset to keep AI features honest and ship-ready.
Ever struggled with testing nondeterministic AI outputs? Would love to hear how you handle it.
#dotnet #AIinProduction #LLM #AIevals #frontenddev
