@archastro/sdk
    Preparing search index...

    Variable aIEvaluationResultSchemaConst

    aIEvaluationResultSchema: ZodObject<
        {
            answers: ZodArray<
                ZodDiscriminatedUnion<
                    "type",
                    [
                        ZodObject<
                            {
                                id: ZodString;
                                probability: ZodNumber;
                                type: ZodLiteral<"boolean">;
                            },
                            "strip",
                            ZodTypeAny,
                            { id: string; probability: number; type: "boolean" },
                            { id: string; probability: number; type: "boolean" },
                        >,
                        ZodObject<
                            {
                                choice: ZodString;
                                confidence: ZodOptional<ZodNumber>;
                                id: ZodString;
                                probabilities: ZodRecord<
                                    ZodString,
                                    ZodType<{} | null, ZodTypeDef, {} | null>,
                                >;
                                type: ZodLiteral<"choice">;
                            },
                            "strip",
                            ZodTypeAny,
                            {
                                choice: string;
                                confidence?: number;
                                id: string;
                                probabilities: Record<string, {} | null>;
                                type: "choice";
                            },
                            {
                                choice: string;
                                confidence?: number;
                                id: string;
                                probabilities: Record<string, {} | null>;
                                type: "choice";
                            },
                        >,
                        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";
                            },
                        >,
                    ],
                >,
                "many",
            >;
            model: ZodString;
            session_id: ZodOptional<ZodString>;
            usage: ZodOptional<
                ZodObject<
                    {
                        input_tokens: ZodOptional<ZodNumber>;
                        output_tokens: ZodOptional<ZodNumber>;
                    },
                    "strip",
                    ZodTypeAny,
                    { input_tokens?: number; output_tokens?: number },
                    { input_tokens?: number; output_tokens?: number },
                >,
            >;
        },
        "strip",
        ZodTypeAny,
        {
            answers: (
                | { id: string; probability: number; type: "boolean" }
                | {
                    choice: string;
                    confidence?: number;
                    id: string;
                    probabilities: Record<string, {} | null>;
                    type: "choice";
                }
                | {
                    confidence?: number;
                    id: string;
                    legend: Record<string, {} | null>;
                    probabilities: Record<string, {} | null>;
                    score: number;
                    type: "score";
                }
            )[];
            model: string;
            session_id?: string;
            usage?: { input_tokens?: number; output_tokens?: number };
        },
        {
            answers: (
                | { id: string; probability: number; type: "boolean" }
                | {
                    choice: string;
                    confidence?: number;
                    id: string;
                    probabilities: Record<string, {} | null>;
                    type: "choice";
                }
                | {
                    confidence?: number;
                    id: string;
                    legend: Record<string, {} | null>;
                    probabilities: Record<string, {} | null>;
                    score: number;
                    type: "score";
                }
            )[];
            model: string;
            session_id?: string;
            usage?: { input_tokens?: number; output_tokens?: number };
        },
    > = ...

    Runtime validator for AIEvaluationResult.