Prompt Evaluations: Based on Anthropic Materials · Lesson 8
Custom LLM Judge: Multi-Metric Scoring
Writing a custom llm_eval() function that scores several metrics (conciseness, accuracy, tone 1-5) and answers strictly in a JSON Schema through structured outputs. get_assert() for Promptfoo, comparing basic vs better vs best summarization prompts, and stable scores without temperature.
One trial lesson is open without sign-up: what a large language model is →


