Skip to content

Commit 1aeb1e9

Browse files
committed
chore: upgrade LangChain deps in ai-service
Bump LangChain-related dependencies in ai-service: @langchain/classic 1.0.2→1.0.34, @langchain/community 1.0.2→1.1.28, @langchain/core 1.0.4→1.1.48, @langchain/openai 1.1.0→1.4.7, @langchain/textsplitters 1.0.0→1.0.1, and langchain 1.0.4→1.4.2. These updates align the service with newer LangChain releases for improved compatibility and fixes; yarn.lock was updated to reflect the dependency changes. Signed-off-by: Alex Piatakov <alex.piatakov@swirldslabs.com>
1 parent 4ceb7bf commit 1aeb1e9

2 files changed

Lines changed: 147 additions & 128 deletions

File tree

ai-service/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
"dependencies": {
77
"@guardian/common": "3.6.0-rc",
88
"@guardian/interfaces": "3.6.0-rc",
9-
"@langchain/classic": "1.0.2",
10-
"@langchain/community": "1.0.2",
11-
"@langchain/core": "1.0.4",
12-
"@langchain/openai": "1.1.0",
13-
"@langchain/textsplitters": "1.0.0",
9+
"@langchain/classic": "1.0.34",
10+
"@langchain/community": "1.1.28",
11+
"@langchain/core": "1.1.48",
12+
"@langchain/openai": "1.4.7",
13+
"@langchain/textsplitters": "1.0.1",
1414
"@mikro-orm/core": "6.4.16",
1515
"@mikro-orm/mongodb": "6.4.16",
1616
"@nestjs/common": "^11.0.11",
@@ -20,7 +20,7 @@
2020
"dotenv": "^16.3.1",
2121
"express": "^5.1.0",
2222
"faiss-node": "0.5.1",
23-
"langchain": "1.0.4",
23+
"langchain": "1.4.2",
2424
"module-alias": "2.2.3",
2525
"prebuild": "13.0.1",
2626
"rxjs": "^7.8.1",

0 commit comments

Comments
 (0)