
LLM evaluation in .NET: testing response quality with Microsoft.Extensions.AI.Evaluation
How **LLM evaluation** works in .NET: unit tests verify code, but ==a model's response is not deterministic== and must be *judged*, not compared. With *Microsoft.Extensions.AI.Evaluation* I build an ==xunit suite== that scores the *relevance*, *coherence* and *groundedness* of an assistant's answers, with a **local judge via Ollama**, disk-based caching and an ==HTML report== ready for CI.







