Skip to main content
Real-world recipes for the most common evaluation scenarios. Each pattern is a complete, copy-paste example.

Catch a Hallucinating Chatbot

Your chatbot generates medical advice. You need to verify it doesn’t make up dosages or contradict source material.
When to use augmentation: If your heuristic scores are too noisy, add an LLM to refine:

Evaluate Your RAG Pipeline

Figure out WHERE your RAG fails — is it retrieval or generation?

Block Prompt Injection in Real Time

Add a <10ms security layer before your LLM processes user input:

Verify AI Image Descriptions

Your e-commerce AI generates product descriptions from photos. Verify they match the actual image.

Check Audio Transcription Quality

Verify that your speech-to-text output actually matches the audio:

Auto-Generate Evaluation Criteria

Don’t know what criteria to use? Describe what you want to evaluate and let the LLM write the rubric:
This is useful when you’re prototyping and don’t want to invest time writing rubrics yet.

Evaluate Agent Trajectories

Check if your AI agent completed tasks correctly and safely:

Build an Evaluation Pipeline

Run multiple evaluations on the same output and aggregate results:

Wire Evals into CI/CD

Add evaluation gates to your deployment pipeline:

Monitor Quality with OpenTelemetry

Attach evaluation scores to your existing traces: