AI & LLM
Evals
Test sets and metrics that tell whether a prompt or model change actually helped.
Article
Evaluating LLM applications (evals): tests for systems that are not deterministic
How to build an evaluation set, combine code checks with LLM-as-judge, count results honestly and stop regressions in CI – using a pierogi restaurant assistant, with code in Python, TypeScript and C#.
Related articles
- LLMOps: model gateways, caching, limits, observability and costs in production
What happens to an LLM application after the demo – a gateway, prompt caching, retries and fallbacks, per-customer limits, token and cost tracking, prompt versioning and safe rollouts. With code in…
- RAG: answers grounded in your own documents
Retrieval-Augmented Generation from basics to production – chunking, hybrid search with BM25 and RRF, reranking, cited answers with Claude, evaluation and the cases where RAG is unnecessary.
- Prompt engineering: writing instructions a model will actually follow
The anatomy of a good prompt, context instead of incantations, examples, structured outputs instead of begging for JSON, effort instead of "think step by step" and prompts treated as code – with…
- Fine-tuning language models: when it pays off, LoRA and QLoRA in practice
How fine-tuning differs from prompting and RAG, when it really makes sense, how to prepare data, how LoRA and QLoRA work and how to measure whether the tuned model is better – with code in Python,…
- AI agents: a model in a loop with tools – and when a plain workflow is enough
How an agent differs from a single call and from a workflow, five workflow patterns, an agent loop with limits and an approval gate, context management, costs and security – illustrated by complaint…
Around the topic
- Your AI Product Needs Evals – Hamel’s Blog article · web · Hamel Husain
- Creating a LLM-as-a-Judge That Drives Business Results article · web · Hamel Husain
- Task-specific LLM evals that do and don't work article · web · eugeneyan.com
- How to Write Your First AI Eval - SallyAnn DeLucia, Arize AI video · youtube · AI Engineer
- promptfoo/promptfoo repo · github · promptfoo
- Intro | Promptfoo article · web · promptfoo
- Artificial Analysis: Independent LLM Evals as a Service — with George Cameron and Micah-Hill Smith podcast · apple-podcasts · Latent Space: The AI Engineer Podcast
- Production AI Engineering starts with Evals — with Ankur Goyal of Braintrust podcast · apple-podcasts · Latent Space: The AI Engineer Podcast
- openai/evals repo · github · openai
- How to Find the Agent Failures Your Evals Miss with Scott Clark podcast · apple-podcasts · The TWIML AI Podcast (formerly This Week in Machine Learning & Artificial Intelligence)
- About AI Evals article · web · Hamel Husain
- Decision models like Jev don't beat LLM-as-a-judge or traditional classifiers article · web · Dr. Rob Geada
- AI Dev 26 x SF | Ara Khan: Evals Are Broken Use Them Anyway video · youtube · DeepLearningAI
- The fastest agent in the race has the best evals podcast · apple-podcasts · The Stack Overflow Podcast
- benchflow-ai/awesome-evals repo · github · benchflow-ai
- Online Evals and Automations | Introduction to LangSmith (7/12) video · youtube · LangChain
- Agentic Evaluations Workshop - Deep Dive on the Future on Evals for Agents. video · youtube · Hugging Face
- Understand and fix Agent Framework apps with observability and evals | DEM361 video · youtube · Microsoft Developer
- Catch Agent Regressions Before You Ship: Evals for Managed Deep Agents video · youtube · LangChain
- Build an Online LLM-as-a-Judge with the LangSmith CLI and a Coding Agent video · youtube · LangChain
- confident-ai/deepeval repo · github · confident-ai