diff --git a/.changeset/nasty-seas-care.md b/.changeset/nasty-seas-care.md new file mode 100644 index 0000000000000000000000000000000000000000..7072c9ccbceb001a50900140cb34f90690987632 --- /dev/null +++ b/.changeset/nasty-seas-care.md @@ -0,0 +1,5 @@ +--- +"llamaindex": patch +--- + +Add notion loader (thank you @TomPenguin!) diff --git a/apps/simple/notion.ts b/apps/simple/notion.ts index 685c237bce76f13d9ab4fdca53669d1d1eb6a47f..7bbe065f46be2bc9703672d2ce95ce607080d86a 100644 --- a/apps/simple/notion.ts +++ b/apps/simple/notion.ts @@ -1,9 +1,9 @@ import { Client } from "@notionhq/client"; import { program } from "commander"; import { NotionReader, VectorStoreIndex } from "llamaindex"; +import { stdin as input, stdout as output } from "node:process"; // readline/promises is still experimental so not in @types/node yet // @ts-ignore -import { stdin as input, stdout as output } from "node:process"; import readline from "node:readline/promises"; program