@n8n/n8n-nodes-langchain 2.43.1 → 2.44.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 (92) hide show
  1. package/dist/credentials/AzureEntraCognitiveServicesOAuth2Api.credentials.js +4 -4
  2. package/dist/credentials/AzureEntraCognitiveServicesOAuth2Api.credentials.js.map +1 -1
  3. package/dist/credentials/AzureOpenAiApi.credentials.js +4 -4
  4. package/dist/credentials/AzureOpenAiApi.credentials.js.map +1 -1
  5. package/dist/credentials/GoogleVertexAiApi.credentials.d.ts +15 -0
  6. package/dist/credentials/GoogleVertexAiApi.credentials.js +83 -0
  7. package/dist/credentials/GoogleVertexAiApi.credentials.js.map +1 -0
  8. package/dist/credentials/icons/google.svg +1 -0
  9. package/dist/known/credentials.json +12 -0
  10. package/dist/known/nodes.json +4 -0
  11. package/dist/node-definitions/.nodes-hash +1 -1
  12. package/dist/node-definitions/nodes/n8n-nodes-langchain/embeddingsAzureOpenAi/index.ts +1 -1
  13. package/dist/node-definitions/nodes/n8n-nodes-langchain/embeddingsAzureOpenAi/v1.schema.js +2 -1
  14. package/dist/node-definitions/nodes/n8n-nodes-langchain/embeddingsAzureOpenAi/v1.ts +4 -2
  15. package/dist/node-definitions/nodes/n8n-nodes-langchain/embeddingsGoogleVertex/v1.schema.js +3 -2
  16. package/dist/node-definitions/nodes/n8n-nodes-langchain/embeddingsGoogleVertex/v1.ts +3 -0
  17. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAzureOpenAi/index.ts +1 -1
  18. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAzureOpenAi/v1.schema.js +2 -1
  19. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAzureOpenAi/v1.ts +11 -2
  20. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAzureOpenAi/v11.schema.js +3 -2
  21. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAzureOpenAi/v11.ts +15 -5
  22. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatGoogleGemini/v1.ts +1 -1
  23. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatGoogleGemini/v11.ts +1 -1
  24. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatGoogleGemini/v12.ts +1 -1
  25. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatGoogleVertex/v1.schema.js +3 -2
  26. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatGoogleVertex/v1.ts +3 -0
  27. package/dist/nodes/agents/Agent/agents/ToolsAgent/V2/execute.d.ts +6 -1
  28. package/dist/nodes/agents/Agent/agents/ToolsAgent/V2/execute.js +23 -7
  29. package/dist/nodes/agents/Agent/agents/ToolsAgent/V2/execute.js.map +1 -1
  30. package/dist/nodes/embeddings/EmbeddingsAzureOpenAi/EmbeddingsAzureOpenAi.node.js +102 -16
  31. package/dist/nodes/embeddings/EmbeddingsAzureOpenAi/EmbeddingsAzureOpenAi.node.js.map +1 -1
  32. package/dist/nodes/embeddings/EmbeddingsDatabricks/EmbeddingsDatabricks.node.js +1 -0
  33. package/dist/nodes/embeddings/EmbeddingsDatabricks/EmbeddingsDatabricks.node.js.map +1 -1
  34. package/dist/nodes/embeddings/EmbeddingsGoogleVertex/EmbeddingsGoogleVertex.node.d.ts +5 -6
  35. package/dist/nodes/embeddings/EmbeddingsGoogleVertex/EmbeddingsGoogleVertex.node.js +9 -41
  36. package/dist/nodes/embeddings/EmbeddingsGoogleVertex/EmbeddingsGoogleVertex.node.js.map +1 -1
  37. package/dist/nodes/llms/LMChatAnthropic/LmChatAnthropic.node.js +1 -15
  38. package/dist/nodes/llms/LMChatAnthropic/LmChatAnthropic.node.js.map +1 -1
  39. package/dist/nodes/llms/LmChatAzureOpenAi/LmChatAzureOpenAi.node.js +59 -8
  40. package/dist/nodes/llms/LmChatAzureOpenAi/LmChatAzureOpenAi.node.js.map +1 -1
  41. package/dist/nodes/llms/LmChatAzureOpenAi/credentials/api-key.js +1 -1
  42. package/dist/nodes/llms/LmChatAzureOpenAi/credentials/api-key.js.map +1 -1
  43. package/dist/nodes/llms/LmChatAzureOpenAi/credentials/oauth2.js +1 -2
  44. package/dist/nodes/llms/LmChatAzureOpenAi/credentials/oauth2.js.map +1 -1
  45. package/dist/nodes/llms/LmChatAzureOpenAi/credentials/requireFoundryEndpoint.js +1 -1
  46. package/dist/nodes/llms/LmChatAzureOpenAi/credentials/requireFoundryEndpoint.js.map +1 -1
  47. package/dist/nodes/llms/LmChatAzureOpenAi/credentials/requireTenantId.js +1 -1
  48. package/dist/nodes/llms/LmChatAzureOpenAi/credentials/requireTenantId.js.map +1 -1
  49. package/dist/nodes/llms/LmChatAzureOpenAi/error-handling.d.ts +1 -1
  50. package/dist/nodes/llms/LmChatAzureOpenAi/error-handling.js +12 -6
  51. package/dist/nodes/llms/LmChatAzureOpenAi/error-handling.js.map +1 -1
  52. package/dist/nodes/llms/LmChatAzureOpenAi/methods/searchModels.js +1 -1
  53. package/dist/nodes/llms/LmChatAzureOpenAi/methods/searchModels.js.map +1 -1
  54. package/dist/nodes/llms/LmChatAzureOpenAi/properties.js +29 -4
  55. package/dist/nodes/llms/LmChatAzureOpenAi/properties.js.map +1 -1
  56. package/dist/nodes/llms/LmChatAzureOpenAi/types.d.ts +1 -0
  57. package/dist/nodes/llms/LmChatAzureOpenAi/types.js +2 -1
  58. package/dist/nodes/llms/LmChatAzureOpenAi/types.js.map +1 -1
  59. package/dist/nodes/llms/LmChatGoogleGemini/LmChatGoogleGemini.node.js +2 -1
  60. package/dist/nodes/llms/LmChatGoogleGemini/LmChatGoogleGemini.node.js.map +1 -1
  61. package/dist/nodes/llms/LmChatGoogleVertex/LmChatGoogleVertex.node.d.ts +5 -6
  62. package/dist/nodes/llms/LmChatGoogleVertex/LmChatGoogleVertex.node.js +9 -41
  63. package/dist/nodes/llms/LmChatGoogleVertex/LmChatGoogleVertex.node.js.map +1 -1
  64. package/dist/nodes/vector_store/VectorStoreDatabricks/DatabricksVectorStore.d.ts +1 -0
  65. package/dist/nodes/vector_store/VectorStoreDatabricks/DatabricksVectorStore.js +19 -5
  66. package/dist/nodes/vector_store/VectorStoreDatabricks/DatabricksVectorStore.js.map +1 -1
  67. package/dist/nodes/vector_store/VectorStoreDatabricks/VectorStoreDatabricks.node.js +4 -1
  68. package/dist/nodes/vector_store/VectorStoreDatabricks/VectorStoreDatabricks.node.js.map +1 -1
  69. package/dist/nodes/vendors/Databricks/DatabricksAiAgent.node.d.ts +5 -0
  70. package/dist/nodes/vendors/Databricks/DatabricksAiAgent.node.js +170 -0
  71. package/dist/nodes/vendors/Databricks/DatabricksAiAgent.node.js.map +1 -0
  72. package/dist/nodes/vendors/Databricks/databricks.dark.svg +19 -0
  73. package/dist/nodes/vendors/Databricks/databricks.svg +19 -0
  74. package/dist/nodes/vendors/Databricks/mlflow/span-collector.d.ts +48 -0
  75. package/dist/nodes/vendors/Databricks/mlflow/span-collector.js +378 -0
  76. package/dist/nodes/vendors/Databricks/mlflow/span-collector.js.map +1 -0
  77. package/dist/nodes/vendors/Databricks/mlflow/trace-writer.d.ts +41 -0
  78. package/dist/nodes/vendors/Databricks/mlflow/trace-writer.js +129 -0
  79. package/dist/nodes/vendors/Databricks/mlflow/trace-writer.js.map +1 -0
  80. package/dist/nodes/vendors/Databricks/mlflow/transport.d.ts +7 -0
  81. package/dist/nodes/vendors/Databricks/mlflow/transport.js +72 -0
  82. package/dist/nodes/vendors/Databricks/mlflow/transport.js.map +1 -0
  83. package/dist/nodes/vendors/Databricks/mlflow/types.d.ts +54 -0
  84. package/dist/nodes/vendors/Databricks/mlflow/types.js +23 -0
  85. package/dist/nodes/vendors/Databricks/mlflow/types.js.map +1 -0
  86. package/dist/typecheck.tsbuildinfo +1 -1
  87. package/dist/types/credentials.json +3 -2
  88. package/dist/types/nodes.json +6 -5
  89. package/dist/utils/google-vertex.d.ts +14 -0
  90. package/dist/utils/google-vertex.js +130 -0
  91. package/dist/utils/google-vertex.js.map +1 -0
  92. package/package.json +12 -10
