Interview Prep/Agentic AI/Evaluation & observability

Why can't you just test LLM apps with normal unit tests?

BeginnerConceptEvaluation & observability
Answer

Outputs vary in wording and there are many acceptable answers, so exact-match assertions break. You still unit-test the code around the model, but for model output you check properties: valid JSON, correct label, contains the key fact, cites a source, stays under a length, or a grader's score.

All Agentic AI questions Roadmap: LLMOps: evals, security & production

More on Evaluation & observability