Skip to main content

Overview

The BestOf metric implements a king-of-the-hill tournament to compare multiple AI assistants. The first assistant becomes the initial King, and each subsequent assistant challenges the current King in a head-to-head LLM-judged comparison.

How it works

  • N-1 comparisons for N assistants (not a full bracket)
  • Order-dependent: The first assistant starts as King and defends
  • Requires at least 2 assistants per block

Usage

Your Retriever must return multiple Dataset entries with the same qa_id values but different assistant_id values. Each assistant’s response to the same questions will be compared.

Parameters

Output schema

BestOfMetric

BestOfContest