Explain it simpler
With normal software you test whether the answer is right or wrong. With AI-generated text, an answer can be partly right, well written but made up, or correct but off topic. Evaluation means running your app on a fixed set of test questions and scoring every answer in several ways. Did it stick to the source material? Did it answer the question asked? Does it make sense and read well? Is it safe? Often another strong AI model does the scoring like a teacher marking essays, and people spot-check the marks. When you change something, you rerun the same test and compare scores, like a car going through the same safety tests after every design change.
The budget review at Granite Law Partners is on Thursday, and Elena has a tempting proposal on her desk: switch the firm's research assistant to a cheaper model and save a meaningful slice of the monthly bill. She tries ten questions in the playground and the answers read beautifully. But a partner once caught the assistant citing a clause that was not in the contract, and Elena knows ten chats prove very little. She needs evidence she can put in front of the partners, not impressions. How do you measure whether a generative AI app is actually good, and whether a change made it better or worse?
Generative AI output is not simply right or wrong. An answer can be fluent but unsupported, accurate but off topic, or helpful but unsafe, and a small prompt change can improve one kind of question while breaking another. Evaluation means running your app against a set of test inputs and scoring the outputs systematically, so that decisions about prompts, models and retrieval are based on evidence rather than a few chats in the playground. Azure AI Foundry provides built-in evaluators and an evaluation dashboard for comparing runs, and the Azure AI Evaluation SDK (software development kit) lets you run the same evaluators in code or as a step in a continuous integration pipeline.
Keep reading for free
Create a free StudyToCert account to read the rest of this lesson: 7 more sections, 6 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.