Skip to main content

OVERVIEW

The following describes the request schema used to create judge evaluators in Oumi, including:
  • Metadata about the evaluator
  • Evaluation parameters
  • Model configuration
  • Scoring settings
Fields marked with (*) are required.

SCHEMA STRUCTURE


DISPLAYNAME *

Human-readable name of the evaluator.

PROPERTIES

CONSTRAINTS

EXAMPLE


JUDGE PARAMS *

Defines the evaluation parameters and scoring behavior.

PROPERTIES


EVALUATORTYPE

Defines the evaluator mechanism.

PROMPT *

Prompt provided to the evaluator model to guide scoring behavior.

CONSTRAINTS

EXAMPLE


JUDGMENTSCORES

Maps each allowed judgment label to a score from 0.0 to 1.0. The example below defines a boolean judge. Example structure:

DATAFIELDS

Defines the dataset fields that are used by the evaluator. Every evaluation example must include each configured field in its metadata. Example structure:

MODELIDENTIFIER *

Defines the model used by the evaluator. This object follows the Model Identifier schema. Example:

INFERENCECONFIG *

Defines runtime inference behavior for the evaluator model. Example:

RESPONSEFILTERMODE

Controls which parts of the model output are used for evaluation. The default is EXCLUDE_THINKING.

COMPLETE EXAMPLE