From 3493bf1a45974da4e21f458fe59c3df6c3222900 Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Thu, 11 Apr 2024 02:20:09 +0800 Subject: [PATCH] Update LangChain to further support more LLMs, cc #716 --- package-lock.json | 249 ++++++++++++++++++++++++++++++++-------------- package.json | 4 +- 2 files changed, 176 insertions(+), 77 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0afb076571..8a72fc8ea8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,7 +26,7 @@ "electron-builder": "^24.13.3", "jszip": "^3.10.1", "katex": "^0.16.10", - "langchain": "^0.1.4", + "langchain": "^0.1.32", "localforage": "^1.10.0", "material-design-icons": "^3.0.1", "prismjs": "^1.29.0", @@ -3024,21 +3024,25 @@ } }, "node_modules/@langchain/community": { - "version": "0.0.17", - "license": "MIT", + "version": "0.0.45", + "resolved": "https://registry.npmjs.org/@langchain/community/-/community-0.0.45.tgz", + "integrity": "sha512-Aumki9M+MLVAM7kEMKTIEmH9N9UeBY9lUWO2Wztf6k00iLvPE6Na/S+l/6kIAKkNjONP8V5peOkEbmwmGUah0g==", "dependencies": { - "@langchain/core": "~0.1.9", - "@langchain/openai": "~0.0.10", + "@langchain/core": "~0.1.44", + "@langchain/openai": "~0.0.19", + "expr-eval": "^2.0.2", "flat": "^5.0.2", - "langsmith": "~0.0.48", + "langsmith": "~0.1.1", "uuid": "^9.0.0", - "zod": "^3.22.3" + "zod": "^3.22.3", + "zod-to-json-schema": "^3.22.5" }, "engines": { "node": ">=18" }, "peerDependencies": { "@aws-crypto/sha256-js": "^5.0.0", + "@aws-sdk/client-bedrock-agent-runtime": "^3.485.0", "@aws-sdk/client-bedrock-runtime": "^3.422.0", "@aws-sdk/client-dynamodb": "^3.310.0", "@aws-sdk/client-kendra": "^3.352.0", @@ -3046,9 +3050,10 @@ "@aws-sdk/client-sagemaker-runtime": "^3.310.0", "@aws-sdk/client-sfn": "^3.310.0", "@aws-sdk/credential-provider-node": "^3.388.0", + "@azure/search-documents": "^12.0.0", "@clickhouse/client": "^0.2.5", - "@cloudflare/ai": "^1.0.12", - "@datastax/astra-db-ts": "0.1.2", + "@cloudflare/ai": "*", + "@datastax/astra-db-ts": "^0.1.4", "@elastic/elasticsearch": "^8.4.0", "@getmetal/metal-sdk": "*", "@getzep/zep-js": "^0.9.0", @@ -3059,8 +3064,9 @@ "@huggingface/inference": "^2.6.4", "@mozilla/readability": "*", "@opensearch-project/opensearch": "*", - "@pinecone-database/pinecone": "^1.1.0", + "@pinecone-database/pinecone": "*", "@planetscale/database": "^1.8.0", + "@premai/prem-sdk": "^0.3.25", "@qdrant/js-client-rest": "^1.2.0", "@raycast/api": "^1.55.2", "@rockset/client": "^0.9.1", @@ -3074,32 +3080,41 @@ "@tensorflow/tfjs-converter": "*", "@tensorflow/tfjs-core": "*", "@upstash/redis": "^1.20.6", + "@upstash/vector": "^1.0.2", "@vercel/kv": "^0.2.3", "@vercel/postgres": "^0.5.0", "@writerai/writer-sdk": "^0.40.2", "@xata.io/client": "^0.28.0", "@xenova/transformers": "^2.5.4", "@zilliz/milvus2-sdk-node": ">=2.2.7", + "better-sqlite3": "^9.4.0", "cassandra-driver": "^4.7.2", + "cborg": "^4.1.1", "chromadb": "*", - "closevector-common": "0.1.0-alpha.1", - "closevector-node": "0.1.0-alpha.10", - "closevector-web": "0.1.0-alpha.16", - "cohere-ai": ">=6.0.0", + "closevector-common": "0.1.3", + "closevector-node": "0.1.6", + "closevector-web": "0.1.6", + "cohere-ai": "*", "convex": "^1.3.1", + "couchbase": "^4.3.0", "discord.js": "^14.14.1", + "dria": "^0.0.3", + "duck-duck-scrape": "^2.2.5", "faiss-node": "^0.5.1", - "firebase-admin": "^11.9.0", + "firebase-admin": "^11.9.0 || ^12.0.0", "google-auth-library": "^8.9.0", "googleapis": "^126.0.1", "hnswlib-node": "^1.4.2", "html-to-text": "^9.0.5", + "interface-datastore": "^8.2.11", "ioredis": "^5.3.2", + "it-all": "^3.0.4", "jsdom": "*", + "jsonwebtoken": "^9.0.2", "llmonitor": "^0.5.9", "lodash": "^4.17.21", "lunary": "^0.6.11", - "mongodb": "^5.2.0", + "mongodb": ">=5.2.0", "mysql2": "^3.3.3", "neo4j-driver": "*", "node-llama-cpp": "*", @@ -3107,14 +3122,14 @@ "pg-copy-streams": "^6.0.5", "pickleparser": "^0.2.1", "portkey-ai": "^0.1.11", - "redis": "^4.6.4", + "redis": "*", "replicate": "^0.18.0", "typeorm": "^0.3.12", "typesense": "^1.5.3", "usearch": "^1.1.1", "vectordb": "^0.1.4", "voy-search": "0.6.2", - "weaviate-ts-client": "^1.4.0", + "weaviate-ts-client": "*", "web-auth-library": "^1.0.3", "ws": "^8.14.2" }, @@ -3122,6 +3137,9 @@ "@aws-crypto/sha256-js": { "optional": true }, + "@aws-sdk/client-bedrock-agent-runtime": { + "optional": true + }, "@aws-sdk/client-bedrock-runtime": { "optional": true }, @@ -3143,6 +3161,9 @@ "@aws-sdk/credential-provider-node": { "optional": true }, + "@azure/search-documents": { + "optional": true + }, "@clickhouse/client": { "optional": true }, @@ -3188,6 +3209,9 @@ "@planetscale/database": { "optional": true }, + "@premai/prem-sdk": { + "optional": true + }, "@qdrant/js-client-rest": { "optional": true }, @@ -3227,6 +3251,9 @@ "@upstash/redis": { "optional": true }, + "@upstash/vector": { + "optional": true + }, "@vercel/kv": { "optional": true }, @@ -3245,9 +3272,15 @@ "@zilliz/milvus2-sdk-node": { "optional": true }, + "better-sqlite3": { + "optional": true + }, "cassandra-driver": { "optional": true }, + "cborg": { + "optional": true + }, "chromadb": { "optional": true }, @@ -3266,9 +3299,18 @@ "convex": { "optional": true }, + "couchbase": { + "optional": true + }, "discord.js": { "optional": true }, + "dria": { + "optional": true + }, + "duck-duck-scrape": { + "optional": true + }, "faiss-node": { "optional": true }, @@ -3287,12 +3329,21 @@ "html-to-text": { "optional": true }, + "interface-datastore": { + "optional": true + }, "ioredis": { "optional": true }, + "it-all": { + "optional": true + }, "jsdom": { "optional": true }, + "jsonwebtoken": { + "optional": true + }, "llmonitor": { "optional": true }, @@ -3358,16 +3409,39 @@ } } }, + "node_modules/@langchain/community/node_modules/@langchain/openai": { + "version": "0.0.26", + "resolved": "https://registry.npmjs.org/@langchain/openai/-/openai-0.0.26.tgz", + "integrity": "sha512-FpqYvVRP2CkFFjTLrj2tbXeY6JTIgbq8tRoi0rvGzmhRpoi6cWHlfgclSzDm+e6P9DqKBkzDjo6SPTJgTOabNA==", + "dependencies": { + "@langchain/core": "~0.1.45", + "js-tiktoken": "^1.0.7", + "openai": "^4.32.1", + "zod": "^3.22.4", + "zod-to-json-schema": "^3.22.3" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@langchain/community/node_modules/zod-to-json-schema": { + "version": "3.22.5", + "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.22.5.tgz", + "integrity": "sha512-+akaPo6a0zpVCCseDed504KBJUQpEW5QZw7RMneNmKw+fGaML1Z9tUNLnHHAC8x6dzVRO1eB2oEMyZRnuBZg7Q==", + "peerDependencies": { + "zod": "^3.22.4" + } + }, "node_modules/@langchain/core": { - "version": "0.1.17", - "resolved": "https://registry.npmmirror.com/@langchain/core/-/core-0.1.17.tgz", - "integrity": "sha512-PNmQgyAsDFm3DsZD+Djmm+sxH8xTGMlAryhYNgTg1Wkvhh+ztCqcVVYAv+aWch8CM56FBYMD8Guq0TJuRJJxEA==", + "version": "0.1.55", + "resolved": "https://registry.npmjs.org/@langchain/core/-/core-0.1.55.tgz", + "integrity": "sha512-X08bvFp5/hVNR0xzcxT5MHKdJJZPr0IpfGSB/FPZK2dw77kaBKor0FKb80qe+pzVTgmfT9L29m/v0eph6P1deQ==", "dependencies": { "ansi-styles": "^5.0.0", "camelcase": "6", "decamelize": "1.2.0", "js-tiktoken": "^1.0.8", - "langsmith": "~0.0.48", + "langsmith": "~0.1.7", "ml-distance": "^4.0.0", "p-queue": "^6.6.2", "p-retry": "4", @@ -3380,9 +3454,9 @@ } }, "node_modules/@langchain/core/node_modules/zod-to-json-schema": { - "version": "3.22.3", - "resolved": "https://registry.npmmirror.com/zod-to-json-schema/-/zod-to-json-schema-3.22.3.tgz", - "integrity": "sha512-9isG8SqRe07p+Aio2ruBZmLm2Q6Sq4EqmXOiNpDxp+7f0LV6Q/LX65fs5Nn+FV/CzfF3NLBoksXbS2jNYIfpKw==", + "version": "3.22.5", + "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.22.5.tgz", + "integrity": "sha512-+akaPo6a0zpVCCseDed504KBJUQpEW5QZw7RMneNmKw+fGaML1Z9tUNLnHHAC8x6dzVRO1eB2oEMyZRnuBZg7Q==", "peerDependencies": { "zod": "^3.22.4" } @@ -4066,8 +4140,9 @@ "license": "MIT" }, "node_modules/@types/uuid": { - "version": "9.0.7", - "license": "MIT" + "version": "9.0.8", + "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.8.tgz", + "integrity": "sha512-jg+97EGIcY9AGHJJRaaPVgetKDsrTgbRjQ5Msgjh/DQKEFl0DtyRr/VCOyD1T2R1MNeWPK/u7JoGhlDZnKBAfA==" }, "node_modules/@types/verror": { "version": "1.10.9", @@ -5744,7 +5819,8 @@ }, "node_modules/ansi-styles": { "version": "5.2.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", "engines": { "node": ">=10" }, @@ -6533,7 +6609,8 @@ }, "node_modules/binary-search": { "version": "1.3.6", - "license": "CC0-1.0" + "resolved": "https://registry.npmjs.org/binary-search/-/binary-search-1.3.6.tgz", + "integrity": "sha512-nbE1WxOTTrUWIfsfZ4aHGYu5DOuNkbxGokjV6Z2kxfJK3uaAb8zNK1muzOeipoLHZjInT4Br88BHpzevc681xA==" }, "node_modules/bl": { "version": "4.1.0", @@ -8635,7 +8712,8 @@ }, "node_modules/decamelize": { "version": "1.2.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==", "engines": { "node": ">=0.10.0" } @@ -10425,7 +10503,8 @@ }, "node_modules/expr-eval": { "version": "2.0.2", - "license": "MIT" + "resolved": "https://registry.npmjs.org/expr-eval/-/expr-eval-2.0.2.tgz", + "integrity": "sha512-4EMSHGOPSwAfBiibw3ndnP0AvjDWLsMvGOvWEZ2F96IGk0bIVdjQisOHxReSkE13mHcfbuCiXw+G4y0zv6N8Eg==" }, "node_modules/express": { "version": "4.19.2", @@ -12359,7 +12438,8 @@ }, "node_modules/is-any-array": { "version": "2.0.1", - "license": "MIT" + "resolved": "https://registry.npmjs.org/is-any-array/-/is-any-array-2.0.1.tgz", + "integrity": "sha512-UtilS7hLRu++wb/WBAw9bNuP1Eg04Ivn1vERJck8zJthEvXCBEBpGR/33u/xLKWEQf95803oalHrVDptcAvFdQ==" }, "node_modules/is-array-buffer": { "version": "3.0.2", @@ -13219,21 +13299,20 @@ } }, "node_modules/langchain": { - "version": "0.1.4", - "resolved": "https://registry.npmmirror.com/langchain/-/langchain-0.1.4.tgz", - "integrity": "sha512-wgYt63JqwCDNrGBXHLD5javroVqCiP/+aYJEHPN+xgchEpcX881HcmhZGmZl8w4tsI0Q4Jy+3mcnV9EJlUD/2w==", + "version": "0.1.32", + "resolved": "https://registry.npmjs.org/langchain/-/langchain-0.1.32.tgz", + "integrity": "sha512-blc/6SR08XsOU01HdCGHpxAC0sH+MxM21rYY+KQVZv3QTH1mMd/u6SG3CV0mVv9iWOkgfKc1PK/Ud3OYfvOnww==", "dependencies": { "@anthropic-ai/sdk": "^0.9.1", - "@langchain/community": "~0.0.17", - "@langchain/core": "~0.1.16", - "@langchain/openai": "~0.0.12", + "@langchain/community": "~0.0.41", + "@langchain/core": "~0.1.44", + "@langchain/openai": "~0.0.26", "binary-extensions": "^2.2.0", - "expr-eval": "^2.0.2", "js-tiktoken": "^1.0.7", "js-yaml": "^4.1.0", "jsonpointer": "^5.0.1", - "langchainhub": "~0.0.6", - "langsmith": "~0.0.48", + "langchainhub": "~0.0.8", + "langsmith": "~0.1.7", "ml-distance": "^4.0.0", "openapi-types": "^12.1.3", "p-retry": "4", @@ -13255,9 +13334,9 @@ "@gomomento/sdk-core": "^1.51.1", "@gomomento/sdk-web": "^1.51.1", "@google-ai/generativelanguage": "^0.2.1", - "@google-cloud/storage": "^6.10.1", + "@google-cloud/storage": "^6.10.1 || ^7.7.0", "@notionhq/client": "^2.2.10", - "@pinecone-database/pinecone": "^1.1.0", + "@pinecone-database/pinecone": "*", "@supabase/supabase-js": "^2.10.0", "@vercel/kv": "^0.2.3", "@xata.io/client": "^0.28.0", @@ -13267,18 +13346,18 @@ "cheerio": "^1.0.0-rc.12", "chromadb": "*", "convex": "^1.3.1", + "couchbase": "^4.3.0", "d3-dsv": "^2.0.0", "epub2": "^3.0.1", - "fast-xml-parser": "^4.2.7", + "fast-xml-parser": "*", "google-auth-library": "^8.9.0", - "googleapis": "^126.0.1", "handlebars": "^4.7.8", "html-to-text": "^9.0.5", "ignore": "^5.2.0", "ioredis": "^5.3.2", "jsdom": "*", "mammoth": "^1.6.0", - "mongodb": "^5.2.0", + "mongodb": ">=5.2.0", "node-llama-cpp": "*", "notion-to-md": "^3.1.0", "officeparser": "^4.0.4", @@ -13291,12 +13370,11 @@ "sonix-speech-recognition": "^2.1.1", "srt-parser-2": "^1.2.3", "typeorm": "^0.3.12", - "vectordb": "^0.1.4", - "weaviate-ts-client": "^1.4.0", + "weaviate-ts-client": "*", "web-auth-library": "^1.0.3", "ws": "^8.14.2", "youtube-transcript": "^1.0.6", - "youtubei.js": "^5.8.0" + "youtubei.js": "^9.1.0" }, "peerDependenciesMeta": { "@aws-sdk/client-s3": { @@ -13362,6 +13440,9 @@ "convex": { "optional": true }, + "couchbase": { + "optional": true + }, "d3-dsv": { "optional": true }, @@ -13377,9 +13458,6 @@ "google-auth-library": { "optional": true }, - "googleapis": { - "optional": true - }, "handlebars": { "optional": true }, @@ -13437,9 +13515,6 @@ "typeorm": { "optional": true }, - "vectordb": { - "optional": true - }, "weaviate-ts-client": { "optional": true }, @@ -13473,6 +13548,21 @@ "web-streams-polyfill": "^3.2.1" } }, + "node_modules/langchain/node_modules/@langchain/openai": { + "version": "0.0.26", + "resolved": "https://registry.npmjs.org/@langchain/openai/-/openai-0.0.26.tgz", + "integrity": "sha512-FpqYvVRP2CkFFjTLrj2tbXeY6JTIgbq8tRoi0rvGzmhRpoi6cWHlfgclSzDm+e6P9DqKBkzDjo6SPTJgTOabNA==", + "dependencies": { + "@langchain/core": "~0.1.45", + "js-tiktoken": "^1.0.7", + "openai": "^4.32.1", + "zod": "^3.22.4", + "zod-to-json-schema": "^3.22.3" + }, + "engines": { + "node": ">=18" + } + }, "node_modules/langchain/node_modules/@types/node": { "version": "18.19.26", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.26.tgz", @@ -13497,26 +13587,26 @@ } }, "node_modules/langchainhub": { - "version": "0.0.6", - "license": "MIT" + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/langchainhub/-/langchainhub-0.0.8.tgz", + "integrity": "sha512-Woyb8YDHgqqTOZvWIbm2CaFDGfZ4NTSyXV687AG4vXEfoNo7cGQp7nhl7wL3ehenKWmNEmcxCLgOZzW8jE6lOQ==" }, "node_modules/langsmith": { - "version": "0.0.59", - "license": "MIT", + "version": "0.1.14", + "resolved": "https://registry.npmjs.org/langsmith/-/langsmith-0.1.14.tgz", + "integrity": "sha512-iEzQLLB7/0nRpAwNBAR7B7N64fyByg5UsNjSvLaCCkQ9AS68PSafjB8xQkyI8QXXrGjU1dEqDRoa8m4SUuRdUw==", "dependencies": { "@types/uuid": "^9.0.1", "commander": "^10.0.1", "p-queue": "^6.6.2", "p-retry": "4", "uuid": "^9.0.0" - }, - "bin": { - "langsmith": "dist/cli/main.cjs" } }, "node_modules/langsmith/node_modules/commander": { "version": "10.0.1", - "license": "MIT", + "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz", + "integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==", "engines": { "node": ">=14" } @@ -15239,21 +15329,24 @@ }, "node_modules/ml-array-mean": { "version": "1.1.6", - "license": "MIT", + "resolved": "https://registry.npmjs.org/ml-array-mean/-/ml-array-mean-1.1.6.tgz", + "integrity": "sha512-MIdf7Zc8HznwIisyiJGRH9tRigg3Yf4FldW8DxKxpCCv/g5CafTw0RRu51nojVEOXuCQC7DRVVu5c7XXO/5joQ==", "dependencies": { "ml-array-sum": "^1.1.6" } }, "node_modules/ml-array-sum": { "version": "1.1.6", - "license": "MIT", + "resolved": "https://registry.npmjs.org/ml-array-sum/-/ml-array-sum-1.1.6.tgz", + "integrity": "sha512-29mAh2GwH7ZmiRnup4UyibQZB9+ZLyMShvt4cH4eTK+cL2oEMIZFnSyB3SS8MlsTh6q/w/yh48KmqLxmovN4Dw==", "dependencies": { "is-any-array": "^2.0.0" } }, "node_modules/ml-distance": { "version": "4.0.1", - "license": "MIT", + "resolved": "https://registry.npmjs.org/ml-distance/-/ml-distance-4.0.1.tgz", + "integrity": "sha512-feZ5ziXs01zhyFUUUeZV5hwc0f5JW0Sh0ckU1koZe/wdVkJdGxcP06KNQuF0WBTj8FttQUzcvQcpcrOp/XrlEw==", "dependencies": { "ml-array-mean": "^1.1.6", "ml-distance-euclidean": "^2.0.0", @@ -15262,11 +15355,13 @@ }, "node_modules/ml-distance-euclidean": { "version": "2.0.0", - "license": "MIT" + "resolved": "https://registry.npmjs.org/ml-distance-euclidean/-/ml-distance-euclidean-2.0.0.tgz", + "integrity": "sha512-yC9/2o8QF0A3m/0IXqCTXCzz2pNEzvmcE/9HFKOZGnTjatvBbsn4lWYJkxENkA4Ug2fnYl7PXQxnPi21sgMy/Q==" }, "node_modules/ml-tree-similarity": { "version": "1.0.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/ml-tree-similarity/-/ml-tree-similarity-1.0.0.tgz", + "integrity": "sha512-XJUyYqjSuUQkNQHMscr6tcjldsOoAekxADTplt40QKfwW6nd++1wHWV9AArl0Zvw/TIHgNaZZNvr8QGvE8wLRg==", "dependencies": { "binary-search": "^1.3.5", "num-sort": "^2.0.0" @@ -15666,7 +15761,8 @@ }, "node_modules/num-sort": { "version": "2.1.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/num-sort/-/num-sort-2.1.0.tgz", + "integrity": "sha512-1MQz1Ed8z2yckoBeSfkQHHO9K1yDRxxtotKSJ9yvcTUUxSvfvzEq5GwBrjjHEpMlq/k5gvXdmJ1SbYxWtpNoVg==", "engines": { "node": ">=8" }, @@ -15835,14 +15931,14 @@ } }, "node_modules/openai": { - "version": "4.24.7", - "license": "Apache-2.0", + "version": "4.33.0", + "resolved": "https://registry.npmjs.org/openai/-/openai-4.33.0.tgz", + "integrity": "sha512-Sh4KvplkvkAREuhb8yZpohqsOo08cBBu6LNWLD8YyMxe8yCxbE+ouJYUs1X2oDPrzQGANj0rFNQYiwW9gWLBOg==", "dependencies": { "@types/node": "^18.11.18", "@types/node-fetch": "^2.6.4", "abort-controller": "^3.0.0", "agentkeepalive": "^4.2.1", - "digest-fetch": "^1.3.0", "form-data-encoder": "1.7.2", "formdata-node": "^4.3.2", "node-fetch": "^2.6.7", @@ -16024,7 +16120,8 @@ }, "node_modules/p-queue": { "version": "6.6.2", - "license": "MIT", + "resolved": "https://registry.npmjs.org/p-queue/-/p-queue-6.6.2.tgz", + "integrity": "sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ==", "dependencies": { "eventemitter3": "^4.0.4", "p-timeout": "^3.2.0" @@ -16038,11 +16135,13 @@ }, "node_modules/p-queue/node_modules/eventemitter3": { "version": "4.0.7", - "license": "MIT" + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==" }, "node_modules/p-queue/node_modules/p-timeout": { "version": "3.2.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-3.2.0.tgz", + "integrity": "sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==", "dependencies": { "p-finally": "^1.0.0" }, diff --git a/package.json b/package.json index 86abebb637..a522ccb1bc 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "electron-builder": "^24.13.3", "jszip": "^3.10.1", "katex": "^0.16.10", - "langchain": "^0.1.4", + "langchain": "^0.1.32", "localforage": "^1.10.0", "material-design-icons": "^3.0.1", "prismjs": "^1.29.0", @@ -110,7 +110,7 @@ ], "license": "Apache-2.0", "overrides": { - "@langchain/core": "~0.1.17", + "@langchain/core": "~0.1.55", "vue-cli-plugin-electron-builder": { "electron-builder": "^24.0.0" }