Kizuki
    Preparing search index...

    Variable teachReplySchemaConst

    teachReplySchema: ZodObject<
        {
            questions: ZodArray<
                ZodObject<
                    {
                        kind: ZodEnum<
                            { contradiction: "contradiction"; gap: "gap"; unclear: "unclear" },
                        >;
                        sentence: ZodString;
                        term: ZodString;
                    },
                    $strip,
                >,
            >;
        },
        $strip,
    > = ...

    The shape the model must reply in when choosing questions. The model only picks the kind, a sentence label, and (for unclear and contradiction questions) words from your own text. Kizuki looks up the sentence and writes the question itself with renderQuestion.