Class Eval<INPUT,OUTPUT>

java.lang.Object
dev.braintrust.eval.Eval<INPUT,OUTPUT>
Type Parameters:
INPUT - The type of input data for the evaluation
OUTPUT - The type of output produced by the task

public final class Eval<INPUT,OUTPUT> extends Object
An evaluation framework for testing AI models.
  • Method Details

    • run

      public Eval<INPUT,OUTPUT>.Result run()
      Runs the evaluation and returns results.
    • builder

      public static <INPUT, OUTPUT> Eval.Builder<INPUT,OUTPUT> builder()
      Creates a new eval builder.