Kizuki
    Preparing search index...

    Function extract

    • Reads the text out of a file, with its sections and where each passage came from. Throws if the file has no readable text, such as a scanned PDF.

      Parameters

      • format: "pdf" | "pptx" | "docx" | "xlsx" | "csv" | "md" | "txt"
      • bytes: Uint8Array
      • fileName: string

      Returns Promise<Extracted>