diff --git a/.changeset/itchy-peas-obey.md b/.changeset/itchy-peas-obey.md new file mode 100644 index 000000000..fbcc0bfdd --- /dev/null +++ b/.changeset/itchy-peas-obey.md @@ -0,0 +1,5 @@ +--- +"create-llama": patch +--- + +feat: bump LITS 0.8.2 diff --git a/templates/components/loaders/typescript/file/loader.ts b/templates/components/loaders/typescript/file/loader.ts index 1c01a4770..85deb47d9 100644 --- a/templates/components/loaders/typescript/file/loader.ts +++ b/templates/components/loaders/typescript/file/loader.ts @@ -1,7 +1,7 @@ import { FILE_EXT_TO_READER, SimpleDirectoryReader, -} from "llamaindex/readers/SimpleDirectoryReader"; +} from "llamaindex/readers/index"; export const DATA_DIR = "./data"; diff --git a/templates/components/loaders/typescript/llama_parse/loader.ts b/templates/components/loaders/typescript/llama_parse/loader.ts index 916c5867e..731f1be27 100644 --- a/templates/components/loaders/typescript/llama_parse/loader.ts +++ b/templates/components/loaders/typescript/llama_parse/loader.ts @@ -2,7 +2,7 @@ import { LlamaParseReader } from "llamaindex"; import { FILE_EXT_TO_READER, SimpleDirectoryReader, -} from "llamaindex/readers/SimpleDirectoryReader"; +} from "llamaindex/readers/index"; export const DATA_DIR = "./data"; diff --git a/templates/types/streaming/express/package.json b/templates/types/streaming/express/package.json index 8d59ae7a8..11747f1f1 100644 --- a/templates/types/streaming/express/package.json +++ b/templates/types/streaming/express/package.json @@ -20,7 +20,7 @@ "dotenv": "^16.3.1", "duck-duck-scrape": "^2.2.5", "express": "^4.18.2", - "llamaindex": "0.7.10", + "llamaindex": "0.8.2", "pdf2json": "3.0.5", "ajv": "^8.12.0", "@e2b/code-interpreter": "0.0.9-beta.3", diff --git a/templates/types/streaming/nextjs/package.json b/templates/types/streaming/nextjs/package.json index 3a9de9ffd..e1aa94b0a 100644 --- a/templates/types/streaming/nextjs/package.json +++ b/templates/types/streaming/nextjs/package.json @@ -26,7 +26,7 @@ "duck-duck-scrape": "^2.2.5", "formdata-node": "^6.0.3", "got": "^14.4.1", - "llamaindex": "0.7.10", + "llamaindex": "0.8.2", "lucide-react": "^0.294.0", "next": "^14.2.4", "react": "^18.2.0",