diff --git a/.changeset/curvy-penguins-work.md b/.changeset/curvy-penguins-work.md index 52ec8313e..0fcdab76c 100644 --- a/.changeset/curvy-penguins-work.md +++ b/.changeset/curvy-penguins-work.md @@ -2,4 +2,4 @@ "create-llama": patch --- -Filter private documents for Typescript (Using MetadataFilters) and update to LlamaIndexTS 0.5.6 +Filter private documents for Typescript (Using MetadataFilters) and update to LlamaIndexTS 0.5.7 diff --git a/templates/types/streaming/express/package.json b/templates/types/streaming/express/package.json index 9a3d982ad..f225502be 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.5.6", + "llamaindex": "0.5.7", "pdf2json": "3.0.5", "ajv": "^8.12.0", "@e2b/code-interpreter": "^0.0.5", diff --git a/templates/types/streaming/nextjs/package.json b/templates/types/streaming/nextjs/package.json index 8c51b50df..7cb91d79b 100644 --- a/templates/types/streaming/nextjs/package.json +++ b/templates/types/streaming/nextjs/package.json @@ -24,7 +24,7 @@ "duck-duck-scrape": "^2.2.5", "formdata-node": "^6.0.3", "got": "^14.4.1", - "llamaindex": "0.5.6", + "llamaindex": "0.5.7", "lucide-react": "^0.294.0", "next": "^14.2.4", "react": "^18.2.0", diff --git a/templates/types/streaming/nextjs/webpack.config.mjs b/templates/types/streaming/nextjs/webpack.config.mjs index 156284b3c..29decaf04 100644 --- a/templates/types/streaming/nextjs/webpack.config.mjs +++ b/templates/types/streaming/nextjs/webpack.config.mjs @@ -4,12 +4,5 @@ export default function webpack(config) { aws4: false, }; - // Following lines will fix issues with onnxruntime-node when using pnpm - // See: https://github.com/vercel/next.js/issues/43433 - config.externals.push({ - "onnxruntime-node": "commonjs onnxruntime-node", - sharp: "commonjs sharp", - }); - return config; }