The arguments for creating the correctness evaluator.
Optionalchoices?: ClassificationChoicesMapOptionalinputMapping?: ObjectMapping<RecordType>The mapping of the input to evaluate to the shape that the evaluator expects
Optionalname?: stringOptionaloptimizationDirection?: OptimizationDirectionOptionalpromptTemplate?: PromptTemplateOptionaltelemetry?: TelemetryConfigAn evaluator function that takes a CorrectnessEvaluationRecord and returns a classification result indicating whether the output is correct or incorrect.
Creates a correctness evaluator function.
This function returns an evaluator that determines whether a given output is factually accurate, complete, logically consistent, and uses precise terminology.