@sap-ai-sdk/langchain 2.4.1-20260113013336.0 → 2.5.1-20260114013431.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +6 -2
  2. package/package.json +8 -6
package/README.md CHANGED
@@ -13,8 +13,12 @@ This package provides LangChain clients built on top of the foundation model and
13
13
 
14
14
  ## Installation
15
15
 
16
- ```
17
- $ npm install @sap-ai-sdk/langchain
16
+ ```bash
17
+ # Install langchain
18
+ npm install langchain @langchain/core
19
+
20
+ # Install SAP Cloud SDK for AI langchain package
21
+ npm install @sap-ai-sdk/langchain
18
22
  ```
19
23
 
20
24
  ## Documentation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap-ai-sdk/langchain",
3
- "version": "2.4.1-20260113013336.0",
3
+ "version": "2.5.1-20260114013431.0",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
@@ -24,18 +24,20 @@
24
24
  "internal.d.ts"
25
25
  ],
26
26
  "dependencies": {
27
- "@langchain/core": "^1.1.8",
28
27
  "@sap-cloud-sdk/connectivity": "^4.3.1",
29
28
  "@sap-cloud-sdk/util": "^4.3.1",
30
29
  "uuid": "^13.0.0",
31
- "@sap-ai-sdk/ai-api": "^2.4.1-20260113013336.0",
32
- "@sap-ai-sdk/core": "^2.4.1-20260113013336.0",
33
- "@sap-ai-sdk/foundation-models": "^2.4.1-20260113013336.0",
34
- "@sap-ai-sdk/orchestration": "^2.4.1-20260113013336.0"
30
+ "@sap-ai-sdk/ai-api": "^2.5.1-20260114013431.0",
31
+ "@sap-ai-sdk/core": "^2.5.1-20260114013431.0",
32
+ "@sap-ai-sdk/foundation-models": "^2.5.1-20260114013431.0",
33
+ "@sap-ai-sdk/orchestration": "^2.5.1-20260114013431.0"
35
34
  },
36
35
  "devDependencies": {
37
36
  "@langchain/langgraph": "^1.0.7"
38
37
  },
38
+ "peerDependencies": {
39
+ "@langchain/core": "=1.1.8"
40
+ },
39
41
  "scripts": {
40
42
  "compile": "tsc",
41
43
  "compile:cjs": "mv package.json package.json.bak && echo '{ \"type\": \"commonjs\" }' > package.json && tsc -p tsconfig.cjs.json && mv package.json.bak package.json",