diff --git a/package-lock.json b/package-lock.json index 2102aa3ab..38cafdb95 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4558,33 +4558,6 @@ "node": ">=10" } }, - "node_modules/@langchain/azure-openai": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/@langchain/azure-openai/-/azure-openai-0.0.6.tgz", - "integrity": "sha512-YhEpHANb/2vLL1m10NJ1998NxlDkGqxXzK9yyuwFQPGEfObd3N62P6ef+hjjG2RRCDP288wbhfs4T/OAdeIsIw==", - "deprecated": "This package is now deprecated in favor of the new Azure integration in the OpenAI SDK. Please use the @langchain/openai package instead.", - "license": "MIT", - "dependencies": { - "@azure/core-auth": "^1.5.0", - "@azure/openai": "1.0.0-beta.11", - "@langchain/core": "~0.1.9", - "js-tiktoken": "^1.0.7", - "zod": "^3.22.3", - "zod-to-json-schema": "3.20.3" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@langchain/azure-openai/node_modules/zod-to-json-schema": { - "version": "3.20.3", - "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.20.3.tgz", - "integrity": "sha512-/Q3wnyxAfCt94ZcrGiXXoiAfRqasxl9CX64LZ9fj+4dKH68zulUtU0uk1WMxQPfAxQ0ZI70dKzcoW7hHj+DwSQ==", - "license": "ISC", - "peerDependencies": { - "zod": "^3.20.0" - } - }, "node_modules/@langchain/core": { "version": "0.1.63", "resolved": "https://registry.npmjs.org/@langchain/core/-/core-0.1.63.tgz", @@ -41674,7 +41647,7 @@ "dotenv": "^16.4.5", "front-matter": "^4.0.2", "jira-client": "^8.2.2", - "mongodb-rag-core": "^0.3.0", + "mongodb-rag-core": "^0.4.0", "papaparse": "^5.4.1", "yaml": "^2.3.1", "yargs": "^17", @@ -41868,24 +41841,6 @@ "dev": true, "license": "MIT" }, - "packages/mongodb-artifact-generator/node_modules/@types/whatwg-url": { - "version": "11.0.5", - "resolved": "https://registry.npmjs.org/@types/whatwg-url/-/whatwg-url-11.0.5.tgz", - "integrity": "sha512-coYR071JRaHa+xoEvvYqvnIHaVqaYrLPbsufM9BF63HkwI5Lgmy2QR8Q5K/lYDYo5AK82wOvSOS0UsLTpTG7uQ==", - "license": "MIT", - "dependencies": { - "@types/webidl-conversions": "*" - } - }, - "packages/mongodb-artifact-generator/node_modules/bson": { - "version": "6.8.0", - "resolved": "https://registry.npmjs.org/bson/-/bson-6.8.0.tgz", - "integrity": "sha512-iOJg8pr7wq2tg/zSlCCHMi3hMm5JTOxLTagf3zxhcenHsFp+c6uOs6K7W5UE7A4QIJGtqh/ZovFNMP4mOPJynQ==", - "license": "Apache-2.0", - "engines": { - "node": ">=16.20.1" - } - }, "packages/mongodb-artifact-generator/node_modules/cliui": { "version": "8.0.1", "license": "ISC", @@ -41902,89 +41857,6 @@ "version": "8.0.0", "license": "MIT" }, - "packages/mongodb-artifact-generator/node_modules/mongodb": { - "version": "6.8.0", - "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.8.0.tgz", - "integrity": "sha512-HGQ9NWDle5WvwMnrvUxsFYPd3JEbqD3RgABHBQRuoCEND0qzhsd0iH5ypHsf1eJ+sXmvmyKpP+FLOKY8Il7jMw==", - "license": "Apache-2.0", - "dependencies": { - "@mongodb-js/saslprep": "^1.1.5", - "bson": "^6.7.0", - "mongodb-connection-string-url": "^3.0.0" - }, - "engines": { - "node": ">=16.20.1" - }, - "peerDependencies": { - "@aws-sdk/credential-providers": "^3.188.0", - "@mongodb-js/zstd": "^1.1.0", - "gcp-metadata": "^5.2.0", - "kerberos": "^2.0.1", - "mongodb-client-encryption": ">=6.0.0 <7", - "snappy": "^7.2.2", - "socks": "^2.7.1" - }, - "peerDependenciesMeta": { - "@aws-sdk/credential-providers": { - "optional": true - }, - "@mongodb-js/zstd": { - "optional": true - }, - "gcp-metadata": { - "optional": true - }, - "kerberos": { - "optional": true - }, - "mongodb-client-encryption": { - "optional": true - }, - "snappy": { - "optional": true - }, - "socks": { - "optional": true - } - } - }, - "packages/mongodb-artifact-generator/node_modules/mongodb-connection-string-url": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/mongodb-connection-string-url/-/mongodb-connection-string-url-3.0.1.tgz", - "integrity": "sha512-XqMGwRX0Lgn05TDB4PyG2h2kKO/FfWJyCzYQbIhXUxz7ETt0I/FqHjUeqj37irJ+Dl1ZtU82uYyj14u2XsZKfg==", - "license": "Apache-2.0", - "dependencies": { - "@types/whatwg-url": "^11.0.2", - "whatwg-url": "^13.0.0" - } - }, - "packages/mongodb-artifact-generator/node_modules/mongodb-rag-core": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/mongodb-rag-core/-/mongodb-rag-core-0.3.1.tgz", - "integrity": "sha512-wmlUtfYUTlsvdYWeTfNA2VAWZ35JB0W1U96u9yEybIjKbWqB+hmZVkehd7zmHIrW7iGeaPKPZjctRlJ0gC6k0g==", - "license": "Apache-2.0", - "dependencies": { - "@azure/openai": "^1.0.0-beta.5", - "@langchain/azure-openai": "^0.0.6", - "@langchain/core": "^0.1.53", - "common-tags": "^1", - "dotenv": "^16.3.1", - "exponential-backoff": "^3.1.1", - "front-matter": "^4.0.2", - "gray-matter": "^4.0.3", - "mongodb": "^6.3.0", - "openai": "^3", - "toml": "^3.0.0", - "typechat": "^0.0.10", - "winston": "^3", - "yaml": "^2.3.1", - "zod": "^3.21.4" - }, - "engines": { - "node": ">=18", - "npm": ">=8" - } - }, "packages/mongodb-artifact-generator/node_modules/string-width": { "version": "4.2.3", "license": "MIT", @@ -41997,19 +41869,6 @@ "node": ">=8" } }, - "packages/mongodb-artifact-generator/node_modules/whatwg-url": { - "version": "13.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-13.0.0.tgz", - "integrity": "sha512-9WWbymnqj57+XEuqADHrCJ2eSXzn8WXIW/YSGaZtb2WKAInQ6CHfaUUcTyyver0p8BDg5StLQq8h1vtZuwmOig==", - "license": "MIT", - "dependencies": { - "tr46": "^4.1.1", - "webidl-conversions": "^7.0.0" - }, - "engines": { - "node": ">=16" - } - }, "packages/mongodb-artifact-generator/node_modules/wrap-ansi": { "version": "7.0.0", "license": "MIT", diff --git a/packages/mongodb-artifact-generator/package.json b/packages/mongodb-artifact-generator/package.json index 6c15ac139..b40334b0a 100644 --- a/packages/mongodb-artifact-generator/package.json +++ b/packages/mongodb-artifact-generator/package.json @@ -57,7 +57,7 @@ "dotenv": "^16.4.5", "front-matter": "^4.0.2", "jira-client": "^8.2.2", - "mongodb-rag-core": "^0.3.0", + "mongodb-rag-core": "*", "papaparse": "^5.4.1", "yaml": "^2.3.1", "yargs": "^17",