@@ -0,0 +1,14 @@
1
+ import { type ICredentialDataDecryptedObject, type ICredentialsDecrypted, type ICredentialTestFunctions, type INodeCredentialDescription, type INodeCredentialTestResult, type INodeListSearchResult, type INodeProperties, type ISupplyDataFunctions } from 'n8n-workflow';
2
+ export declare const GOOGLE_VERTEX_CUSTOM_PROJECT = "__custom__";
3
+ export declare const googleVertexCredentials: INodeCredentialDescription[];
4
+ export declare const googleVertexAuthentication: INodeProperties;
5
+ export declare function resolveGoogleVertexCredentials(context: ISupplyDataFunctions, itemIndex: number): Promise<{
6
+ projectId: string;
7
+ location: string;
8
+ credentials: {
9
+ client_email: string;
10
+ private_key: string;
11
+ };
12
+ }>;
13
+ export declare function googleVertexAiCredentialTest(this: ICredentialTestFunctions, credential: ICredentialsDecrypted): Promise<INodeCredentialTestResult>;
14
+ export declare function searchGoogleProjects(credentials: ICredentialDataDecryptedObject, filter?: string, paginationToken?: string): Promise<INodeListSearchResult>;
@@ -0,0 +1,130 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.googleVertexAuthentication = exports.googleVertexCredentials = exports.GOOGLE_VERTEX_CUSTOM_PROJECT = void 0;
4
+ exports.resolveGoogleVertexCredentials = resolveGoogleVertexCredentials;
5
+ exports.googleVertexAiCredentialTest = googleVertexAiCredentialTest;
6
+ exports.searchGoogleProjects = searchGoogleProjects;
7
+ const get_error_message_1 = require("@n8n/utils/errors/get-error-message");
8
+ const google_service_account_1 = require("n8n-nodes-base/google-service-account");
9
+ const n8n_workflow_1 = require("n8n-workflow");
10
+ const vertex_location_1 = require("../nodes/llms/gemini-common/vertex-location");
11
+ exports.GOOGLE_VERTEX_CUSTOM_PROJECT = '__custom__';
12
+ exports.googleVertexCredentials = [
13
+ {
14
+ name: 'googleApi',
15
+ required: true,
16
+ displayOptions: { show: { authentication: ['googleApi'] } },
17
+ },
18
+ {
19
+ name: 'googleVertexAiApi',
20
+ required: true,
21
+ testedBy: 'googleVertexAiCredentialTest',
22
+ displayOptions: { show: { authentication: ['googleVertexAiApi'] } },
23
+ },
24
+ ];
25
+ exports.googleVertexAuthentication = {
26
+ displayName: 'Authentication',
27
+ name: 'authentication',
28
+ type: 'options',
29
+ noDataExpression: true,
30
+ options: [
31
+ { name: 'Google Service Account', value: 'googleApi' },
32
+ { name: 'Google Vertex AI', value: 'googleVertexAiApi' },
33
+ ],
34
+ default: 'googleApi',
35
+ };
36
+ function getGoogleVertexProjectId(credentials) {
37
+ const project = credentials.project ?? exports.GOOGLE_VERTEX_CUSTOM_PROJECT;
38
+ return project === exports.GOOGLE_VERTEX_CUSTOM_PROJECT ? credentials.projectId : project;
39
+ }
40
+ async function resolveGoogleVertexCredentials(context, itemIndex) {
41
+ const authentication = context.getNodeParameter('authentication', itemIndex, 'googleApi');
42
+ const credentialType = authentication === 'googleVertexAiApi' ? 'googleVertexAiApi' : 'googleApi';
43
+ const credentials = await context.getCredentials(credentialType);
44
+ let projectId;
45
+ if (credentialType === 'googleVertexAiApi') {
46
+ projectId = getGoogleVertexProjectId(credentials);
47
+ }
48
+ else {
49
+ projectId = context.getNodeParameter('projectId', itemIndex, '', { extractValue: true });
50
+ }
51
+ if (typeof projectId !== 'string' || !projectId.trim()) {
52
+ throw new n8n_workflow_1.NodeOperationError(context.getNode(), 'Select or enter a Google Cloud project ID.');
53
+ }
54
+ if (typeof credentials.region !== 'string') {
55
+ throw new n8n_workflow_1.NodeOperationError(context.getNode(), 'Select a Region in the credential.');
56
+ }
57
+ const locationOverride = context.getNodeParameter('location', itemIndex, '');
58
+ const location = (0, vertex_location_1.resolveVertexLocation)(typeof locationOverride === 'string' ? locationOverride : undefined, credentials.region);
59
+ return {
60
+ projectId: projectId.trim(),
61
+ location,
62
+ credentials: (0, google_service_account_1.getGoogleServiceAccountCredentials)(credentials),
63
+ };
64
+ }
65
+ async function googleVertexAiCredentialTest(credential) {
66
+ const data = credential.data ?? {};
67
+ const projectId = getGoogleVertexProjectId(data);
68
+ if (typeof projectId !== 'string' || !projectId.trim()) {
69
+ return { status: 'Error', message: 'Select or enter a Google Cloud project ID.' };
70
+ }
71
+ try {
72
+ const { client_email, private_key } = (0, google_service_account_1.getGoogleServiceAccountCredentials)(data);
73
+ const token = await google_service_account_1.getGoogleAccessToken.call(this, { email: client_email, privateKey: private_key }, 'vertex');
74
+ if (typeof token.access_token !== 'string' || !token.access_token) {
75
+ return {
76
+ status: 'Error',
77
+ message: 'Could not get an access token. Check the service account email and private key.',
78
+ };
79
+ }
80
+ await this.helpers.request({
81
+ method: 'GET',
82
+ uri: `https://aiplatform.googleapis.com/v1/projects/${encodeURIComponent(projectId.trim())}/locations`,
83
+ headers: { Authorization: `Bearer ${token.access_token}` },
84
+ qs: { pageSize: 1 },
85
+ json: true,
86
+ timeout: 10000,
87
+ });
88
+ return { status: 'OK', message: 'Connection successful' };
89
+ }
90
+ catch (error) {
91
+ return {
92
+ status: 'Error',
93
+ message: `Could not connect to Vertex AI. Check the service account details, project ID, and Vertex AI permissions. ${(0, get_error_message_1.getErrorMessage)(error)}`,
94
+ };
95
+ }
96
+ }
97
+ async function searchGoogleProjects(credentials, filter, paginationToken) {
98
+ const { ProjectsClient } = await import('@google-cloud/resource-manager');
99
+ const client = new ProjectsClient({
100
+ credentials: (0, google_service_account_1.getGoogleServiceAccountCredentials)(credentials),
101
+ });
102
+ try {
103
+ const trimmedFilter = filter?.trim();
104
+ let query;
105
+ if (trimmedFilter) {
106
+ const prefix = JSON.stringify(`${trimmedFilter}*`);
107
+ query = `displayName:${prefix} projectId:${prefix}`;
108
+ }
109
+ const [projects, nextPage] = await client.searchProjects({ pageToken: paginationToken, ...(query ? { query } : {}) }, { autoPaginate: false });
110
+ return {
111
+ results: projects.flatMap((project) => {
112
+ if (!project.projectId)
113
+ return [];
114
+ return [
115
+ {
116
+ name: project.displayName
117
+ ? `${project.displayName} (${project.projectId})`
118
+ : project.projectId,
119
+ value: project.projectId,
120
+ },
121
+ ];
122
+ }),
123
+ paginationToken: nextPage?.pageToken ?? undefined,
124
+ };
125
+ }
126
+ finally {
127
+ await client.close();
128
+ }
129
+ }
130
+ //# sourceMappingURL=google-vertex.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"google-vertex.js","sourceRoot":"","sources":["../../utils/google-vertex.ts"],"names":[],"mappings":";;;;;;AAAA,2EAAsE;AACtE,kFAG+C;AAC/C,+CAUsB;AAEtB,iFAAoF;AAEvE,QAAA,4BAA4B,GAAG,YAAY,CAAC;AAE5C,QAAA,uBAAuB,GAAiC;IACpE;QACC,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,cAAc,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE;KAC3D;IACD;QACC,IAAI,EAAE,mBAAmB;QACzB,QAAQ,EAAE,IAAI;QACd,QAAQ,EAAE,8BAA8B;QACxC,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,cAAc,EAAE,CAAC,mBAAmB,CAAC,EAAE,EAAE;KACnE;CACD,CAAC;AAEW,QAAA,0BAA0B,GAAoB;IAC1D,WAAW,EAAE,gBAAgB;IAC7B,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE,SAAS;IACf,gBAAgB,EAAE,IAAI;IACtB,OAAO,EAAE;QACR,EAAE,IAAI,EAAE,wBAAwB,EAAE,KAAK,EAAE,WAAW,EAAE;QACtD,EAAE,IAAI,EAAE,kBAAkB,EAAE,KAAK,EAAE,mBAAmB,EAAE;KACxD;IACD,OAAO,EAAE,WAAW;CACpB,CAAC;AAEF,SAAS,wBAAwB,CAAC,WAA2C;IAC5E,MAAM,OAAO,GAAG,WAAW,CAAC,OAAO,IAAI,QAAA,4BAA4B,CAAC;IACpE,OAAO,OAAO,KAAK,QAAA,4BAA4B,CAAC,CAAC,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC;AACnF,CAAC;AAEM,KAAK,yCACX,OAA6B,EAC7B,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AAK,EAAE,OAAO,CAAC,SAAS;qBACxB;iBACD,CAAC;YACH,CAAC,CAAC;YACF,eAAe,EAAE,QAAQ,EAAE,SAAS,IAAI,SAAS;SACjD,CAAC;IACH,CAAC;YAAS,CAAC;QACV,MAAM,MAAM,CAAC,KAAK,EAAE,CAAC;IACtB,CAAC;AACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@n8n/n8n-nodes-langchain",
3
- "version": "2.43.1",
3
+ "version": "2.44.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "exports": {
@@ -43,6 +43,7 @@
43
43
  "dist/credentials/DaytonaApi.credentials.js",
