Variable aIEvaluationAnswerScoreSchemaConst
aIEvaluationAnswerScoreSchema: ZodObject<
{
confidence: ZodOptional<ZodNumber>;
id: ZodString;
legend: ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>;
probabilities: ZodRecord<
ZodString,
ZodType<{} | null, ZodTypeDef, {} | null>,
>;
score: ZodNumber;
type: ZodLiteral<"score">;
},
"strip",
ZodTypeAny,
{
confidence?: number;
id: string;
legend: Record<string, {} | null>;
probabilities: Record<string, {} | null>;
score: number;
type: "score";
},
{
confidence?: number;
id: string;
legend: Record<string, {} | null>;
probabilities: Record<string, {} | null>;
score: number;
type: "score";
},
> = ...
Runtime validator for AIEvaluationAnswerScore.