From 5bb55bcc7d3003f4925d7055d7641e962e0c9aa8 Mon Sep 17 00:00:00 2001
From: Yi Ding <yi.s.ding@gmail.com>
Date: Sat, 2 Sep 2023 12:14:30 -0700
Subject: [PATCH] changeset and bug fix

---
 .changeset/nasty-seas-care.md | 5 +++++
 apps/simple/notion.ts         | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)
 create mode 100644 .changeset/nasty-seas-care.md

diff --git a/.changeset/nasty-seas-care.md b/.changeset/nasty-seas-care.md
new file mode 100644
index 000000000..7072c9ccb
--- /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 685c237bc..7bbe065f4 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
-- 
GitLab