Skip to Content

SystemOneAnswerSchema

const SystemOneAnswerSchema: ZodDiscriminatedUnion<[ZodObject<{ choice: ZodString; confidence: ZodNumber; probabilities: ZodRecord<ZodString, ZodNumber>; type: ZodLiteral<"choice">; }, $strip>, ZodObject<{ confidence: ZodNumber; legend: ZodOptional<ZodRecord<ZodString, ZodString>>; probabilities: ZodRecord<ZodString, ZodNumber>; score: ZodNumber; type: ZodLiteral<"score">; }, $strip>, ZodObject<{ noul: ZodNumber; type: ZodLiteral<"noul">; }, $strip>, ZodObject<{ box: ZodObject<{ bottom: ZodNumber; left: ZodNumber; right: ZodNumber; top: ZodNumber; }, $strip>; confidence: ZodNumber; type: ZodLiteral<"box">; }, $strip>], "type">;
Last updated on