Your Agent::fake() tests prove your Laravel AI feature runs — not that its output is any good. This evals a real ticket classifier with the AI SDK: a golden dataset for the fields you can check, an LLM-as-judge for the free text you can’t, and a regression gate that catches a bad prompt before your customers do.

Read more

Categories: PHP