44
44
  "dist/credentials/DeepSeekApi.credentials.js",
45
45
  "dist/credentials/GooglePalmApi.credentials.js",
46
+ "dist/credentials/GoogleVertexAiApi.credentials.js",
46
47
  "dist/credentials/GroqApi.credentials.js",
47
48
  "dist/credentials/HuggingFaceApi.credentials.js",
48
49
  "dist/credentials/MicrosoftAgent365Api.credentials.js",
@@ -79,6 +80,7 @@
79
80
  "dist/nodes/vendors/Ollama/Ollama.node.js",
80
81
  "dist/nodes/vendors/OpenAi/OpenAi.node.js",
81
82
  "dist/nodes/vendors/Microsoft/MicrosoftAgent365Trigger.node.js",
83
+ "dist/nodes/vendors/Databricks/DatabricksAiAgent.node.js",
82
84
  "dist/nodes/agents/Agent/Agent.node.js",
83
85
  "dist/nodes/agents/Agent/AgentTool.node.js",
84
86
  "dist/nodes/agents/OpenAiAssistant/OpenAiAssistant.node.js",
@@ -199,7 +201,7 @@
199
201
  ]
200
202
  },
201
203
  "devDependencies": {
202
- "@n8n/eslint-plugin-community-nodes": "0.35.0",
204
+ "@n8n/eslint-plugin-community-nodes": "0.36.0",
203
205
  "@n8n/vitest-config": "1.24.0",
204
206
  "@typescript-eslint/typescript-estree": "8.70.0",
205
207
  "@types/basic-auth": "^1.1.3",
@@ -260,16 +262,16 @@
260
262
  "@microsoft/agents-activity": "1.6.1",
261
263
  "@microsoft/agents-hosting": "1.6.1",
262
264
  "@mistralai/mistralai": "^2.2.1",
263
- "@modelcontextprotocol/sdk": "1.26.0",
265
+ "@modelcontextprotocol/sdk": "1.31.0",
264
266
  "@mozilla/readability": "^0.6.0",
265
- "@n8n/ai-utilities": "0.36.1",
266
- "@n8n/client-oauth2": "1.25.1",
267
- "@n8n/config": "2.41.1",
267
+ "@n8n/ai-utilities": "0.37.0",
268
+ "@n8n/client-oauth2": "1.26.0",
269
+ "@n8n/config": "2.42.0",
268
270
  "@n8n/di": "0.17.0",
269
271
  "@n8n/json-schema-to-zod": "1.18.0",
270
272
  "@n8n/typeorm": "0.3.20-16",
271
273
  "@n8n/typescript-config": "1.12.0",
272
- "@n8n/utils": "1.50.0",
274
+ "@n8n/utils": "1.51.0",
273
275
  "@oracle/langchain-oracledb": "0.2.0",
274
276
  "@pinecone-database/pinecone": "^5.0.2",
275
277
  "@qdrant/js-client-rest": "^1.19.0",
@@ -298,9 +300,9 @@
298
300
  "mime-types": "3.0.2",
299
301
  "mongodb": "^6.17.0",
300
302
  "mysql2": "3.23.1",
301
- "n8n-core": "2.43.1",
302
- "n8n-nodes-base": "2.43.1",
303
- "n8n-workflow": "2.43.1",
303
+ "n8n-core": "2.44.0",
304
+ "n8n-nodes-base": "2.44.0",
305
+ "n8n-workflow": "2.44.0",
304
306
  "openai": "6.46.0",
305
307
  "oracledb": "6.10.0",
306
308
  "pg": "8.21.0",