OVERVIEW
This document describes the schema used to configure an evaluation. The recipe defines:- The model being evaluated
- The evaluators (judges) used
- Inference settings
- The dataset used for evaluation
- Optional failure mode analysis
Fields marked with (*) are required.
SCHEMA STRUCTURE
REQUEST
Request used to create an evaluation recipe.RECIPECONFIG *
Configuration describing the recipe.ALLOWED VALUES
EVALUATIONCONFIG *
Defines how the model evaluation should run.EVALUATIONTYPE
Defines the evaluation approach.MODELIDENTIFIER *
Specifies the model being evaluated.MODELTYPE
Supported model providers.APIKEYS
Optional API credentials if not using platform credentials.EVALUATORS *
List of evaluators used during evaluation.EXAMPLE
INFERENCECONFIG *
Defines inference parameters for the evaluated model.DATASET *
Defines the dataset used for evaluation.HARNESS
Selects the registered harness that runs the agent’s assistant turns for each dataset row.
Harness evaluations always generate new responses.
skipInference cannot be true, forceInference cannot be false, and tool implementations cannot be attached. See Evaluate with a harness.
GENERATEFAILUREMODES *
Controls failure analysis generation.
Failure modes may include:
- hallucination
- incorrect reasoning
- missing information
- formatting errors
COMPLETE EXAMPLE
VALIDATION RULES
- You must provide at least one evaluator
recipeConfig.typemust equalevaluateevaluationTypemust equalsingle_model- Hosted and pretrained models require
modelName - Custom models require
modelId modelTypemust match one of the supported providersdatasetIdmust reference a valid datasetgenerateFailureModesmust be a boolean