diff --git a/package-lock.json b/package-lock.json index e401f2e..7dbf895 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ "body-parser": "^1.20.2", "cors": "^2.8.5", "express": "^4.18.2", - "langchain": "^0.0.68", + "langchain": "^0.0.81", "source-map-support": "^0.5.21" }, "devDependencies": { @@ -1175,11 +1175,6 @@ "node": ">=14.0.0" } }, - "node_modules/@dqbd/tiktoken": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/@dqbd/tiktoken/-/tiktoken-1.0.7.tgz", - "integrity": "sha512-bhR5k5W+8GLzysjk8zTMVygQZsgvf7W1F0IlL4ZQ5ugjo5rCyiwGM5d8DYriXspytfu98tv59niang3/T+FoDw==" - }, "node_modules/@esbuild/android-arm": { "version": "0.17.18", "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.17.18.tgz", @@ -3360,7 +3355,6 @@ "version": "1.5.1", "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "dev": true, "funding": [ { "type": "github", @@ -3641,11 +3635,6 @@ "node": ">=8" } }, - "node_modules/browser-or-node": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/browser-or-node/-/browser-or-node-2.1.1.tgz", - "integrity": "sha512-8CVjaLJGuSKMVTxJ2DpBl5XnlNDiT4cQFeuCJJrvJmts9YrTZDizTX7PjC2s6W4x+MBGZeEY6dGMrF04/6Hgqg==" - }, "node_modules/buffer": { "version": "4.9.2", "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", @@ -6682,7 +6671,7 @@ "version": "5.2.4", "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", - "dev": true, + "devOptional": true, "engines": { "node": ">= 4" } @@ -7227,6 +7216,14 @@ "node": ">= 0.8" } }, + "node_modules/js-tiktoken": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/js-tiktoken/-/js-tiktoken-1.0.6.tgz", + "integrity": "sha512-lxHntEupgjWvSh37WxpAW4XN6UBXBtFJOpZZq5HN5oNjDfN7L/iJhHOKjyL/DFtuYXUwn5jfTciLtOWpgQmHjQ==", + "dependencies": { + "base64-js": "^1.5.1" + } + }, "node_modules/js-yaml": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", @@ -7491,17 +7488,16 @@ } }, "node_modules/langchain": { - "version": "0.0.68", - "resolved": "https://registry.npmjs.org/langchain/-/langchain-0.0.68.tgz", - "integrity": "sha512-lp7BshAa2BZfayEi/HSZr7d/D3tAM2FYdLgcnbSqM2/NB565435C+mnY5QoKMVYCFukgD4/28AbPvT7xSSfgtw==", + "version": "0.0.81", + "resolved": "https://registry.npmjs.org/langchain/-/langchain-0.0.81.tgz", + "integrity": "sha512-G4UOijTSA4Q8Anqn2Hdq3P4c2w2zJryAffh90kS5x2Lv+MugM/vPPcZXy9y3kZIET7Hdj/KTpkFOCofejpvWHA==", "dependencies": { "@anthropic-ai/sdk": "^0.4.3", - "@dqbd/tiktoken": "^1.0.7", "ansi-styles": "^5.0.0", "binary-extensions": "^2.2.0", - "browser-or-node": "^2.1.1", "expr-eval": "^2.0.2", "flat": "^5.0.2", + "js-tiktoken": "^1.0.6", "jsonpointer": "^5.0.1", "ml-distance": "^4.0.0", "object-hash": "^3.0.0", @@ -7517,8 +7513,11 @@ "node": ">=18" }, "peerDependencies": { + "@aws-sdk/client-dynamodb": "^3.310.0", "@aws-sdk/client-lambda": "^3.310.0", "@aws-sdk/client-s3": "^3.310.0", + "@aws-sdk/client-sagemaker-runtime": "^3.310.0", + "@clickhouse/client": "^0.0.14", "@getmetal/metal-sdk": "*", "@huggingface/inference": "^1.5.1", "@opensearch-project/opensearch": "*", @@ -7527,18 +7526,24 @@ "@tensorflow-models/universal-sentence-encoder": "*", "@tensorflow/tfjs-converter": "*", "@tensorflow/tfjs-core": "*", - "@zilliz/milvus2-sdk-node": "^2.2.0", + "@zilliz/milvus2-sdk-node": ">=2.2.7", + "apify-client": "^2.7.1", "axios": "*", "cheerio": "^1.0.0-rc.12", - "chromadb": "^1.4.0", + "chromadb": "^1.4.2", "cohere-ai": "^5.0.2", "d3-dsv": "^2.0.0", "epub2": "^3.0.1", + "faiss-node": "^0.1.1", + "google-auth-library": "^8.8.0", "hnswlib-node": "^1.4.2", "html-to-text": "^9.0.5", + "ignore": "^5.2.0", "mammoth": "*", + "meriyah": "*", "mongodb": "^5.2.0", "pdf-parse": "1.1.1", + "pickleparser": "^0.1.0", "playwright": "^1.32.1", "puppeteer": "^19.7.2", "redis": "^4.6.4", @@ -7548,12 +7553,21 @@ "weaviate-ts-client": "^1.0.0" }, "peerDependenciesMeta": { + "@aws-sdk/client-dynamodb": { + "optional": true + }, "@aws-sdk/client-lambda": { "optional": true }, "@aws-sdk/client-s3": { "optional": true }, + "@aws-sdk/client-sagemaker-runtime": { + "optional": true + }, + "@clickhouse/client": { + "optional": true + }, "@getmetal/metal-sdk": { "optional": true }, @@ -7581,6 +7595,9 @@ "@zilliz/milvus2-sdk-node": { "optional": true }, + "apify-client": { + "optional": true + }, "axios": { "optional": true }, @@ -7599,21 +7616,36 @@ "epub2": { "optional": true }, + "faiss-node": { + "optional": true + }, + "google-auth-library": { + "optional": true + }, "hnswlib-node": { "optional": true }, "html-to-text": { "optional": true }, + "ignore": { + "optional": true + }, "mammoth": { "optional": true }, + "meriyah": { + "optional": true + }, "mongodb": { "optional": true }, "pdf-parse": { "optional": true }, + "pickleparser": { + "optional": true + }, "playwright": { "optional": true }, diff --git a/package.json b/package.json index 9d23bc9..9a87f31 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "body-parser": "^1.20.2", "cors": "^2.8.5", "express": "^4.18.2", - "langchain": "^0.0.68", + "langchain": "^0.0.81", "source-map-support": "^0.5.21" }, "devDependencies": {