diff --git a/bun.lockb b/bun.lockb index 1481113..69b2285 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/express-api/package-lock.json b/express-api/package-lock.json index 241f107..10ce805 100644 --- a/express-api/package-lock.json +++ b/express-api/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "openai-rag-api", "dependencies": { - "@langchain/community": "^0.0.47", + "@langchain/community": "^0.0.54", "@langchain/openai": "^0.0.28", "cheerio": "^1.0.0-rc.12", "dotenv": "^16.4.5", @@ -46,11 +46,11 @@ } }, "node_modules/@langchain/community": { - "version": "0.0.47", - "resolved": "https://registry.npmjs.org/@langchain/community/-/community-0.0.47.tgz", - "integrity": "sha512-j20KhnWs16K/qxaY3QccOFMfcEmiTXN00NB1IPeO1pexRsvHL7GfqZ8rR5cOSSBfft2iuoGxaj1EZIyxh5ftgA==", + "version": "0.0.54", + "resolved": "https://registry.npmjs.org/@langchain/community/-/community-0.0.54.tgz", + "integrity": "sha512-Cw2euQbgkHz8Lox1YOtUlGhUyeQ+zxGXI4eEB2LM9qHkMrCJQwGYa7qpKnm7vgUC73T6o7ayHVW/QfbQhSs7ww==", "dependencies": { - "@langchain/core": "~0.1.56", + "@langchain/core": "~0.1.60", "@langchain/openai": "~0.0.28", "expr-eval": "^2.0.2", "flat": "^5.0.2", @@ -75,7 +75,7 @@ "@azure/search-documents": "^12.0.0", "@clickhouse/client": "^0.2.5", "@cloudflare/ai": "*", - "@datastax/astra-db-ts": "^0.1.4", + "@datastax/astra-db-ts": "^1.0.0", "@elastic/elasticsearch": "^8.4.0", "@getmetal/metal-sdk": "*", "@getzep/zep-js": "^0.9.0", @@ -85,11 +85,12 @@ "@gradientai/nodejs-sdk": "^1.2.0", "@huggingface/inference": "^2.6.4", "@mozilla/readability": "*", + "@neondatabase/serverless": "*", "@opensearch-project/opensearch": "*", "@pinecone-database/pinecone": "*", "@planetscale/database": "^1.8.0", "@premai/prem-sdk": "^0.3.25", - "@qdrant/js-client-rest": "^1.2.0", + "@qdrant/js-client-rest": "^1.8.2", "@raycast/api": "^1.55.2", "@rockset/client": "^0.9.1", "@smithy/eventstream-codec": "^2.0.5", @@ -102,7 +103,7 @@ "@tensorflow/tfjs-converter": "*", "@tensorflow/tfjs-core": "*", "@upstash/redis": "^1.20.6", - "@upstash/vector": "^1.0.2", + "@upstash/vector": "^1.0.7", "@vercel/kv": "^0.2.3", "@vercel/postgres": "^0.5.0", "@writerai/writer-sdk": "^0.40.2", @@ -126,7 +127,7 @@ "firebase-admin": "^11.9.0 || ^12.0.0", "google-auth-library": "^8.9.0", "googleapis": "^126.0.1", - "hnswlib-node": "^1.4.2", + "hnswlib-node": "^3.0.0", "html-to-text": "^9.0.5", "interface-datastore": "^8.2.11", "ioredis": "^5.3.2", @@ -222,6 +223,9 @@ "@mozilla/readability": { "optional": true }, + "@neondatabase/serverless": { + "optional": true + }, "@opensearch-project/opensearch": { "optional": true }, @@ -432,9 +436,9 @@ } }, "node_modules/@langchain/core": { - "version": "0.1.57", - "resolved": "https://registry.npmjs.org/@langchain/core/-/core-0.1.57.tgz", - "integrity": "sha512-6wOwidPkkRcANrOKl88+YYpm3jHfpg6W8EqZHQCImSAlxdEhyDSq2eeQKHOPCFCrfNWkClaNn+Wlzzz4Qwf9Tg==", + "version": "0.1.61", + "resolved": "https://registry.npmjs.org/@langchain/core/-/core-0.1.61.tgz", + "integrity": "sha512-C8OkAly+ugvXsL8TACCmFv9WTTcT4gvQaG6NbrXCOzibBCywfxxcTqEMOyg3zIKpxHEmR0DHqh0OiJRHocnsCg==", "dependencies": { "ansi-styles": "^5.0.0", "camelcase": "6", @@ -442,6 +446,7 @@ "js-tiktoken": "^1.0.8", "langsmith": "~0.1.7", "ml-distance": "^4.0.0", + "mustache": "^4.2.0", "p-queue": "^6.6.2", "p-retry": "4", "uuid": "^9.0.0", @@ -1671,6 +1676,14 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" }, + "node_modules/mustache": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/mustache/-/mustache-4.2.0.tgz", + "integrity": "sha512-71ippSywq5Yb7/tVYyGbkBggbU8H3u5Rz56fH60jGFgr8uHwxs+aSKeqmluIVzM0m0kB7xQjKS6qPfd0b2ZoqQ==", + "bin": { + "mustache": "bin/mustache" + } + }, "node_modules/negotiator": { "version": "0.6.3", "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", diff --git a/express-api/package.json b/express-api/package.json index 8929037..de9a6f8 100644 --- a/express-api/package.json +++ b/express-api/package.json @@ -9,7 +9,7 @@ "typescript": "^5.0.0" }, "dependencies": { - "@langchain/community": "^0.0.47", + "@langchain/community": "^0.0.54", "@langchain/openai": "^0.0.28", "cheerio": "^1.0.0-rc.12", "dotenv": "^16.4.5", diff --git a/package.json b/package.json index aed588a..61c07fe 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "format:check": "prettier --check \"**/*.{ts,tsx,js,jsx}\" --cache" }, "dependencies": { - "@langchain/community": "^0.0.47", + "@langchain/community": "^0.0.54", "@radix-ui/react-icons": "^1.3.0", "@radix-ui/react-label": "^2.0.2", "@radix-ui/react-separator": "^1.0.3",