The arguments for creating a classification-based evaluator

interface CreateClassifierArgs {
    choices: ClassificationChoicesMap;
    model: LanguageModel;
    promptTemplate: PromptTemplate;
    telemetry?: TelemetryConfig;
}

Hierarchy (View Summary)

Properties

The choices to classify the example into. e.g. { "correct": 1, "incorrect": 0 }

model: LanguageModel
promptTemplate: PromptTemplate

The prompt template to use for classification

telemetry?: TelemetryConfig