Skip to content

Commit

Permalink
Unpin langchain dep in community (#6152)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblee93 authored Jul 19, 2024
1 parent 30e8ec2 commit b9f3bcf
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 201 deletions.
6 changes: 3 additions & 3 deletions libs/langchain-community/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@
"license": "MIT",
"dependencies": {
"@langchain/core": ">=0.2.16 <0.3.0",
"@langchain/openai": "~0.1.0",
"@langchain/openai": ">=0.1.0 <0.3.0",
"binary-extensions": "^2.2.0",
"expr-eval": "^2.0.2",
"flat": "^5.0.2",
"js-yaml": "^4.1.0",
"langchain": "0.2.3",
"langchain": "~0.2.3",
"langsmith": "~0.1.30",
"uuid": "^10.0.0",
"zod": "^3.22.3",
Expand Down Expand Up @@ -78,7 +78,7 @@
"@gradientai/nodejs-sdk": "^1.2.0",
"@huggingface/inference": "^2.6.4",
"@jest/globals": "^29.5.0",
"@langchain/langgraph": "~0.0.26",
"@langchain/langgraph": "<0.1.0",
"@langchain/scripts": "~0.0.14",
"@langchain/standard-tests": "0.0.0",
"@layerup/layerup-security": "^1.5.12",
Expand Down
209 changes: 11 additions & 198 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10498,8 +10498,8 @@ __metadata:
"@huggingface/inference": ^2.6.4
"@jest/globals": ^29.5.0
"@langchain/core": ">=0.2.16 <0.3.0"
"@langchain/langgraph": ~0.0.26
"@langchain/openai": ~0.1.0
"@langchain/langgraph": <0.1.0
"@langchain/openai": ">=0.1.0 <0.3.0"
"@langchain/scripts": ~0.0.14
"@langchain/standard-tests": 0.0.0
"@layerup/layerup-security": ^1.5.12
Expand Down Expand Up @@ -10602,7 +10602,7 @@ __metadata:
js-yaml: ^4.1.0
jsdom: ^22.1.0
jsonwebtoken: ^9.0.2
langchain: 0.2.3
langchain: ~0.2.3
langsmith: ~0.1.30
llmonitor: ^0.5.9
lodash: ^4.17.21
Expand Down Expand Up @@ -11345,18 +11345,19 @@ __metadata:
languageName: node
linkType: hard

"@langchain/langgraph@npm:~0.0.26":
version: 0.0.26
resolution: "@langchain/langgraph@npm:0.0.26"
"@langchain/langgraph@npm:<0.1.0":
version: 0.0.29
resolution: "@langchain/langgraph@npm:0.0.29"
dependencies:
"@langchain/core": ">0.1.61 <0.3.0"
"@langchain/core": ">=0.2.16 <0.3.0"
uuid: ^10.0.0
zod: ^3.23.8
peerDependencies:
better-sqlite3: ^9.5.0
peerDependenciesMeta:
better-sqlite3:
optional: true
checksum: 82ad770597fc389d704395657c800fd6c1745a82677cc836c722827dc9473f9f6f06babf4aa22e394b3b7d3456a7ce52db6d206fb7e0f02dacc8f8a98580f74c
checksum: 5a5ed8106efb7b623c26537d7dcb3762b86fdeb2004ebd3dbbe79c6036da318a2bebe904730a7d5376b78d0e03e523e31070824899716d1fa583bed1d05c14e4
languageName: node
linkType: hard

Expand Down Expand Up @@ -11529,19 +11530,6 @@ __metadata:
languageName: unknown
linkType: soft

"@langchain/openai@npm:~0.0.28":
version: 0.0.34
resolution: "@langchain/openai@npm:0.0.34"
dependencies:
"@langchain/core": ">0.1.56 <0.3.0"
js-tiktoken: ^1.0.12
openai: ^4.41.1
zod: ^3.22.4
zod-to-json-schema: ^3.22.3
checksum: d2a5568b7fd0507af2510d68cf568945d5c7f6e45f57ac1178f65d0092e0437e7c908e2af3e20b829ce4507f63e71ddc38df7dc35b7e3d21394daa380243e297
languageName: node
linkType: hard

"@langchain/openai@npm:~0.1.0":
version: 0.1.3
resolution: "@langchain/openai@npm:0.1.3"
Expand Down Expand Up @@ -29914,181 +29902,6 @@ __metadata:
languageName: node
linkType: hard

"langchain@npm:0.2.3":
version: 0.2.3
resolution: "langchain@npm:0.2.3"
dependencies:
"@langchain/core": ~0.2.0
"@langchain/openai": ~0.0.28
"@langchain/textsplitters": ~0.0.0
binary-extensions: ^2.2.0
js-tiktoken: ^1.0.12
js-yaml: ^4.1.0
jsonpointer: ^5.0.1
langchainhub: ~0.0.8
langsmith: ~0.1.7
ml-distance: ^4.0.0
openapi-types: ^12.1.3
p-retry: 4
uuid: ^9.0.0
yaml: ^2.2.1
zod: ^3.22.4
zod-to-json-schema: ^3.22.3
peerDependencies:
"@aws-sdk/client-s3": ^3.310.0
"@aws-sdk/client-sagemaker-runtime": ^3.310.0
"@aws-sdk/client-sfn": ^3.310.0
"@aws-sdk/credential-provider-node": ^3.388.0
"@azure/storage-blob": ^12.15.0
"@browserbasehq/sdk": "*"
"@gomomento/sdk": ^1.51.1
"@gomomento/sdk-core": ^1.51.1
"@gomomento/sdk-web": ^1.51.1
"@mendable/firecrawl-js": ^0.0.13
"@notionhq/client": ^2.2.10
"@pinecone-database/pinecone": "*"
"@supabase/supabase-js": ^2.10.0
"@vercel/kv": ^0.2.3
"@xata.io/client": ^0.28.0
apify-client: ^2.7.1
assemblyai: ^4.0.0
axios: "*"
cheerio: ^1.0.0-rc.12
chromadb: "*"
convex: ^1.3.1
couchbase: ^4.3.0
d3-dsv: ^2.0.0
epub2: ^3.0.1
fast-xml-parser: "*"
handlebars: ^4.7.8
html-to-text: ^9.0.5
ignore: ^5.2.0
ioredis: ^5.3.2
jsdom: "*"
mammoth: ^1.6.0
mongodb: ">=5.2.0"
node-llama-cpp: "*"
notion-to-md: ^3.1.0
officeparser: ^4.0.4
pdf-parse: 1.1.1
peggy: ^3.0.2
playwright: ^1.32.1
puppeteer: ^19.7.2
pyodide: ^0.24.1
redis: ^4.6.4
sonix-speech-recognition: ^2.1.1
srt-parser-2: ^1.2.3
typeorm: ^0.3.12
weaviate-ts-client: "*"
web-auth-library: ^1.0.3
ws: ^8.14.2
youtube-transcript: ^1.0.6
youtubei.js: ^9.1.0
peerDependenciesMeta:
"@aws-sdk/client-s3":
optional: true
"@aws-sdk/client-sagemaker-runtime":
optional: true
"@aws-sdk/client-sfn":
optional: true
"@aws-sdk/credential-provider-node":
optional: true
"@azure/storage-blob":
optional: true
"@browserbasehq/sdk":
optional: true
"@gomomento/sdk":
optional: true
"@gomomento/sdk-core":
optional: true
"@gomomento/sdk-web":
optional: true
"@mendable/firecrawl-js":
optional: true
"@notionhq/client":
optional: true
"@pinecone-database/pinecone":
optional: true
"@supabase/supabase-js":
optional: true
"@vercel/kv":
optional: true
"@xata.io/client":
optional: true
apify-client:
optional: true
assemblyai:
optional: true
axios:
optional: true
cheerio:
optional: true
chromadb:
optional: true
convex:
optional: true
couchbase:
optional: true
d3-dsv:
optional: true
epub2:
optional: true
faiss-node:
optional: true
fast-xml-parser:
optional: true
handlebars:
optional: true
html-to-text:
optional: true
ignore:
optional: true
ioredis:
optional: true
jsdom:
optional: true
mammoth:
optional: true
mongodb:
optional: true
node-llama-cpp:
optional: true
notion-to-md:
optional: true
officeparser:
optional: true
pdf-parse:
optional: true
peggy:
optional: true
playwright:
optional: true
puppeteer:
optional: true
pyodide:
optional: true
redis:
optional: true
sonix-speech-recognition:
optional: true
srt-parser-2:
optional: true
typeorm:
optional: true
weaviate-ts-client:
optional: true
web-auth-library:
optional: true
ws:
optional: true
youtube-transcript:
optional: true
youtubei.js:
optional: true
checksum: 92507963c919a2d6c9bc20055b93b1271045ba760f9af340d1fe7ef9a2a3c6382eaf6c622bed16c5680a6bf26553520cbafd13fd94b8e66b176ba31fe8106020
languageName: node
linkType: hard

"langchain@npm:0.2.5":
version: 0.2.5
resolution: "langchain@npm:0.2.5"
Expand Down Expand Up @@ -30264,7 +30077,7 @@ __metadata:
languageName: node
linkType: hard

"langchain@workspace:*, langchain@workspace:langchain":
"langchain@workspace:*, langchain@workspace:langchain, langchain@~0.2.3":
version: 0.0.0-use.local
resolution: "langchain@workspace:langchain"
dependencies:
Expand Down Expand Up @@ -30548,7 +30361,7 @@ __metadata:
languageName: unknown
linkType: soft

"langsmith@npm:^0.1.30, langsmith@npm:~0.1.30, langsmith@npm:~0.1.7":
"langsmith@npm:^0.1.30, langsmith@npm:~0.1.30":
version: 0.1.30
resolution: "langsmith@npm:0.1.30"
dependencies:
Expand Down

0 comments on commit b9f3bcf

Please sign in to comment.