@n8n/n8n-nodes-langchain 2.11.2 → 2.13.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.
- package/dist/credentials/ChatHubVectorStorePGVectorApi.credentials.d.ts +8 -0
- package/dist/credentials/ChatHubVectorStorePGVectorApi.credentials.js +22 -0
- package/dist/credentials/ChatHubVectorStorePGVectorApi.credentials.js.map +1 -0
- package/dist/credentials/ChatHubVectorStorePineconeApi.credentials.d.ts +8 -0
- package/dist/credentials/ChatHubVectorStorePineconeApi.credentials.js +30 -0
- package/dist/credentials/ChatHubVectorStorePineconeApi.credentials.js.map +1 -0
- package/dist/credentials/ChatHubVectorStoreQdrantApi.credentials.d.ts +8 -0
- package/dist/credentials/ChatHubVectorStoreQdrantApi.credentials.js +22 -0
- package/dist/credentials/ChatHubVectorStoreQdrantApi.credentials.js.map +1 -0
- package/dist/known/credentials.json +30 -0
- package/dist/known/nodes.json +12 -0
- package/dist/node-definitions/.nodes-hash +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v1.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v1.ts +38 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v11.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v11.ts +38 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v12.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v12.ts +38 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v13.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v13.ts +38 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v14.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v14.ts +38 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v15.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v15.ts +38 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v16.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v16.ts +38 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v17.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v17.ts +38 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v18.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v18.ts +38 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v19.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v19.ts +38 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v2.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v2.ts +38 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v21.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v21.ts +38 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v22.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v22.ts +38 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v3.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v3.ts +38 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v31.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v31.ts +38 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agentTool/v22.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agentTool/v22.ts +38 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agentTool/v3.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agentTool/v3.ts +38 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chat/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chat/v13.schema.js +38 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chat/v13.ts +303 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/microsoftAgent365Trigger/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/microsoftAgent365Trigger/v11.schema.js +38 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/microsoftAgent365Trigger/v11.ts +59 -0
- package/dist/nodes/agents/Agent/agents/ConversationalAgent/description.js +126 -0
- package/dist/nodes/agents/Agent/agents/ConversationalAgent/description.js.map +1 -1
- package/dist/nodes/agents/Agent/agents/ConversationalAgent/execute.js +6 -1
- package/dist/nodes/agents/Agent/agents/ConversationalAgent/execute.js.map +1 -1
- package/dist/nodes/agents/Agent/agents/OpenAiFunctionsAgent/description.js +126 -0
- package/dist/nodes/agents/Agent/agents/OpenAiFunctionsAgent/description.js.map +1 -1
- package/dist/nodes/agents/Agent/agents/PlanAndExecuteAgent/description.js +126 -0
- package/dist/nodes/agents/Agent/agents/PlanAndExecuteAgent/description.js.map +1 -1
- package/dist/nodes/agents/Agent/agents/PlanAndExecuteAgent/execute.js +6 -1
- package/dist/nodes/agents/Agent/agents/PlanAndExecuteAgent/execute.js.map +1 -1
- package/dist/nodes/agents/Agent/agents/ReActAgent/description.js +126 -0
- package/dist/nodes/agents/Agent/agents/ReActAgent/description.js.map +1 -1
- package/dist/nodes/agents/Agent/agents/ReActAgent/execute.js +6 -1
- package/dist/nodes/agents/Agent/agents/ReActAgent/execute.js.map +1 -1
- package/dist/nodes/agents/Agent/agents/SqlAgent/description.js +126 -0
- package/dist/nodes/agents/Agent/agents/SqlAgent/description.js.map +1 -1
- package/dist/nodes/agents/Agent/agents/SqlAgent/execute.js +6 -1
- package/dist/nodes/agents/Agent/agents/SqlAgent/execute.js.map +1 -1
- package/dist/nodes/agents/Agent/agents/ToolsAgent/V1/execute.js +7 -1
- package/dist/nodes/agents/Agent/agents/ToolsAgent/V1/execute.js.map +1 -1
- package/dist/nodes/agents/Agent/agents/ToolsAgent/V2/execute.js +13 -1
- package/dist/nodes/agents/Agent/agents/ToolsAgent/V2/execute.js.map +1 -1
- package/dist/nodes/agents/Agent/agents/ToolsAgent/V3/helpers/runAgent.js +17 -4
- package/dist/nodes/agents/Agent/agents/ToolsAgent/V3/helpers/runAgent.js.map +1 -1
- package/dist/nodes/agents/Agent/agents/ToolsAgent/V3/types.d.ts +13 -0
- package/dist/nodes/agents/Agent/agents/ToolsAgent/options.js +126 -0
- package/dist/nodes/agents/Agent/agents/ToolsAgent/options.js.map +1 -1
- package/dist/nodes/tools/ToolCode/ToolCode.node.js +4 -21
- package/dist/nodes/tools/ToolCode/ToolCode.node.js.map +1 -1
- package/dist/nodes/trigger/ChatTrigger/Chat.node.js +4 -2
- package/dist/nodes/trigger/ChatTrigger/Chat.node.js.map +1 -1
- package/dist/nodes/vector_store/ChatHubVectorStorePGVector/ChatHubVectorStorePGVector.node.d.ts +20 -0
- package/dist/nodes/vector_store/ChatHubVectorStorePGVector/ChatHubVectorStorePGVector.node.js +142 -0
- package/dist/nodes/vector_store/ChatHubVectorStorePGVector/ChatHubVectorStorePGVector.node.js.map +1 -0
- package/dist/nodes/vector_store/ChatHubVectorStorePinecone/ChatHubVectorStorePinecone.node.d.ts +20 -0
- package/dist/nodes/vector_store/ChatHubVectorStorePinecone/ChatHubVectorStorePinecone.node.js +137 -0
- package/dist/nodes/vector_store/ChatHubVectorStorePinecone/ChatHubVectorStorePinecone.node.js.map +1 -0
- package/dist/nodes/vector_store/ChatHubVectorStoreQdrant/ChatHubVectorStoreQdrant.node.d.ts +20 -0
- package/dist/nodes/vector_store/ChatHubVectorStoreQdrant/ChatHubVectorStoreQdrant.node.js +154 -0
- package/dist/nodes/vector_store/ChatHubVectorStoreQdrant/ChatHubVectorStoreQdrant.node.js.map +1 -0
- package/dist/nodes/vector_store/VectorStoreAzureAISearch/VectorStoreAzureAISearch.node.d.ts +3 -0
- package/dist/nodes/vector_store/VectorStoreChromaDB/VectorStoreChromaDB.node.d.ts +3 -0
- package/dist/nodes/vector_store/VectorStoreInMemory/VectorStoreInMemory.node.d.ts +3 -0
- package/dist/nodes/vector_store/VectorStoreMilvus/VectorStoreMilvus.node.d.ts +3 -0
- package/dist/nodes/vector_store/VectorStoreMongoDBAtlas/VectorStoreMongoDBAtlas.node.d.ts +4 -6
- package/dist/nodes/vector_store/VectorStoreMongoDBAtlas/VectorStoreMongoDBAtlas.node.js +28 -31
- package/dist/nodes/vector_store/VectorStoreMongoDBAtlas/VectorStoreMongoDBAtlas.node.js.map +1 -1
- package/dist/nodes/vector_store/VectorStorePGVector/VectorStorePGVector.node.d.ts +11 -0
- package/dist/nodes/vector_store/VectorStorePGVector/VectorStorePGVector.node.js +2 -1
- package/dist/nodes/vector_store/VectorStorePGVector/VectorStorePGVector.node.js.map +1 -1
- package/dist/nodes/vector_store/VectorStorePinecone/VectorStorePinecone.node.d.ts +3 -0
- package/dist/nodes/vector_store/VectorStoreQdrant/VectorStoreQdrant.node.d.ts +3 -0
- package/dist/nodes/vector_store/VectorStoreRedis/VectorStoreRedis.node.d.ts +3 -0
- package/dist/nodes/vector_store/VectorStoreSupabase/VectorStoreSupabase.node.d.ts +3 -0
- package/dist/nodes/vector_store/VectorStoreWeaviate/VectorStoreWeaviate.node.d.ts +3 -0
- package/dist/nodes/vector_store/VectorStoreZep/VectorStoreZep.node.d.ts +3 -0
- package/dist/nodes/vector_store/shared/chatHub.d.ts +4 -0
- package/dist/nodes/vector_store/shared/chatHub.js +17 -0
- package/dist/nodes/vector_store/shared/chatHub.js.map +1 -0
- package/dist/nodes/vector_store/shared/userScoped.d.ts +3 -0
- package/dist/nodes/vector_store/shared/userScoped.js +22 -0
- package/dist/nodes/vector_store/shared/userScoped.js.map +1 -0
- package/dist/nodes/vendors/Microsoft/MicrosoftAgent365Trigger.node.js +20 -4
- package/dist/nodes/vendors/Microsoft/MicrosoftAgent365Trigger.node.js.map +1 -1
- package/dist/nodes/vendors/Microsoft/langchain-utils.d.ts +2 -3
- package/dist/nodes/vendors/Microsoft/langchain-utils.js +11 -3
- package/dist/nodes/vendors/Microsoft/langchain-utils.js.map +1 -1
- package/dist/nodes/vendors/Microsoft/microsoft-utils.d.ts +8 -5
- package/dist/nodes/vendors/Microsoft/microsoft-utils.js +74 -25
- package/dist/nodes/vendors/Microsoft/microsoft-utils.js.map +1 -1
- package/dist/typecheck.tsbuildinfo +1 -1
- package/dist/types/credentials.json +4 -1
- package/dist/types/nodes.json +10 -7
- package/dist/utils/tracing.d.ts +11 -1
- package/dist/utils/tracing.js +56 -0
- package/dist/utils/tracing.js.map +1 -1
- package/package.json +25 -19
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare class ChatHubVectorStorePGVectorApi implements ICredentialType {
|
|
3
|
+
name: string;
|
|
4
|
+
extends: string[];
|
|
5
|
+
displayName: string;
|
|
6
|
+
documentationUrl: string;
|
|
7
|
+
properties: INodeProperties[];
|
|
8
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ChatHubVectorStorePGVectorApi = void 0;
|
|
4
|
+
class ChatHubVectorStorePGVectorApi {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'chatHubVectorStorePGVectorApi';
|
|
7
|
+
this.extends = ['postgres'];
|
|
8
|
+
this.displayName = 'ChatHub PGVector Store API';
|
|
9
|
+
this.documentationUrl = 'postgres';
|
|
10
|
+
this.properties = [
|
|
11
|
+
{
|
|
12
|
+
displayName: 'Table Name Prefix',
|
|
13
|
+
name: 'tableNamePrefix',
|
|
14
|
+
type: 'string',
|
|
15
|
+
default: 'n8n_vectors',
|
|
16
|
+
description: 'Prefix for table names. The full table name will be {prefix}_{userId}.',
|
|
17
|
+
},
|
|
18
|
+
];
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.ChatHubVectorStorePGVectorApi = ChatHubVectorStorePGVectorApi;
|
|
22
|
+
//# sourceMappingURL=ChatHubVectorStorePGVectorApi.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatHubVectorStorePGVectorApi.credentials.js","sourceRoot":"","sources":["../../credentials/ChatHubVectorStorePGVectorApi.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,6BAA6B;IAA1C;QACC,SAAI,GAAG,+BAA+B,CAAC;QAEvC,YAAO,GAAG,CAAC,UAAU,CAAC,CAAC;QAEvB,gBAAW,GAAG,4BAA4B,CAAC;QAE3C,qBAAgB,GAAG,UAAU,CAAC;QAE9B,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,mBAAmB;gBAChC,IAAI,EAAE,iBAAiB;gBACvB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,aAAa;gBACtB,WAAW,EAAE,wEAAwE;aACrF;SACD,CAAC;IACH,CAAC;CAAA;AAlBD,sEAkBC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare class ChatHubVectorStorePineconeApi implements ICredentialType {
|
|
3
|
+
name: string;
|
|
4
|
+
extends: string[];
|
|
5
|
+
displayName: string;
|
|
6
|
+
documentationUrl: string;
|
|
7
|
+
properties: INodeProperties[];
|
|
8
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ChatHubVectorStorePineconeApi = void 0;
|
|
4
|
+
class ChatHubVectorStorePineconeApi {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'chatHubVectorStorePineconeApi';
|
|
7
|
+
this.extends = ['pineconeApi'];
|
|
8
|
+
this.displayName = 'ChatHub Pinecone Vector Store API';
|
|
9
|
+
this.documentationUrl = 'pinecone';
|
|
10
|
+
this.properties = [
|
|
11
|
+
{
|
|
12
|
+
displayName: 'Pinecone Index',
|
|
13
|
+
name: 'pineconeIndex',
|
|
14
|
+
type: 'string',
|
|
15
|
+
default: '',
|
|
16
|
+
required: true,
|
|
17
|
+
description: 'The Pinecone index to use for all users.',
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
displayName: 'Namespace Prefix',
|
|
21
|
+
name: 'namespacePrefix',
|
|
22
|
+
type: 'string',
|
|
23
|
+
default: 'n8n_vectors',
|
|
24
|
+
description: 'Prefix for namespace names. The full namespace will be {prefix}_{userId}.',
|
|
25
|
+
},
|
|
26
|
+
];
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
exports.ChatHubVectorStorePineconeApi = ChatHubVectorStorePineconeApi;
|
|
30
|
+
//# sourceMappingURL=ChatHubVectorStorePineconeApi.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatHubVectorStorePineconeApi.credentials.js","sourceRoot":"","sources":["../../credentials/ChatHubVectorStorePineconeApi.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,6BAA6B;IAA1C;QACC,SAAI,GAAG,+BAA+B,CAAC;QAEvC,YAAO,GAAG,CAAC,aAAa,CAAC,CAAC;QAE1B,gBAAW,GAAG,mCAAmC,CAAC;QAElD,qBAAgB,GAAG,UAAU,CAAC;QAE9B,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,gBAAgB;gBAC7B,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,0CAA0C;aACvD;YACD;gBACC,WAAW,EAAE,kBAAkB;gBAC/B,IAAI,EAAE,iBAAiB;gBACvB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,aAAa;gBACtB,WAAW,EAAE,2EAA2E;aACxF;SACD,CAAC;IACH,CAAC;CAAA;AA1BD,sEA0BC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare class ChatHubVectorStoreQdrantApi implements ICredentialType {
|
|
3
|
+
name: string;
|
|
4
|
+
extends: string[];
|
|
5
|
+
displayName: string;
|
|
6
|
+
documentationUrl: string;
|
|
7
|
+
properties: INodeProperties[];
|
|
8
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ChatHubVectorStoreQdrantApi = void 0;
|
|
4
|
+
class ChatHubVectorStoreQdrantApi {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'chatHubVectorStoreQdrantApi';
|
|
7
|
+
this.extends = ['qdrantApi'];
|
|
8
|
+
this.displayName = 'ChatHub Qdrant Vector Store API';
|
|
9
|
+
this.documentationUrl = 'qdrant';
|
|
10
|
+
this.properties = [
|
|
11
|
+
{
|
|
12
|
+
displayName: 'Collection Name',
|
|
13
|
+
name: 'collectionName',
|
|
14
|
+
type: 'string',
|
|
15
|
+
default: 'n8n_vectors',
|
|
16
|
+
description: 'The Qdrant collection to use. All users share this collection; access is scoped per user via a userId metadata field. The collection is created automatically if it does not exist.',
|
|
17
|
+
},
|
|
18
|
+
];
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.ChatHubVectorStoreQdrantApi = ChatHubVectorStoreQdrantApi;
|
|
22
|
+
//# sourceMappingURL=ChatHubVectorStoreQdrantApi.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatHubVectorStoreQdrantApi.credentials.js","sourceRoot":"","sources":["../../credentials/ChatHubVectorStoreQdrantApi.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,2BAA2B;IAAxC;QACC,SAAI,GAAG,6BAA6B,CAAC;QAErC,YAAO,GAAG,CAAC,WAAW,CAAC,CAAC;QAExB,gBAAW,GAAG,iCAAiC,CAAC;QAEhD,qBAAgB,GAAG,QAAQ,CAAC;QAE5B,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,iBAAiB;gBAC9B,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,aAAa;gBACtB,WAAW,EACV,qLAAqL;aACtL;SACD,CAAC;IACH,CAAC;CAAA;AAnBD,kEAmBC"}
|
|
@@ -227,5 +227,35 @@
|
|
|
227
227
|
"vectorStoreZepInsert",
|
|
228
228
|
"vectorStoreZepLoad"
|
|
229
229
|
]
|
|
230
|
+
},
|
|
231
|
+
"chatHubVectorStorePGVectorApi": {
|
|
232
|
+
"className": "ChatHubVectorStorePGVectorApi",
|
|
233
|
+
"sourcePath": "dist/credentials/ChatHubVectorStorePGVectorApi.credentials.js",
|
|
234
|
+
"extends": [
|
|
235
|
+
"postgres"
|
|
236
|
+
],
|
|
237
|
+
"supportedNodes": [
|
|
238
|
+
"chatHubVectorStorePGVector"
|
|
239
|
+
]
|
|
240
|
+
},
|
|
241
|
+
"chatHubVectorStoreQdrantApi": {
|
|
242
|
+
"className": "ChatHubVectorStoreQdrantApi",
|
|
243
|
+
"sourcePath": "dist/credentials/ChatHubVectorStoreQdrantApi.credentials.js",
|
|
244
|
+
"extends": [
|
|
245
|
+
"qdrantApi"
|
|
246
|
+
],
|
|
247
|
+
"supportedNodes": [
|
|
248
|
+
"chatHubVectorStoreQdrant"
|
|
249
|
+
]
|
|
250
|
+
},
|
|
251
|
+
"chatHubVectorStorePineconeApi": {
|
|
252
|
+
"className": "ChatHubVectorStorePineconeApi",
|
|
253
|
+
"sourcePath": "dist/credentials/ChatHubVectorStorePineconeApi.credentials.js",
|
|
254
|
+
"extends": [
|
|
255
|
+
"pineconeApi"
|
|
256
|
+
],
|
|
257
|
+
"supportedNodes": [
|
|
258
|
+
"chatHubVectorStorePinecone"
|
|
259
|
+
]
|
|
230
260
|
}
|
|
231
261
|
}
|
package/dist/known/nodes.json
CHANGED
|
@@ -367,10 +367,22 @@
|
|
|
367
367
|
"className": "VectorStorePGVector",
|
|
368
368
|
"sourcePath": "dist/nodes/vector_store/VectorStorePGVector/VectorStorePGVector.node.js"
|
|
369
369
|
},
|
|
370
|
+
"chatHubVectorStorePGVector": {
|
|
371
|
+
"className": "ChatHubVectorStorePGVector",
|
|
372
|
+
"sourcePath": "dist/nodes/vector_store/ChatHubVectorStorePGVector/ChatHubVectorStorePGVector.node.js"
|
|
373
|
+
},
|
|
374
|
+
"chatHubVectorStoreQdrant": {
|
|
375
|
+
"className": "ChatHubVectorStoreQdrant",
|
|
376
|
+
"sourcePath": "dist/nodes/vector_store/ChatHubVectorStoreQdrant/ChatHubVectorStoreQdrant.node.js"
|
|
377
|
+
},
|
|
370
378
|
"vectorStorePinecone": {
|
|
371
379
|
"className": "VectorStorePinecone",
|
|
372
380
|
"sourcePath": "dist/nodes/vector_store/VectorStorePinecone/VectorStorePinecone.node.js"
|
|
373
381
|
},
|
|
382
|
+
"chatHubVectorStorePinecone": {
|
|
383
|
+
"className": "ChatHubVectorStorePinecone",
|
|
384
|
+
"sourcePath": "dist/nodes/vector_store/ChatHubVectorStorePinecone/ChatHubVectorStorePinecone.node.js"
|
|
385
|
+
},
|
|
374
386
|
"vectorStorePineconeInsert": {
|
|
375
387
|
"className": "VectorStorePineconeInsert",
|
|
376
388
|
"sourcePath": "dist/nodes/vector_store/VectorStorePineconeInsert/VectorStorePineconeInsert.node.js"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
2922d45176ee4240a7280bbc52bf1aa6e1871ae04d15c07de8bdf97621202586
|
|
@@ -27,7 +27,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
27
27
|
aiAgentStarterCallout: resolveSchema({ parameters, schema: z.unknown(), required: false, displayOptions: {"show":{"agent":["conversationalAgent","toolsAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
28
28
|
agent: z.union([z.literal('conversationalAgent'), z.literal('openAiFunctionsAgent'), z.literal('planAndExecuteAgent'), z.literal('reActAgent'), z.literal('sqlAgent')]).optional(),
|
|
29
29
|
text: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"promptType":["define"],"agent":["conversationalAgent","openAiFunctionsAgent","reActAgent","sqlAgent","planAndExecuteAgent"]},"hide":{"agent":["sqlAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
30
|
-
options: resolveSchema({ parameters, schema: z.object({ systemMessage: stringOrExpression.optional(), maxIterations: numberOrExpression.optional(), returnIntermediateSteps: booleanOrExpression.optional(), passthroughBinaryImages: booleanOrExpression.optional(), humanMessage: stringOrExpression.optional(), humanMessageTemplate: stringOrExpression.optional(), prefix: stringOrExpression.optional(), suffixChat: stringOrExpression.optional(), suffix: stringOrExpression.optional(), ignoredTables: stringOrExpression.optional(), includedSampleRows: numberOrExpression.optional(), includedTables: stringOrExpression.optional(), prefixPrompt: stringOrExpression.optional(), suffixPrompt: stringOrExpression.optional(), topK: numberOrExpression.optional() }), required: false, displayOptions: {"show":{"agent":["toolsAgent","conversationalAgent","openAiFunctionsAgent","reActAgent","sqlAgent","planAndExecuteAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
30
|
+
options: resolveSchema({ parameters, schema: z.object({ systemMessage: stringOrExpression.optional(), maxIterations: numberOrExpression.optional(), returnIntermediateSteps: booleanOrExpression.optional(), passthroughBinaryImages: booleanOrExpression.optional(), tracingMetadata: z.unknown().optional(), humanMessage: stringOrExpression.optional(), humanMessageTemplate: stringOrExpression.optional(), prefix: stringOrExpression.optional(), suffixChat: stringOrExpression.optional(), suffix: stringOrExpression.optional(), ignoredTables: stringOrExpression.optional(), includedSampleRows: numberOrExpression.optional(), includedTables: stringOrExpression.optional(), prefixPrompt: stringOrExpression.optional(), suffixPrompt: stringOrExpression.optional(), topK: numberOrExpression.optional() }), required: false, displayOptions: {"show":{"agent":["toolsAgent","conversationalAgent","openAiFunctionsAgent","reActAgent","sqlAgent","planAndExecuteAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
31
31
|
dataSource: resolveSchema({ parameters, schema: z.union([z.literal('mysql'), z.literal('postgres'), z.literal('sqlite'), expressionSchema]), required: false, displayOptions: {"show":{"agent":["sqlAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
32
32
|
binaryPropertyName: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"agent":["sqlAgent"],"dataSource":["sqlite"]}}, defaults: {"agent":"conversationalAgent","dataSource":"sqlite"} }),
|
|
33
33
|
input: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"agent":["sqlAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
@@ -45,6 +45,44 @@ export interface LcAgentV1Params {
|
|
|
45
45
|
* @default true
|
|
46
46
|
*/
|
|
47
47
|
passthroughBinaryImages?: boolean | Expression<boolean>;
|
|
48
|
+
/** Custom metadata added to tracing events
|
|
49
|
+
* @default {}
|
|
50
|
+
*/
|
|
51
|
+
tracingMetadata?: {
|
|
52
|
+
/** Metadata
|
|
53
|
+
*/
|
|
54
|
+
values?: Array<{
|
|
55
|
+
/** Key
|
|
56
|
+
*/
|
|
57
|
+
key?: string | Expression<string> | PlaceholderValue;
|
|
58
|
+
/** The field value type
|
|
59
|
+
* @default stringValue
|
|
60
|
+
*/
|
|
61
|
+
type?: 'arrayValue' | 'booleanValue' | 'numberValue' | 'objectValue' | 'stringValue' | Expression<string>;
|
|
62
|
+
/** Value
|
|
63
|
+
* @displayOptions.show { type: ["stringValue"] }
|
|
64
|
+
*/
|
|
65
|
+
stringValue?: string | Expression<string> | PlaceholderValue;
|
|
66
|
+
/** Value
|
|
67
|
+
* @displayOptions.show { type: ["numberValue"] }
|
|
68
|
+
*/
|
|
69
|
+
numberValue?: string | Expression<string> | PlaceholderValue;
|
|
70
|
+
/** Value
|
|
71
|
+
* @displayOptions.show { type: ["booleanValue"] }
|
|
72
|
+
* @default true
|
|
73
|
+
*/
|
|
74
|
+
booleanValue?: 'true' | 'false' | Expression<string>;
|
|
75
|
+
/** Value
|
|
76
|
+
* @displayOptions.show { type: ["arrayValue"] }
|
|
77
|
+
*/
|
|
78
|
+
arrayValue?: string | Expression<string> | PlaceholderValue;
|
|
79
|
+
/** Value
|
|
80
|
+
* @displayOptions.show { type: ["objectValue"] }
|
|
81
|
+
* @default ={}
|
|
82
|
+
*/
|
|
83
|
+
objectValue?: IDataObject | string | Expression<string>;
|
|
84
|
+
}>;
|
|
85
|
+
};
|
|
48
86
|
/** The message that will provide the agent with a list of tools to use
|
|
49
87
|
*/
|
|
50
88
|
humanMessage?: string | Expression<string> | PlaceholderValue;
|
|
@@ -26,7 +26,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
26
26
|
const parametersSchema = z.object({
|
|
27
27
|
aiAgentStarterCallout: resolveSchema({ parameters, schema: z.unknown(), required: false, displayOptions: {"show":{"agent":["conversationalAgent","toolsAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
28
28
|
agent: z.union([z.literal('conversationalAgent'), z.literal('openAiFunctionsAgent'), z.literal('planAndExecuteAgent'), z.literal('reActAgent'), z.literal('sqlAgent')]).optional(),
|
|
29
|
-
options: resolveSchema({ parameters, schema: z.object({ systemMessage: stringOrExpression.optional(), maxIterations: numberOrExpression.optional(), returnIntermediateSteps: booleanOrExpression.optional(), passthroughBinaryImages: booleanOrExpression.optional(), humanMessage: stringOrExpression.optional(), humanMessageTemplate: stringOrExpression.optional(), prefix: stringOrExpression.optional(), suffixChat: stringOrExpression.optional(), suffix: stringOrExpression.optional(), ignoredTables: stringOrExpression.optional(), includedSampleRows: numberOrExpression.optional(), includedTables: stringOrExpression.optional(), prefixPrompt: stringOrExpression.optional(), suffixPrompt: stringOrExpression.optional(), topK: numberOrExpression.optional() }), required: false, displayOptions: {"show":{"agent":["toolsAgent","conversationalAgent","openAiFunctionsAgent","reActAgent","sqlAgent","planAndExecuteAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
29
|
+
options: resolveSchema({ parameters, schema: z.object({ systemMessage: stringOrExpression.optional(), maxIterations: numberOrExpression.optional(), returnIntermediateSteps: booleanOrExpression.optional(), passthroughBinaryImages: booleanOrExpression.optional(), tracingMetadata: z.unknown().optional(), humanMessage: stringOrExpression.optional(), humanMessageTemplate: stringOrExpression.optional(), prefix: stringOrExpression.optional(), suffixChat: stringOrExpression.optional(), suffix: stringOrExpression.optional(), ignoredTables: stringOrExpression.optional(), includedSampleRows: numberOrExpression.optional(), includedTables: stringOrExpression.optional(), prefixPrompt: stringOrExpression.optional(), suffixPrompt: stringOrExpression.optional(), topK: numberOrExpression.optional() }), required: false, displayOptions: {"show":{"agent":["toolsAgent","conversationalAgent","openAiFunctionsAgent","reActAgent","sqlAgent","planAndExecuteAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
30
30
|
text: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"agent":["conversationalAgent","openAiFunctionsAgent","reActAgent","sqlAgent","planAndExecuteAgent"],"promptType":["define"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
31
31
|
dataSource: resolveSchema({ parameters, schema: z.union([z.literal('mysql'), z.literal('postgres'), z.literal('sqlite'), expressionSchema]), required: false, displayOptions: {"show":{"agent":["sqlAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
32
32
|
binaryPropertyName: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"agent":["sqlAgent"],"dataSource":["sqlite"]}}, defaults: {"agent":"conversationalAgent","dataSource":"sqlite"} }),
|
|
@@ -38,6 +38,44 @@ export interface LcAgentV11Params {
|
|
|
38
38
|
* @default true
|
|
39
39
|
*/
|
|
40
40
|
passthroughBinaryImages?: boolean | Expression<boolean>;
|
|
41
|
+
/** Custom metadata added to tracing events
|
|
42
|
+
* @default {}
|
|
43
|
+
*/
|
|
44
|
+
tracingMetadata?: {
|
|
45
|
+
/** Metadata
|
|
46
|
+
*/
|
|
47
|
+
values?: Array<{
|
|
48
|
+
/** Key
|
|
49
|
+
*/
|
|
50
|
+
key?: string | Expression<string> | PlaceholderValue;
|
|
51
|
+
/** The field value type
|
|
52
|
+
* @default stringValue
|
|
53
|
+
*/
|
|
54
|
+
type?: 'arrayValue' | 'booleanValue' | 'numberValue' | 'objectValue' | 'stringValue' | Expression<string>;
|
|
55
|
+
/** Value
|
|
56
|
+
* @displayOptions.show { type: ["stringValue"] }
|
|
57
|
+
*/
|
|
58
|
+
stringValue?: string | Expression<string> | PlaceholderValue;
|
|
59
|
+
/** Value
|
|
60
|
+
* @displayOptions.show { type: ["numberValue"] }
|
|
61
|
+
*/
|
|
62
|
+
numberValue?: string | Expression<string> | PlaceholderValue;
|
|
63
|
+
/** Value
|
|
64
|
+
* @displayOptions.show { type: ["booleanValue"] }
|
|
65
|
+
* @default true
|
|
66
|
+
*/
|
|
67
|
+
booleanValue?: 'true' | 'false' | Expression<string>;
|
|
68
|
+
/** Value
|
|
69
|
+
* @displayOptions.show { type: ["arrayValue"] }
|
|
70
|
+
*/
|
|
71
|
+
arrayValue?: string | Expression<string> | PlaceholderValue;
|
|
72
|
+
/** Value
|
|
73
|
+
* @displayOptions.show { type: ["objectValue"] }
|
|
74
|
+
* @default ={}
|
|
75
|
+
*/
|
|
76
|
+
objectValue?: IDataObject | string | Expression<string>;
|
|
77
|
+
}>;
|
|
78
|
+
};
|
|
41
79
|
/** The message that will provide the agent with a list of tools to use
|
|
42
80
|
*/
|
|
43
81
|
humanMessage?: string | Expression<string> | PlaceholderValue;
|
|
@@ -26,7 +26,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
26
26
|
const parametersSchema = z.object({
|
|
27
27
|
aiAgentStarterCallout: resolveSchema({ parameters, schema: z.unknown(), required: false, displayOptions: {"show":{"agent":["conversationalAgent","toolsAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
28
28
|
agent: z.union([z.literal('conversationalAgent'), z.literal('openAiFunctionsAgent'), z.literal('planAndExecuteAgent'), z.literal('reActAgent'), z.literal('sqlAgent')]).optional(),
|
|
29
|
-
options: resolveSchema({ parameters, schema: z.object({ systemMessage: stringOrExpression.optional(), maxIterations: numberOrExpression.optional(), returnIntermediateSteps: booleanOrExpression.optional(), passthroughBinaryImages: booleanOrExpression.optional(), humanMessage: stringOrExpression.optional(), humanMessageTemplate: stringOrExpression.optional(), prefix: stringOrExpression.optional(), suffixChat: stringOrExpression.optional(), suffix: stringOrExpression.optional(), ignoredTables: stringOrExpression.optional(), includedSampleRows: numberOrExpression.optional(), includedTables: stringOrExpression.optional(), prefixPrompt: stringOrExpression.optional(), suffixPrompt: stringOrExpression.optional(), topK: numberOrExpression.optional() }), required: false, displayOptions: {"show":{"agent":["toolsAgent","conversationalAgent","openAiFunctionsAgent","reActAgent","sqlAgent","planAndExecuteAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
29
|
+
options: resolveSchema({ parameters, schema: z.object({ systemMessage: stringOrExpression.optional(), maxIterations: numberOrExpression.optional(), returnIntermediateSteps: booleanOrExpression.optional(), passthroughBinaryImages: booleanOrExpression.optional(), tracingMetadata: z.unknown().optional(), humanMessage: stringOrExpression.optional(), humanMessageTemplate: stringOrExpression.optional(), prefix: stringOrExpression.optional(), suffixChat: stringOrExpression.optional(), suffix: stringOrExpression.optional(), ignoredTables: stringOrExpression.optional(), includedSampleRows: numberOrExpression.optional(), includedTables: stringOrExpression.optional(), prefixPrompt: stringOrExpression.optional(), suffixPrompt: stringOrExpression.optional(), topK: numberOrExpression.optional() }), required: false, displayOptions: {"show":{"agent":["toolsAgent","conversationalAgent","openAiFunctionsAgent","reActAgent","sqlAgent","planAndExecuteAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
30
30
|
text: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"agent":["conversationalAgent","openAiFunctionsAgent","reActAgent","sqlAgent","planAndExecuteAgent"],"promptType":["define"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
31
31
|
dataSource: resolveSchema({ parameters, schema: z.union([z.literal('mysql'), z.literal('postgres'), z.literal('sqlite'), expressionSchema]), required: false, displayOptions: {"show":{"agent":["sqlAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
32
32
|
binaryPropertyName: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"agent":["sqlAgent"],"dataSource":["sqlite"]}}, defaults: {"agent":"conversationalAgent","dataSource":"sqlite"} }),
|
|
@@ -38,6 +38,44 @@ export interface LcAgentV12Params {
|
|
|
38
38
|
* @default true
|
|
39
39
|
*/
|
|
40
40
|
passthroughBinaryImages?: boolean | Expression<boolean>;
|
|
41
|
+
/** Custom metadata added to tracing events
|
|
42
|
+
* @default {}
|
|
43
|
+
*/
|
|
44
|
+
tracingMetadata?: {
|
|
45
|
+
/** Metadata
|
|
46
|
+
*/
|
|
47
|
+
values?: Array<{
|
|
48
|
+
/** Key
|
|
49
|
+
*/
|
|
50
|
+
key?: string | Expression<string> | PlaceholderValue;
|
|
51
|
+
/** The field value type
|
|
52
|
+
* @default stringValue
|
|
53
|
+
*/
|
|
54
|
+
type?: 'arrayValue' | 'booleanValue' | 'numberValue' | 'objectValue' | 'stringValue' | Expression<string>;
|
|
55
|
+
/** Value
|
|
56
|
+
* @displayOptions.show { type: ["stringValue"] }
|
|
57
|
+
*/
|
|
58
|
+
stringValue?: string | Expression<string> | PlaceholderValue;
|
|
59
|
+
/** Value
|
|
60
|
+
* @displayOptions.show { type: ["numberValue"] }
|
|
61
|
+
*/
|
|
62
|
+
numberValue?: string | Expression<string> | PlaceholderValue;
|
|
63
|
+
/** Value
|
|
64
|
+
* @displayOptions.show { type: ["booleanValue"] }
|
|
65
|
+
* @default true
|
|
66
|
+
*/
|
|
67
|
+
booleanValue?: 'true' | 'false' | Expression<string>;
|
|
68
|
+
/** Value
|
|
69
|
+
* @displayOptions.show { type: ["arrayValue"] }
|
|
70
|
+
*/
|
|
71
|
+
arrayValue?: string | Expression<string> | PlaceholderValue;
|
|
72
|
+
/** Value
|
|
73
|
+
* @displayOptions.show { type: ["objectValue"] }
|
|
74
|
+
* @default ={}
|
|
75
|
+
*/
|
|
76
|
+
objectValue?: IDataObject | string | Expression<string>;
|
|
77
|
+
}>;
|
|
78
|
+
};
|
|
41
79
|
/** The message that will provide the agent with a list of tools to use
|
|
42
80
|
*/
|
|
43
81
|
humanMessage?: string | Expression<string> | PlaceholderValue;
|
|
@@ -28,7 +28,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
28
28
|
agent: z.union([z.literal('conversationalAgent'), z.literal('openAiFunctionsAgent'), z.literal('planAndExecuteAgent'), z.literal('reActAgent'), z.literal('sqlAgent')]).optional(),
|
|
29
29
|
promptType: resolveSchema({ parameters, schema: z.union([z.literal('auto'), z.literal('guardrails'), z.literal('define'), expressionSchema]), required: false, displayOptions: {"show":{"agent":["sqlAgent"]},"hide":{"agent":["sqlAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
30
30
|
hasOutputParser: resolveSchema({ parameters, schema: z.boolean(), required: false, displayOptions: {"hide":{"agent":["sqlAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
31
|
-
options: resolveSchema({ parameters, schema: z.object({ systemMessage: stringOrExpression.optional(), maxIterations: numberOrExpression.optional(), returnIntermediateSteps: booleanOrExpression.optional(), passthroughBinaryImages: booleanOrExpression.optional(), humanMessage: stringOrExpression.optional(), humanMessageTemplate: stringOrExpression.optional(), prefix: stringOrExpression.optional(), suffixChat: stringOrExpression.optional(), suffix: stringOrExpression.optional(), ignoredTables: stringOrExpression.optional(), includedSampleRows: numberOrExpression.optional(), includedTables: stringOrExpression.optional(), prefixPrompt: stringOrExpression.optional(), suffixPrompt: stringOrExpression.optional(), topK: numberOrExpression.optional() }), required: false, displayOptions: {"show":{"agent":["toolsAgent","conversationalAgent","openAiFunctionsAgent","reActAgent","sqlAgent","planAndExecuteAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
31
|
+
options: resolveSchema({ parameters, schema: z.object({ systemMessage: stringOrExpression.optional(), maxIterations: numberOrExpression.optional(), returnIntermediateSteps: booleanOrExpression.optional(), passthroughBinaryImages: booleanOrExpression.optional(), tracingMetadata: z.unknown().optional(), humanMessage: stringOrExpression.optional(), humanMessageTemplate: stringOrExpression.optional(), prefix: stringOrExpression.optional(), suffixChat: stringOrExpression.optional(), suffix: stringOrExpression.optional(), ignoredTables: stringOrExpression.optional(), includedSampleRows: numberOrExpression.optional(), includedTables: stringOrExpression.optional(), prefixPrompt: stringOrExpression.optional(), suffixPrompt: stringOrExpression.optional(), topK: numberOrExpression.optional() }), required: false, displayOptions: {"show":{"agent":["toolsAgent","conversationalAgent","openAiFunctionsAgent","reActAgent","sqlAgent","planAndExecuteAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
32
32
|
dataSource: resolveSchema({ parameters, schema: z.union([z.literal('mysql'), z.literal('postgres'), z.literal('sqlite'), expressionSchema]), required: false, displayOptions: {"show":{"agent":["sqlAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
33
33
|
binaryPropertyName: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"agent":["sqlAgent"],"dataSource":["sqlite"]}}, defaults: {"agent":"conversationalAgent","dataSource":"sqlite"} }),
|
|
34
34
|
text: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"promptType":["define"],"agent":["sqlAgent"]}}, defaults: {"promptType":"auto","agent":"conversationalAgent"} }),
|
|
@@ -50,6 +50,44 @@ export interface LcAgentV13Params {
|
|
|
50
50
|
* @default true
|
|
51
51
|
*/
|
|
52
52
|
passthroughBinaryImages?: boolean | Expression<boolean>;
|
|
53
|
+
/** Custom metadata added to tracing events
|
|
54
|
+
* @default {}
|
|
55
|
+
*/
|
|
56
|
+
tracingMetadata?: {
|
|
57
|
+
/** Metadata
|
|
58
|
+
*/
|
|
59
|
+
values?: Array<{
|
|
60
|
+
/** Key
|
|
61
|
+
*/
|
|
62
|
+
key?: string | Expression<string> | PlaceholderValue;
|
|
63
|
+
/** The field value type
|
|
64
|
+
* @default stringValue
|
|
65
|
+
*/
|
|
66
|
+
type?: 'arrayValue' | 'booleanValue' | 'numberValue' | 'objectValue' | 'stringValue' | Expression<string>;
|
|
67
|
+
/** Value
|
|
68
|
+
* @displayOptions.show { type: ["stringValue"] }
|
|
69
|
+
*/
|
|
70
|
+
stringValue?: string | Expression<string> | PlaceholderValue;
|
|
71
|
+
/** Value
|
|
72
|
+
* @displayOptions.show { type: ["numberValue"] }
|
|
73
|
+
*/
|
|
74
|
+
numberValue?: string | Expression<string> | PlaceholderValue;
|
|
75
|
+
/** Value
|
|
76
|
+
* @displayOptions.show { type: ["booleanValue"] }
|
|
77
|
+
* @default true
|
|
78
|
+
*/
|
|
79
|
+
booleanValue?: 'true' | 'false' | Expression<string>;
|
|
80
|
+
/** Value
|
|
81
|
+
* @displayOptions.show { type: ["arrayValue"] }
|
|
82
|
+
*/
|
|
83
|
+
arrayValue?: string | Expression<string> | PlaceholderValue;
|
|
84
|
+
/** Value
|
|
85
|
+
* @displayOptions.show { type: ["objectValue"] }
|
|
86
|
+
* @default ={}
|
|
87
|
+
*/
|
|
88
|
+
objectValue?: IDataObject | string | Expression<string>;
|
|
89
|
+
}>;
|
|
90
|
+
};
|
|
53
91
|
/** The message that will provide the agent with a list of tools to use
|
|
54
92
|
*/
|
|
55
93
|
humanMessage?: string | Expression<string> | PlaceholderValue;
|
|
@@ -28,7 +28,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
28
28
|
agent: z.union([z.literal('conversationalAgent'), z.literal('openAiFunctionsAgent'), z.literal('planAndExecuteAgent'), z.literal('reActAgent'), z.literal('sqlAgent')]).optional(),
|
|
29
29
|
promptType: resolveSchema({ parameters, schema: z.union([z.literal('auto'), z.literal('guardrails'), z.literal('define'), expressionSchema]), required: false, displayOptions: {"show":{"agent":["sqlAgent"]},"hide":{"agent":["sqlAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
30
30
|
hasOutputParser: resolveSchema({ parameters, schema: z.boolean(), required: false, displayOptions: {"hide":{"agent":["sqlAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
31
|
-
options: resolveSchema({ parameters, schema: z.object({ systemMessage: stringOrExpression.optional(), maxIterations: numberOrExpression.optional(), returnIntermediateSteps: booleanOrExpression.optional(), passthroughBinaryImages: booleanOrExpression.optional(), humanMessage: stringOrExpression.optional(), humanMessageTemplate: stringOrExpression.optional(), prefix: stringOrExpression.optional(), suffixChat: stringOrExpression.optional(), suffix: stringOrExpression.optional(), ignoredTables: stringOrExpression.optional(), includedSampleRows: numberOrExpression.optional(), includedTables: stringOrExpression.optional(), prefixPrompt: stringOrExpression.optional(), suffixPrompt: stringOrExpression.optional(), topK: numberOrExpression.optional() }), required: false, displayOptions: {"show":{"agent":["toolsAgent","conversationalAgent","openAiFunctionsAgent","reActAgent","sqlAgent","planAndExecuteAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
31
|
+
options: resolveSchema({ parameters, schema: z.object({ systemMessage: stringOrExpression.optional(), maxIterations: numberOrExpression.optional(), returnIntermediateSteps: booleanOrExpression.optional(), passthroughBinaryImages: booleanOrExpression.optional(), tracingMetadata: z.unknown().optional(), humanMessage: stringOrExpression.optional(), humanMessageTemplate: stringOrExpression.optional(), prefix: stringOrExpression.optional(), suffixChat: stringOrExpression.optional(), suffix: stringOrExpression.optional(), ignoredTables: stringOrExpression.optional(), includedSampleRows: numberOrExpression.optional(), includedTables: stringOrExpression.optional(), prefixPrompt: stringOrExpression.optional(), suffixPrompt: stringOrExpression.optional(), topK: numberOrExpression.optional() }), required: false, displayOptions: {"show":{"agent":["toolsAgent","conversationalAgent","openAiFunctionsAgent","reActAgent","sqlAgent","planAndExecuteAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
32
32
|
dataSource: resolveSchema({ parameters, schema: z.union([z.literal('mysql'), z.literal('postgres'), z.literal('sqlite'), expressionSchema]), required: false, displayOptions: {"show":{"agent":["sqlAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
33
33
|
binaryPropertyName: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"agent":["sqlAgent"],"dataSource":["sqlite"]}}, defaults: {"agent":"conversationalAgent","dataSource":"postgres"} }),
|
|
34
34
|
text: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"promptType":["define"],"agent":["sqlAgent"]}}, defaults: {"promptType":"auto","agent":"conversationalAgent"} }),
|
|
@@ -50,6 +50,44 @@ export interface LcAgentV14Params {
|
|
|
50
50
|
* @default true
|
|
51
51
|
*/
|
|
52
52
|
passthroughBinaryImages?: boolean | Expression<boolean>;
|
|
53
|
+
/** Custom metadata added to tracing events
|
|
54
|
+
* @default {}
|
|
55
|
+
*/
|
|
56
|
+
tracingMetadata?: {
|
|
57
|
+
/** Metadata
|
|
58
|
+
*/
|
|
59
|
+
values?: Array<{
|
|
60
|
+
/** Key
|
|
61
|
+
*/
|
|
62
|
+
key?: string | Expression<string> | PlaceholderValue;
|
|
63
|
+
/** The field value type
|
|
64
|
+
* @default stringValue
|
|
65
|
+
*/
|
|
66
|
+
type?: 'arrayValue' | 'booleanValue' | 'numberValue' | 'objectValue' | 'stringValue' | Expression<string>;
|
|
67
|
+
/** Value
|
|
68
|
+
* @displayOptions.show { type: ["stringValue"] }
|
|
69
|
+
*/
|
|
70
|
+
stringValue?: string | Expression<string> | PlaceholderValue;
|
|
71
|
+
/** Value
|
|
72
|
+
* @displayOptions.show { type: ["numberValue"] }
|
|
73
|
+
*/
|
|
74
|
+
numberValue?: string | Expression<string> | PlaceholderValue;
|
|
75
|
+
/** Value
|
|
76
|
+
* @displayOptions.show { type: ["booleanValue"] }
|
|
77
|
+
* @default true
|
|
78
|
+
*/
|
|
79
|
+
booleanValue?: 'true' | 'false' | Expression<string>;
|
|
80
|
+
/** Value
|
|
81
|
+
* @displayOptions.show { type: ["arrayValue"] }
|
|
82
|
+
*/
|
|
83
|
+
arrayValue?: string | Expression<string> | PlaceholderValue;
|
|
84
|
+
/** Value
|
|
85
|
+
* @displayOptions.show { type: ["objectValue"] }
|
|
86
|
+
* @default ={}
|
|
87
|
+
*/
|
|
88
|
+
objectValue?: IDataObject | string | Expression<string>;
|
|
89
|
+
}>;
|
|
90
|
+
};
|
|
53
91
|
/** The message that will provide the agent with a list of tools to use
|
|
54
92
|
*/
|
|
55
93
|
humanMessage?: string | Expression<string> | PlaceholderValue;
|
|
@@ -28,7 +28,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
28
28
|
agent: z.union([z.literal('conversationalAgent'), z.literal('openAiFunctionsAgent'), z.literal('planAndExecuteAgent'), z.literal('reActAgent'), z.literal('sqlAgent')]).optional(),
|
|
29
29
|
promptType: resolveSchema({ parameters, schema: z.union([z.literal('auto'), z.literal('guardrails'), z.literal('define'), expressionSchema]), required: false, displayOptions: {"show":{"agent":["sqlAgent"]},"hide":{"agent":["sqlAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
30
30
|
hasOutputParser: resolveSchema({ parameters, schema: z.boolean(), required: false, displayOptions: {"hide":{"agent":["sqlAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
31
|
-
options: resolveSchema({ parameters, schema: z.object({ systemMessage: stringOrExpression.optional(), maxIterations: numberOrExpression.optional(), returnIntermediateSteps: booleanOrExpression.optional(), passthroughBinaryImages: booleanOrExpression.optional(), humanMessage: stringOrExpression.optional(), humanMessageTemplate: stringOrExpression.optional(), prefix: stringOrExpression.optional(), suffixChat: stringOrExpression.optional(), suffix: stringOrExpression.optional(), ignoredTables: stringOrExpression.optional(), includedSampleRows: numberOrExpression.optional(), includedTables: stringOrExpression.optional(), prefixPrompt: stringOrExpression.optional(), suffixPrompt: stringOrExpression.optional(), topK: numberOrExpression.optional() }), required: false, displayOptions: {"show":{"agent":["toolsAgent","conversationalAgent","openAiFunctionsAgent","reActAgent","sqlAgent","planAndExecuteAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
31
|
+
options: resolveSchema({ parameters, schema: z.object({ systemMessage: stringOrExpression.optional(), maxIterations: numberOrExpression.optional(), returnIntermediateSteps: booleanOrExpression.optional(), passthroughBinaryImages: booleanOrExpression.optional(), tracingMetadata: z.unknown().optional(), humanMessage: stringOrExpression.optional(), humanMessageTemplate: stringOrExpression.optional(), prefix: stringOrExpression.optional(), suffixChat: stringOrExpression.optional(), suffix: stringOrExpression.optional(), ignoredTables: stringOrExpression.optional(), includedSampleRows: numberOrExpression.optional(), includedTables: stringOrExpression.optional(), prefixPrompt: stringOrExpression.optional(), suffixPrompt: stringOrExpression.optional(), topK: numberOrExpression.optional() }), required: false, displayOptions: {"show":{"agent":["toolsAgent","conversationalAgent","openAiFunctionsAgent","reActAgent","sqlAgent","planAndExecuteAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
32
32
|
dataSource: resolveSchema({ parameters, schema: z.union([z.literal('mysql'), z.literal('postgres'), z.literal('sqlite'), expressionSchema]), required: false, displayOptions: {"show":{"agent":["sqlAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
33
33
|
binaryPropertyName: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"agent":["sqlAgent"],"dataSource":["sqlite"]}}, defaults: {"agent":"conversationalAgent","dataSource":"postgres"} }),
|
|
34
34
|
text: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"promptType":["define"],"agent":["sqlAgent"]}}, defaults: {"promptType":"auto","agent":"conversationalAgent"} }),
|
|
@@ -50,6 +50,44 @@ export interface LcAgentV15Params {
|
|
|
50
50
|
* @default true
|
|
51
51
|
*/
|
|
52
52
|
passthroughBinaryImages?: boolean | Expression<boolean>;
|
|
53
|
+
/** Custom metadata added to tracing events
|
|
54
|
+
* @default {}
|
|
55
|
+
*/
|
|
56
|
+
tracingMetadata?: {
|
|
57
|
+
/** Metadata
|
|
58
|
+
*/
|
|
59
|
+
values?: Array<{
|
|
60
|
+
/** Key
|
|
61
|
+
*/
|
|
62
|
+
key?: string | Expression<string> | PlaceholderValue;
|
|
63
|
+
/** The field value type
|
|
64
|
+
* @default stringValue
|
|
65
|
+
*/
|
|
66
|
+
type?: 'arrayValue' | 'booleanValue' | 'numberValue' | 'objectValue' | 'stringValue' | Expression<string>;
|
|
67
|
+
/** Value
|
|
68
|
+
* @displayOptions.show { type: ["stringValue"] }
|
|
69
|
+
*/
|
|
70
|
+
stringValue?: string | Expression<string> | PlaceholderValue;
|
|
71
|
+
/** Value
|
|
72
|
+
* @displayOptions.show { type: ["numberValue"] }
|
|
73
|
+
*/
|
|
74
|
+
numberValue?: string | Expression<string> | PlaceholderValue;
|
|
75
|
+
/** Value
|
|
76
|
+
* @displayOptions.show { type: ["booleanValue"] }
|
|
77
|
+
* @default true
|
|
78
|
+
*/
|
|
79
|
+
booleanValue?: 'true' | 'false' | Expression<string>;
|
|
80
|
+
/** Value
|
|
81
|
+
* @displayOptions.show { type: ["arrayValue"] }
|
|
82
|
+
*/
|
|
83
|
+
arrayValue?: string | Expression<string> | PlaceholderValue;
|
|
84
|
+
/** Value
|
|
85
|
+
* @displayOptions.show { type: ["objectValue"] }
|
|
86
|
+
* @default ={}
|
|
87
|
+
*/
|
|
88
|
+
objectValue?: IDataObject | string | Expression<string>;
|
|
89
|
+
}>;
|
|
90
|
+
};
|
|
53
91
|
/** The message that will provide the agent with a list of tools to use
|
|
54
92
|
*/
|
|
55
93
|
humanMessage?: string | Expression<string> | PlaceholderValue;
|
|
@@ -28,7 +28,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
28
28
|
agent: z.union([z.literal('conversationalAgent'), z.literal('openAiFunctionsAgent'), z.literal('planAndExecuteAgent'), z.literal('reActAgent'), z.literal('sqlAgent')]).optional(),
|
|
29
29
|
promptType: resolveSchema({ parameters, schema: z.union([z.literal('auto'), z.literal('guardrails'), z.literal('define'), expressionSchema]), required: false, displayOptions: {"show":{"agent":["sqlAgent"]},"hide":{"agent":["sqlAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
30
30
|
hasOutputParser: resolveSchema({ parameters, schema: z.boolean(), required: false, displayOptions: {"hide":{"agent":["sqlAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
31
|
-
options: resolveSchema({ parameters, schema: z.object({ systemMessage: stringOrExpression.optional(), maxIterations: numberOrExpression.optional(), returnIntermediateSteps: booleanOrExpression.optional(), passthroughBinaryImages: booleanOrExpression.optional(), humanMessage: stringOrExpression.optional(), humanMessageTemplate: stringOrExpression.optional(), prefix: stringOrExpression.optional(), suffixChat: stringOrExpression.optional(), suffix: stringOrExpression.optional(), ignoredTables: stringOrExpression.optional(), includedSampleRows: numberOrExpression.optional(), includedTables: stringOrExpression.optional(), prefixPrompt: stringOrExpression.optional(), suffixPrompt: stringOrExpression.optional(), topK: numberOrExpression.optional() }), required: false, displayOptions: {"show":{"agent":["toolsAgent","conversationalAgent","openAiFunctionsAgent","reActAgent","sqlAgent","planAndExecuteAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
31
|
+
options: resolveSchema({ parameters, schema: z.object({ systemMessage: stringOrExpression.optional(), maxIterations: numberOrExpression.optional(), returnIntermediateSteps: booleanOrExpression.optional(), passthroughBinaryImages: booleanOrExpression.optional(), tracingMetadata: z.unknown().optional(), humanMessage: stringOrExpression.optional(), humanMessageTemplate: stringOrExpression.optional(), prefix: stringOrExpression.optional(), suffixChat: stringOrExpression.optional(), suffix: stringOrExpression.optional(), ignoredTables: stringOrExpression.optional(), includedSampleRows: numberOrExpression.optional(), includedTables: stringOrExpression.optional(), prefixPrompt: stringOrExpression.optional(), suffixPrompt: stringOrExpression.optional(), topK: numberOrExpression.optional() }), required: false, displayOptions: {"show":{"agent":["toolsAgent","conversationalAgent","openAiFunctionsAgent","reActAgent","sqlAgent","planAndExecuteAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
32
32
|
dataSource: resolveSchema({ parameters, schema: z.union([z.literal('mysql'), z.literal('postgres'), z.literal('sqlite'), expressionSchema]), required: false, displayOptions: {"show":{"agent":["sqlAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
33
33
|
binaryPropertyName: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"agent":["sqlAgent"],"dataSource":["sqlite"]}}, defaults: {"agent":"conversationalAgent","dataSource":"postgres"} }),
|
|
34
34
|
text: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"promptType":["define"],"agent":["sqlAgent"]}}, defaults: {"promptType":"auto","agent":"conversationalAgent"} }),
|
|
@@ -50,6 +50,44 @@ export interface LcAgentV16Params {
|
|
|
50
50
|
* @default true
|
|
51
51
|
*/
|
|
52
52
|
passthroughBinaryImages?: boolean | Expression<boolean>;
|
|
53
|
+
/** Custom metadata added to tracing events
|
|
54
|
+
* @default {}
|
|
55
|
+
*/
|
|
56
|
+
tracingMetadata?: {
|
|
57
|
+
/** Metadata
|
|
58
|
+
*/
|
|
59
|
+
values?: Array<{
|
|
60
|
+
/** Key
|
|
61
|
+
*/
|
|
62
|
+
key?: string | Expression<string> | PlaceholderValue;
|
|
63
|
+
/** The field value type
|
|
64
|
+
* @default stringValue
|
|
65
|
+
*/
|
|
66
|
+
type?: 'arrayValue' | 'booleanValue' | 'numberValue' | 'objectValue' | 'stringValue' | Expression<string>;
|
|
67
|
+
/** Value
|
|
68
|
+
* @displayOptions.show { type: ["stringValue"] }
|
|
69
|
+
*/
|
|
70
|
+
stringValue?: string | Expression<string> | PlaceholderValue;
|
|
71
|
+
/** Value
|
|
72
|
+
* @displayOptions.show { type: ["numberValue"] }
|
|
73
|
+
*/
|
|
74
|
+
numberValue?: string | Expression<string> | PlaceholderValue;
|
|
75
|
+
/** Value
|
|
76
|
+
* @displayOptions.show { type: ["booleanValue"] }
|
|
77
|
+
* @default true
|
|
78
|
+
*/
|
|
79
|
+
booleanValue?: 'true' | 'false' | Expression<string>;
|
|
80
|
+
/** Value
|
|
81
|
+
* @displayOptions.show { type: ["arrayValue"] }
|
|
82
|
+
*/
|
|
83
|
+
arrayValue?: string | Expression<string> | PlaceholderValue;
|
|
84
|
+
/** Value
|
|
85
|
+
* @displayOptions.show { type: ["objectValue"] }
|
|
86
|
+
* @default ={}
|
|
87
|
+
*/
|
|
88
|
+
objectValue?: IDataObject | string | Expression<string>;
|
|
89
|
+
}>;
|
|
90
|
+
};
|
|
53
91
|
/** The message that will provide the agent with a list of tools to use
|
|
54
92
|
*/
|
|
55
93
|
humanMessage?: string | Expression<string> | PlaceholderValue;
|
|
@@ -29,7 +29,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
29
29
|
promptType: resolveSchema({ parameters, schema: z.union([z.literal('auto'), z.literal('guardrails'), z.literal('define'), expressionSchema]), required: false, displayOptions: {"show":{"agent":["sqlAgent"]},"hide":{"agent":["sqlAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
30
30
|
text: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"promptType":["guardrails","auto","define"],"agent":["sqlAgent"]},"hide":{"agent":["sqlAgent"]}}, defaults: {"promptType":"auto","agent":"conversationalAgent"} }),
|
|
31
31
|
hasOutputParser: resolveSchema({ parameters, schema: z.boolean(), required: false, displayOptions: {"hide":{"agent":["sqlAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
32
|
-
options: resolveSchema({ parameters, schema: z.object({ systemMessage: stringOrExpression.optional(), maxIterations: numberOrExpression.optional(), returnIntermediateSteps: booleanOrExpression.optional(), passthroughBinaryImages: booleanOrExpression.optional(), humanMessage: stringOrExpression.optional(), humanMessageTemplate: stringOrExpression.optional(), prefix: stringOrExpression.optional(), suffixChat: stringOrExpression.optional(), suffix: stringOrExpression.optional(), ignoredTables: stringOrExpression.optional(), includedSampleRows: numberOrExpression.optional(), includedTables: stringOrExpression.optional(), prefixPrompt: stringOrExpression.optional(), suffixPrompt: stringOrExpression.optional(), topK: numberOrExpression.optional() }), required: false, displayOptions: {"show":{"agent":["toolsAgent","conversationalAgent","openAiFunctionsAgent","reActAgent","sqlAgent","planAndExecuteAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
32
|
+
options: resolveSchema({ parameters, schema: z.object({ systemMessage: stringOrExpression.optional(), maxIterations: numberOrExpression.optional(), returnIntermediateSteps: booleanOrExpression.optional(), passthroughBinaryImages: booleanOrExpression.optional(), tracingMetadata: z.unknown().optional(), humanMessage: stringOrExpression.optional(), humanMessageTemplate: stringOrExpression.optional(), prefix: stringOrExpression.optional(), suffixChat: stringOrExpression.optional(), suffix: stringOrExpression.optional(), ignoredTables: stringOrExpression.optional(), includedSampleRows: numberOrExpression.optional(), includedTables: stringOrExpression.optional(), prefixPrompt: stringOrExpression.optional(), suffixPrompt: stringOrExpression.optional(), topK: numberOrExpression.optional() }), required: false, displayOptions: {"show":{"agent":["toolsAgent","conversationalAgent","openAiFunctionsAgent","reActAgent","sqlAgent","planAndExecuteAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
33
33
|
dataSource: resolveSchema({ parameters, schema: z.union([z.literal('mysql'), z.literal('postgres'), z.literal('sqlite'), expressionSchema]), required: false, displayOptions: {"show":{"agent":["sqlAgent"]}}, defaults: {"agent":"conversationalAgent"} }),
|
|
34
34
|
binaryPropertyName: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"agent":["sqlAgent"],"dataSource":["sqlite"]}}, defaults: {"agent":"conversationalAgent","dataSource":"postgres"} }),
|
|
35
35
|
});
|