A class that extends the BaseDocumentLoader class. It represents a document loader for loading documents from Notion using the Notion API.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

pageQueueTotal: number

Methods

  • Loads the documents from Notion based on the specified options.

    Returns Promise<Document<Record<string, any>>[]>

    A Promise that resolves to an array of Documents.

  • Loads the documents and splits them using a specified text splitter.

    Parameters

    Returns Promise<Document<Record<string, any>>[]>

    A Promise that resolves with an array of Document instances, each split according to the provided TextSplitter.

Generated using TypeDoc