Kizuki
    Preparing search index...

    Function askQuestions

    • Chooses the next round of questions. With no passages at all, it returns notInMaterial without asking the model. notes holds your corrections and readings per passage; the model sees them under the passage.

      Parameters

      • input: {
            ask: Ask;
            conceptName: string;
            corrections: { passageId: string; quote: string }[];
            labelFor: (passageId: string) => string;
            notes: Map<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;
            }[];
            studentText: string;
            transcript?: string;
        }

      Returns Promise<
          {
              dropped: number;
              notInMaterial: boolean;
              questions: {
                  kind: "contradiction"
                  | "gap"
                  | "unclear";
                  questionId: string;
                  quote?: { passageId: string; text: string };
                  term?: string;
                  text: string;
              }[];
          },
      >