refactor: Update Langchain packages (no-changelog) (#10759)

This commit is contained in:
oleg 2024-09-10 17:04:02 +02:00 committed by GitHub
parent 0e814eb99c
commit 17f160ce96
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 1576 additions and 753 deletions

View file

@ -6,7 +6,7 @@ import {
type INodeTypeDescription, type INodeTypeDescription,
type SupplyData, type SupplyData,
} from 'n8n-workflow'; } from 'n8n-workflow';
import { OllamaEmbeddings } from '@langchain/community/embeddings/ollama'; import { OllamaEmbeddings } from '@langchain/ollama';
import { logWrapper } from '../../../utils/logWrapper'; import { logWrapper } from '../../../utils/logWrapper';
import { getConnectionHintNoticeField } from '../../../utils/sharedFields'; import { getConnectionHintNoticeField } from '../../../utils/sharedFields';
import { ollamaDescription, ollamaModel } from '../../llms/LMOllama/description'; import { ollamaDescription, ollamaModel } from '../../llms/LMOllama/description';

View file

@ -12,6 +12,7 @@ import { getConnectionHintNoticeField } from '../../../utils/sharedFields';
// here only to track where what dependency is used // here only to track where what dependency is used
import '@aws-sdk/credential-provider-node'; import '@aws-sdk/credential-provider-node';
import '@aws-sdk/client-bedrock-runtime'; import '@aws-sdk/client-bedrock-runtime';
import '@aws-sdk/client-sso-oidc';
import { N8nLlmTracing } from '../N8nLlmTracing'; import { N8nLlmTracing } from '../N8nLlmTracing';
export class LmChatAwsBedrock implements INodeType { export class LmChatAwsBedrock implements INodeType {

View file

@ -130,26 +130,27 @@
"n8n-core": "workspace:*" "n8n-core": "workspace:*"
}, },
"dependencies": { "dependencies": {
"@aws-sdk/client-bedrock-runtime": "3.535.0", "@aws-sdk/client-bedrock-runtime": "3.645.0",
"@aws-sdk/credential-provider-node": "3.535.0", "@aws-sdk/client-sso-oidc": "^3.645.0",
"@aws-sdk/credential-provider-node": "3.645.0",
"@getzep/zep-cloud": "1.0.11", "@getzep/zep-cloud": "1.0.11",
"@getzep/zep-js": "0.9.0", "@getzep/zep-js": "0.9.0",
"@google-ai/generativelanguage": "2.5.0", "@google-ai/generativelanguage": "2.5.0",
"@google-cloud/resource-manager": "5.3.0", "@google-cloud/resource-manager": "5.3.0",
"@google/generative-ai": "0.11.4", "@google/generative-ai": "0.17.1",
"@huggingface/inference": "2.7.0", "@huggingface/inference": "2.8.0",
"@langchain/anthropic": "0.2.9", "@langchain/anthropic": "0.2.16",
"@langchain/cohere": "0.0.10", "@langchain/cohere": "0.2.2",
"@langchain/community": "0.2.20", "@langchain/community": "0.2.32",
"@langchain/core": "0.2.18", "@langchain/core": "catalog:",
"@langchain/google-genai": "0.0.23", "@langchain/google-genai": "0.0.26",
"@langchain/google-vertexai": "0.0.21", "@langchain/google-vertexai": "0.0.27",
"@langchain/groq": "0.0.15", "@langchain/groq": "0.0.17",
"@langchain/mistralai": "0.0.27", "@langchain/mistralai": "0.0.29",
"@langchain/ollama": "^0.0.2", "@langchain/ollama": "0.0.4",
"@langchain/openai": "0.2.5", "@langchain/openai": "0.2.10",
"@langchain/pinecone": "0.0.8", "@langchain/pinecone": "0.0.9",
"@langchain/qdrant": "^0.0.5", "@langchain/qdrant": "0.0.5",
"@langchain/redis": "0.0.5", "@langchain/redis": "0.0.5",
"@langchain/textsplitters": "0.0.3", "@langchain/textsplitters": "0.0.3",
"@mozilla/readability": "^0.5.0", "@mozilla/readability": "^0.5.0",
@ -157,12 +158,12 @@
"@n8n/vm2": "3.9.25", "@n8n/vm2": "3.9.25",
"@pinecone-database/pinecone": "3.0.0", "@pinecone-database/pinecone": "3.0.0",
"@qdrant/js-client-rest": "1.9.0", "@qdrant/js-client-rest": "1.9.0",
"@supabase/supabase-js": "2.43.4", "@supabase/supabase-js": "2.45.3",
"@types/pg": "^8.11.6", "@types/pg": "^8.11.6",
"@xata.io/client": "0.28.4", "@xata.io/client": "0.28.4",
"basic-auth": "catalog:", "basic-auth": "catalog:",
"cheerio": "1.0.0-rc.12", "cheerio": "1.0.0-rc.12",
"cohere-ai": "7.10.1", "cohere-ai": "7.13.0",
"d3-dsv": "2.0.0", "d3-dsv": "2.0.0",
"epub2": "3.0.2", "epub2": "3.0.2",
"form-data": "catalog:", "form-data": "catalog:",
@ -170,12 +171,12 @@
"html-to-text": "9.0.5", "html-to-text": "9.0.5",
"jsdom": "^23.0.1", "jsdom": "^23.0.1",
"json-schema-to-zod": "2.1.0", "json-schema-to-zod": "2.1.0",
"langchain": "0.2.11", "langchain": "0.2.18",
"lodash": "catalog:", "lodash": "catalog:",
"mammoth": "1.7.2", "mammoth": "1.7.2",
"n8n-nodes-base": "workspace:*", "n8n-nodes-base": "workspace:*",
"n8n-workflow": "workspace:*", "n8n-workflow": "workspace:*",
"openai": "4.53.0", "openai": "4.58.0",
"pdf-parse": "1.1.1", "pdf-parse": "1.1.1",
"pg": "8.12.0", "pg": "8.12.0",
"redis": "4.6.12", "redis": "4.6.12",
@ -183,6 +184,6 @@
"temp": "0.9.4", "temp": "0.9.4",
"tmp-promise": "3.0.3", "tmp-promise": "3.0.3",
"zod": "catalog:", "zod": "catalog:",
"zod-to-json-schema": "3.23.0" "zod-to-json-schema": "3.23.2"
} }
} }

