Skip to main content

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


RECIPE *

Root object containing the evaluation configuration.

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 judge evaluators used during evaluation.

EXAMPLE


INFERENCECONFIG *

Defines inference parameters for the evaluated model.

DATASET *

Defines the dataset used for evaluation.

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.type must equal evaluate
  • evaluationType must equal single_model
  • modelName is required
  • modelType must match one of the supported providers
  • datasetId must reference a valid dataset
  • generateFailureModes must be a boolean