Kizuki
    Preparing search index...

    Interface TeachCheckInput

    What the teach-back guard needs to check the model's questions.

    interface TeachCheckInput {
        corrections: { passageId: string; quote: string }[];
        labelFor: (passageId: string) => string;
        passages: {
            location: {
                cells?: string;
                heading?: string;
                notes?: boolean;
                page?: number;
                paragraph?: number;
                sheet?: string;
                slide?: number;
            };
            materialId: string;
            ordinal: number;
            passageId: string;
            sectionId: string;
            text: string;
        }[];
        previous: {
            kind: "contradiction"
            | "gap"
            | "unclear";
            questionId: string;
            quote?: { passageId: string; text: string };
            term?: string;
            text: string;
        }[];
        refs: Map<string, SentenceRef>;
        studentText: string;
    }
    Index
    corrections: { passageId: string; quote: string }[]

    Text you corrected. A question may not quote it, because your correction wins.

    labelFor: (passageId: string) => string

    Describes where a passage is, such as "Page 4 of ch1.pdf".

    passages: {
        location: {
            cells?: string;
            heading?: string;
            notes?: boolean;
            page?: number;
            paragraph?: number;
            sheet?: string;
            slide?: number;
        };
        materialId: string;
        ordinal: number;
        passageId: string;
        sectionId: string;
        text: string;
    }[]

    The passages shown to the model. A quoted sentence must be found word for word in its passage here.

    previous: {
        kind: "contradiction" | "gap" | "unclear";
        questionId: string;
        quote?: { passageId: string; text: string };
        term?: string;
        text: string;
    }[]

    The questions asked in earlier rounds of this session. A question that repeats one is dropped.

    Type Declaration

    • kind: "contradiction" | "gap" | "unclear"
    • questionId: string
    • Optionalquote?: { passageId: string; text: string }

      Set for contradiction and gap questions.

    • Optionalterm?: string

      Set for unclear questions: words taken from your own explanation.

    • text: string
    refs: Map<string, SentenceRef>

    The sentences shown to the model, by label (S1, S2, and so on).

    studentText: string

    Your own words only: the explanation and your answers. Terms must come from here.