Class: NotionReader
Notion pages are retrieved recursively and converted to Document objects. Notion Database can also be loaded, and the serialization method can be customized.
[Note] To use this reader, must be created the Notion integration must be created in advance Please refer to this document for details.
Implements
Constructors
constructor
• new NotionReader(options
): NotionReader
Constructor for the NotionReader class
Parameters
Name | Type | Description |
---|---|---|
options | NotionReaderOptions | Configuration options for the reader |
Returns
Defined in
packages/core/src/readers/NotionReader.ts:22
Properties
crawl
• Private
Readonly
crawl: (rootPageId
: string
) => AsyncGenerator
<CrawlingResult
<{}>, any
, unknown
>
Type declaration
▸ (rootPageId
): AsyncGenerator
<CrawlingResult
<{}>, any
, unknown
>
Parameters
Name | Type |
---|---|
rootPageId | string |
Returns
AsyncGenerator
<CrawlingResult
<{}>, any
, unknown
>