Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

langchain[patch],community[patch]: Loosen peer deps #5583

Merged
merged 5 commits into from
May 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions langchain/langchain.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ export const config = {
"notion-to-md/build/utils/notion.js",
"firebase-admin/app",
"firebase-admin/firestore",
"web-auth-library/google",
"@google-ai/generativelanguage/build/protos/protos.js",
"web-auth-library/google"
],
entrypoints: {
load: "load/index",
Expand Down
7 changes: 1 addition & 6 deletions langchain/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "langchain",
"version": "0.2.2",
"version": "0.2.3-rc.0",
"description": "Typescript bindings for langchain",
"type": "module",
"engines": {
Expand Down Expand Up @@ -600,7 +600,6 @@
"@faker-js/faker": "^7.6.0",
"@gomomento/sdk": "^1.51.1",
"@gomomento/sdk-core": "^1.51.1",
"@google-ai/generativelanguage": "^2.5.0",
"@jest/globals": "^29.5.0",
"@langchain/cohere": "^0.0.8",
"@langchain/scripts": "~0.0.14",
Expand Down Expand Up @@ -687,7 +686,6 @@
"@gomomento/sdk": "^1.51.1",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! I noticed that the dependency for "@google-ai/generativelanguage" has been changed from a specific version range to accepting any version. This may impact the peer/dev/hard dependencies of the project. I've flagged this for your review. Keep up the great work!

"@gomomento/sdk-core": "^1.51.1",
"@gomomento/sdk-web": "^1.51.1",
"@google-ai/generativelanguage": "^2.5.0",
"@mendable/firecrawl-js": "^0.0.13",
"@notionhq/client": "^2.2.10",
"@pinecone-database/pinecone": "*",
Expand Down Expand Up @@ -757,9 +755,6 @@
"@gomomento/sdk-web": {
"optional": true
},
"@google-ai/generativelanguage": {
"optional": true
},
"@mendable/firecrawl-js": {
"optional": true
},
Expand Down
1 change: 1 addition & 0 deletions libs/langchain-community/langchain.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export const config = {
"pdf-parse/lib/pdf.js/v1.10.100/build/pdf.js",
"web-auth-library/google",
"notion-to-md/build/utils/notion.js",
"@getzep/zep-cloud/api"
],
entrypoints: {
load: "load/index",
Expand Down
10 changes: 5 additions & 5 deletions libs/langchain-community/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@langchain/community",
"version": "0.2.3",
"version": "0.2.4-rc.1",
"description": "Third-party integrations for LangChain.js",
"type": "module",
"engines": {
Expand Down Expand Up @@ -46,7 +46,7 @@
"expr-eval": "^2.0.2",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! I noticed that the langchain package version has been updated from a flexible "~0.2.0" to a specific "0.2.3-rc.0". This might impact the project's dependencies, so I'm flagging this for the maintainers to review. Great work on the PR!

"flat": "^5.0.2",
"js-yaml": "^4.1.0",
"langchain": "~0.2.0",
"langchain": "0.2.3-rc.0",
"langsmith": "~0.1.1",
"uuid": "^9.0.0",
"zod": "^3.22.3",
Expand Down Expand Up @@ -233,11 +233,11 @@
"@datastax/astra-db-ts": "^1.0.0",
"@elastic/elasticsearch": "^8.4.0",
"@getmetal/metal-sdk": "*",
"@getzep/zep-cloud": "~1.0.0",
"@getzep/zep-cloud": "*",
"@getzep/zep-js": "^0.9.0",
"@gomomento/sdk": "^1.51.1",
"@gomomento/sdk-core": "^1.51.1",
"@google-ai/generativelanguage": "^2.5.0",
"@google-ai/generativelanguage": "*",
"@google-cloud/storage": "^6.10.1 || ^7.7.0",
"@gradientai/nodejs-sdk": "^1.2.0",
"@huggingface/inference": "^2.6.4",
Expand Down Expand Up @@ -293,7 +293,7 @@
"epub2": "^3.0.1",
"faiss-node": "^0.5.1",
"firebase-admin": "^11.9.0 || ^12.0.0",
"google-auth-library": "^9.10.0",
"google-auth-library": "*",
"googleapis": "^126.0.1",
"hnswlib-node": "^3.0.0",
"html-to-text": "^9.0.5",
Expand Down
14 changes: 5 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9195,7 +9195,7 @@ __metadata:
js-yaml: ^4.1.0
jsdom: ^22.1.0
jsonwebtoken: ^9.0.2
langchain: ~0.2.0
langchain: 0.2.3-rc.0
langsmith: ~0.1.1
llmonitor: ^0.5.9
lodash: ^4.17.21
Expand Down Expand Up @@ -9254,11 +9254,11 @@ __metadata:
"@datastax/astra-db-ts": ^1.0.0
"@elastic/elasticsearch": ^8.4.0
"@getmetal/metal-sdk": "*"
"@getzep/zep-cloud": ~1.0.0
"@getzep/zep-cloud": "*"
"@getzep/zep-js": ^0.9.0
"@gomomento/sdk": ^1.51.1
"@gomomento/sdk-core": ^1.51.1
"@google-ai/generativelanguage": ^2.5.0
"@google-ai/generativelanguage": "*"
"@google-cloud/storage": ^6.10.1 || ^7.7.0
"@gradientai/nodejs-sdk": ^1.2.0
"@huggingface/inference": ^2.6.4
Expand Down Expand Up @@ -9314,7 +9314,7 @@ __metadata:
epub2: ^3.0.1
faiss-node: ^0.5.1
firebase-admin: ^11.9.0 || ^12.0.0
google-auth-library: ^9.10.0
google-auth-library: "*"
googleapis: ^126.0.1
hnswlib-node: ^3.0.0
html-to-text: ^9.0.5
Expand Down Expand Up @@ -27428,7 +27428,7 @@ __metadata:
languageName: node
linkType: hard

"langchain@workspace:*, langchain@workspace:langchain, langchain@~0.2.0":
"langchain@0.2.3-rc.0, langchain@workspace:*, langchain@workspace:langchain":
version: 0.0.0-use.local
resolution: "langchain@workspace:langchain"
dependencies:
Expand All @@ -27443,7 +27443,6 @@ __metadata:
"@faker-js/faker": ^7.6.0
"@gomomento/sdk": ^1.51.1
"@gomomento/sdk-core": ^1.51.1
"@google-ai/generativelanguage": ^2.5.0
"@jest/globals": ^29.5.0
"@langchain/cohere": ^0.0.8
"@langchain/core": ~0.2.0
Expand Down Expand Up @@ -27545,7 +27544,6 @@ __metadata:
"@gomomento/sdk": ^1.51.1
"@gomomento/sdk-core": ^1.51.1
"@gomomento/sdk-web": ^1.51.1
"@google-ai/generativelanguage": ^2.5.0
"@mendable/firecrawl-js": ^0.0.13
"@notionhq/client": ^2.2.10
"@pinecone-database/pinecone": "*"
Expand Down Expand Up @@ -27605,8 +27603,6 @@ __metadata:
optional: true
"@gomomento/sdk-web":
optional: true
"@google-ai/generativelanguage":
optional: true
"@mendable/firecrawl-js":
optional: true
"@notionhq/client":
Expand Down
Loading