Skip to content
StackDecode
System Design
19. AI System Design and LLM InfrastructureAnimated

LLM Evaluation Frameworks

Measuring the quality of LLM output.

The idea

Use test sets, automated metrics, LLM judges and human review.

Watch it work

Press play, pause, or step through. Some animations have settings you can change.

Test setModel/promptJudge (rules/LL…Report
  • client
  • gateway / proxy
  • service
  • cache
  • data store
  • queue / stream

Collect representative test cases with expected behaviour.

step:
1/4
at:
Test set
1/7

The green dot is a request moving through the system.

Step by step

  1. 1Build an evaluation set
  2. 2Run the system
  3. 3Score outputs
  4. 4Compare versions

Where it is used

Safe releases.

Watch out for

Judges have biases. Calibrate with humans.

Related