View file

@ -44,7 +44,7 @@
"file-type": "16.5.4", "file-type": "16.5.4",
"form-data": "catalog:", "form-data": "catalog:",
"lodash": "catalog:", "lodash": "catalog:",
"@langchain/core": "0.2.18", "@langchain/core": "catalog:",
"luxon": "catalog:", "luxon": "catalog:",
"mime-types": "2.1.35", "mime-types": "2.1.35",
"n8n-workflow": "workspace:*", "n8n-workflow": "workspace:*",

View file

@ -29,7 +29,7 @@
"dist/**/*" "dist/**/*"
], ],
"devDependencies": { "devDependencies": {
"@langchain/core": "^0.2.18", "@langchain/core": "catalog:",
"@types/deep-equal": "^1.0.1", "@types/deep-equal": "^1.0.1",
"@types/express": "catalog:", "@types/express": "catalog:",
"@types/jmespath": "^0.15.0", "@types/jmespath": "^0.15.0",

File diff suppressed because it is too large Load diff

View file

@ -21,6 +21,7 @@ catalog:
uuid: 8.3.2 uuid: 8.3.2
xml2js: 0.6.2 xml2js: 0.6.2
zod: 3.23.8 zod: 3.23.8
'@langchain/core': 0.2.31
catalogs: catalogs:
frontend: frontend: