diff --git a/package.json b/package.json index 68ecee3eba..669e969256 100644 --- a/package.json +++ b/package.json @@ -94,7 +94,7 @@ "jsdom": "24.0.0", "jsonfeed-to-rss": "3.0.7", "katex": "0.16.9", - "langchain": "0.1.5", + "langchain": "0.1.7", "lottie-react": "2.4.0", "mdast-util-to-hast": "13.1.0", "mdast-util-toc": "7.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 055fd6026e..348ebbdd25 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -202,8 +202,8 @@ dependencies: specifier: 0.16.9 version: 0.16.9 langchain: - specifier: 0.1.5 - version: 0.1.5(cheerio@1.0.0-rc.12)(ioredis@5.3.2)(jsdom@24.0.0)(ws@8.13.0) + specifier: 0.1.7 + version: 0.1.7(cheerio@1.0.0-rc.12)(ioredis@5.3.2)(jsdom@24.0.0)(ws@8.13.0) lottie-react: specifier: 2.4.0 version: 2.4.0(react-dom@18.2.0)(react@18.2.0) @@ -2472,11 +2472,12 @@ packages: '@jridgewell/resolve-uri': 3.1.1 '@jridgewell/sourcemap-codec': 1.4.15 - /@langchain/community@0.0.17(ioredis@5.3.2)(jsdom@24.0.0)(ws@8.13.0): - resolution: {integrity: sha512-BI7WJv3rtIbmKrvUNeTaxGGrz8jnu4boLnpl+4cH3WE2lrKTdzuvp6Ot4dACowWInvNSfXcdMzG3BrtTMSaDcQ==} + /@langchain/community@0.0.20(ioredis@5.3.2)(jsdom@24.0.0)(ws@8.13.0): + resolution: {integrity: sha512-maPMjvF50Z+4eMs7HKmY3wfT+k6IjULqLUVPtVdN1zSGobRvnUIbQMKUY2IXVTZmaMXKBAIob+49X8vjO2snDQ==} engines: {node: '>=18'} peerDependencies: '@aws-crypto/sha256-js': ^5.0.0 + '@aws-sdk/client-bedrock-agent-runtime': ^3.485.0 '@aws-sdk/client-bedrock-runtime': ^3.422.0 '@aws-sdk/client-dynamodb': ^3.310.0 '@aws-sdk/client-kendra': ^3.352.0 @@ -2558,6 +2559,8 @@ packages: peerDependenciesMeta: '@aws-crypto/sha256-js': optional: true + '@aws-sdk/client-bedrock-agent-runtime': + optional: true '@aws-sdk/client-bedrock-runtime': optional: true '@aws-sdk/client-dynamodb': @@ -2720,7 +2723,7 @@ packages: flat: 5.0.2 ioredis: 5.3.2 jsdom: 24.0.0 - langsmith: 0.0.53 + langsmith: 0.0.63 uuid: 9.0.1 ws: 8.13.0 zod: 3.22.4 @@ -2736,7 +2739,7 @@ packages: camelcase: 6.3.0 decamelize: 1.2.0 js-tiktoken: 1.0.8 - langsmith: 0.0.53 + langsmith: 0.0.63 ml-distance: 4.0.1 p-queue: 6.6.2 p-retry: 4.6.2 @@ -9748,8 +9751,8 @@ packages: resolution: {integrity: sha512-Y+60/zizpJ3HRH8DCss+q95yr6145JXZo46OTpFvDZWLfRCE4qChOyk1b26nMaNpfHHgxagk9dXT5OP0Tfe+dQ==} dev: true - /langchain@0.1.5(cheerio@1.0.0-rc.12)(ioredis@5.3.2)(jsdom@24.0.0)(ws@8.13.0): - resolution: {integrity: sha512-ku/4cHV+CaAlaTegjsGhsbaDdtFQi6OQW10Gi6JJvbX093XRADLRtIYYR5XLm7eFt6ZgvHszdQ55nSQqAgfjAg==} + /langchain@0.1.7(cheerio@1.0.0-rc.12)(ioredis@5.3.2)(jsdom@24.0.0)(ws@8.13.0): + resolution: {integrity: sha512-aNBakxYcXjoL2KrGrt6gvOeJGgBPAL9MNe8tH8DeFKGWn/VaCPF5Xh7ABdyI1djMFX1if2mJUThSebZRS+KKOg==} engines: {node: '>=18'} peerDependencies: '@aws-sdk/client-s3': ^3.310.0 @@ -9763,7 +9766,7 @@ packages: '@google-ai/generativelanguage': ^0.2.1 '@google-cloud/storage': ^6.10.1 '@notionhq/client': ^2.2.10 - '@pinecone-database/pinecone': ^1.1.0 + '@pinecone-database/pinecone': '*' '@supabase/supabase-js': ^2.10.0 '@vercel/kv': ^0.2.3 '@xata.io/client': ^0.28.0 @@ -9911,7 +9914,7 @@ packages: optional: true dependencies: '@anthropic-ai/sdk': 0.9.1 - '@langchain/community': 0.0.17(ioredis@5.3.2)(jsdom@24.0.0)(ws@8.13.0) + '@langchain/community': 0.0.20(ioredis@5.3.2)(jsdom@24.0.0)(ws@8.13.0) '@langchain/core': 0.1.16 '@langchain/openai': 0.0.12 binary-extensions: 2.2.0 @@ -9923,7 +9926,7 @@ packages: jsdom: 24.0.0 jsonpointer: 5.0.1 langchainhub: 0.0.6 - langsmith: 0.0.53 + langsmith: 0.0.63 ml-distance: 4.0.1 openapi-types: 12.1.3 p-retry: 4.6.2 @@ -9934,6 +9937,7 @@ packages: zod-to-json-schema: 3.22.3(zod@3.22.4) transitivePeerDependencies: - '@aws-crypto/sha256-js' + - '@aws-sdk/client-bedrock-agent-runtime' - '@aws-sdk/client-bedrock-runtime' - '@aws-sdk/client-dynamodb' - '@aws-sdk/client-kendra' @@ -9993,8 +9997,8 @@ packages: resolution: {integrity: sha512-SW6105T+YP1cTe0yMf//7kyshCgvCTyFBMTgH2H3s9rTAR4e+78DA/BBrUL/Mt4Q5eMWui7iGuAYb3pgGsdQ9w==} dev: false - /langsmith@0.0.53: - resolution: {integrity: sha512-w2Rgx4ixE+wuItFVKGnc+Wmzj91RevMd7sev9BHWC8VFztDPuyrNZQD55QpxphM6JLb9hF9osxvAiYDGtDZbuQ==} + /langsmith@0.0.63: + resolution: {integrity: sha512-8KtbiltWP8Ta7xErfXRvLudKgIoc/yRb9oSU8Ozh2215rlz9tnYicl37lS/ZdyeSbpSX8Rh8XhLTN5zVQ+5euA==} hasBin: true dependencies: '@types/uuid': 9.0.8