Kizuki
    Preparing search index...

    Function proposeConcepts

    • Proposes concepts for a material: first one per real heading (headingConcepts), then the model's, batch by batch, keeping only those that pass validateConceptReply and are not already there.

      Parameters

      • input: {
            ask: Ask;
            existingNames: Set<string>;
            maxBatchChars?: number;
            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;
            }[];
            sections: {
                heading?: boolean;
                level: number;
                ordinal: number;
                sectionId: string;
                title: string;
            }[];
        }

      Returns Promise<
          {
              concepts: CheckedConcept[];
              dropped: number;
              unclear: CheckedUnclear[];
          },
      >