@n8n/n8n-nodes-langchain 2.12.0 → 2.14.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/AnthropicApi.credentials.js +1 -1
- package/dist/credentials/AnthropicApi.credentials.js.map +1 -1
- package/dist/credentials/ChatHubVectorStoreQdrantApi.credentials.js +1 -1
- package/dist/credentials/ChatHubVectorStoreQdrantApi.credentials.js.map +1 -1
- package/dist/credentials/CohereApi.credentials.js +1 -1
- package/dist/credentials/CohereApi.credentials.js.map +1 -1
- package/dist/credentials/HuggingFaceApi.credentials.js +1 -1
- package/dist/credentials/HuggingFaceApi.credentials.js.map +1 -1
- package/dist/credentials/MotorheadApi.credentials.js +1 -1
- package/dist/credentials/MotorheadApi.credentials.js.map +1 -1
- package/dist/credentials/PineconeApi.credentials.js +1 -1
- package/dist/credentials/PineconeApi.credentials.js.map +1 -1
- package/dist/credentials/QdrantApi.credentials.js +1 -1
- package/dist/credentials/QdrantApi.credentials.js.map +1 -1
- package/dist/credentials/WolframAlphaApi.credentials.js +1 -1
- package/dist/credentials/WolframAlphaApi.credentials.js.map +1 -1
- 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/microsoftAgent365Trigger/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/microsoftAgent365Trigger/v1.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/microsoftAgent365Trigger/v1.ts +1 -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/llms/LmChatAwsBedrock/LmChatAwsBedrock.node.js +7 -2
- package/dist/nodes/llms/LmChatAwsBedrock/LmChatAwsBedrock.node.js.map +1 -1
- package/dist/nodes/vector_store/ChatHubVectorStorePGVector/ChatHubVectorStorePGVector.node.js +12 -2
- package/dist/nodes/vector_store/ChatHubVectorStorePGVector/ChatHubVectorStorePGVector.node.js.map +1 -1
- package/dist/nodes/vector_store/ChatHubVectorStorePinecone/ChatHubVectorStorePinecone.node.js +44 -4
- package/dist/nodes/vector_store/ChatHubVectorStorePinecone/ChatHubVectorStorePinecone.node.js.map +1 -1
- package/dist/nodes/vector_store/ChatHubVectorStoreQdrant/ChatHubVectorStoreQdrant.node.js +67 -16
- package/dist/nodes/vector_store/ChatHubVectorStoreQdrant/ChatHubVectorStoreQdrant.node.js.map +1 -1
- package/dist/nodes/vector_store/VectorStoreMongoDBAtlas/VectorStoreMongoDBAtlas.node.d.ts +1 -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/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/vendors/Microsoft/MicrosoftAgent365Trigger.node.js +23 -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 +20 -6
- package/dist/nodes/vendors/Microsoft/microsoft-utils.js +114 -29
- package/dist/nodes/vendors/Microsoft/microsoft-utils.js.map +1 -1
- package/dist/typecheck.tsbuildinfo +1 -1
- package/dist/types/credentials.json +9 -9
- package/dist/types/nodes.json +8 -8
- package/dist/utils/agent-execution/buildSteps.js +3 -1
- package/dist/utils/agent-execution/buildSteps.js.map +1 -1
- package/dist/utils/output_parsers/N8nOutputFixingParser.d.ts +1 -1
- 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 +19 -19
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnthropicApi.credentials.js","sourceRoot":"","sources":["../../credentials/AnthropicApi.credentials.ts"],"names":[],"mappings":";;;AAQA,MAAa,YAAY;IAAzB;QACC,SAAI,GAAG,cAAc,CAAC;QAEtB,gBAAW,GAAG,WAAW,CAAC;QAE1B,qBAAgB,GAAG,WAAW,CAAC;QAE/B,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,2BAA2B;gBACpC,WAAW,EAAE,2CAA2C;aACxD;YACD;gBACC,WAAW,EAAE,mBAAmB;gBAChC,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,KAAK;aACd;YACD;gBACC,WAAW,EAAE,aAAa;gBAC1B,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,QAAQ;gBACd,cAAc,EAAE;oBACf,IAAI,EAAE;wBACL,MAAM,EAAE,CAAC,IAAI,CAAC;qBACd;iBACD;gBACD,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,cAAc;gBAC3B,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,QAAQ,EAAE,IAAI;iBACd;gBACD,cAAc,EAAE;oBACf,IAAI,EAAE;wBACL,MAAM,EAAE,CAAC,IAAI,CAAC;qBACd;iBACD;gBACD,OAAO,EAAE,EAAE;aACX;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,wBAAwB;gBACjC,GAAG,EAAE,cAAc;gBACnB,MAAM,EAAE,MAAM;gBACd,OAAO,EAAE;oBACR,mBAAmB,EAAE,YAAY;iBACjC;gBACD,IAAI,EAAE;oBACL,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"AnthropicApi.credentials.js","sourceRoot":"","sources":["../../credentials/AnthropicApi.credentials.ts"],"names":[],"mappings":";;;AAQA,MAAa,YAAY;IAAzB;QACC,SAAI,GAAG,cAAc,CAAC;QAEtB,gBAAW,GAAG,WAAW,CAAC;QAE1B,qBAAgB,GAAG,WAAW,CAAC;QAE/B,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,2BAA2B;gBACpC,WAAW,EAAE,2CAA2C;aACxD;YACD;gBACC,WAAW,EAAE,mBAAmB;gBAChC,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,KAAK;aACd;YACD;gBACC,WAAW,EAAE,aAAa;gBAC1B,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,QAAQ;gBACd,cAAc,EAAE;oBACf,IAAI,EAAE;wBACL,MAAM,EAAE,CAAC,IAAI,CAAC;qBACd;iBACD;gBACD,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,cAAc;gBAC3B,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,QAAQ,EAAE,IAAI;iBACd;gBACD,cAAc,EAAE;oBACf,IAAI,EAAE;wBACL,MAAM,EAAE,CAAC,IAAI,CAAC;qBACd;iBACD;gBACD,OAAO,EAAE,EAAE;aACX;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,wBAAwB;gBACjC,GAAG,EAAE,cAAc;gBACnB,MAAM,EAAE,MAAM;gBACd,OAAO,EAAE;oBACR,mBAAmB,EAAE,YAAY;iBACjC;gBACD,IAAI,EAAE;oBACL,KAAK,EAAE,2BAA2B;oBAClC,QAAQ,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;oBAC5C,UAAU,EAAE,CAAC;iBACb;aACD;SACD,CAAC;IAqBH,CAAC;IAnBA,KAAK,CAAC,YAAY,CACjB,WAA2C,EAC3C,cAAmC;QAEnC,cAAc,CAAC,OAAO,KAAK,EAAE,CAAC;QAE9B,cAAc,CAAC,OAAO,CAAC,WAAW,CAAC,GAAG,WAAW,CAAC,MAAM,CAAC;QAEzD,IACC,WAAW,CAAC,MAAM;YAClB,OAAO,WAAW,CAAC,UAAU,KAAK,QAAQ;YAC1C,WAAW,CAAC,UAAU;YACtB,OAAO,WAAW,CAAC,WAAW,KAAK,QAAQ,EAC1C,CAAC;YACF,cAAc,CAAC,OAAO,CAAC,WAAW,CAAC,UAAU,CAAC,GAAG,WAAW,CAAC,WAAW,CAAC;QAC1E,CAAC;QAED,OAAO,cAAc,CAAC;IACvB,CAAC;CACD;AA3FD,oCA2FC"}
|
|
@@ -13,7 +13,7 @@ class ChatHubVectorStoreQdrantApi {
|
|
|
13
13
|
name: 'collectionName',
|
|
14
14
|
type: 'string',
|
|
15
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.',
|
|
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
17
|
},
|
|
18
18
|
];
|
|
19
19
|
}
|
|
@@ -1 +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,
|
|
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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CohereApi.credentials.js","sourceRoot":"","sources":["../../credentials/CohereApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,SAAS;IAAtB;QACC,SAAI,GAAG,WAAW,CAAC;QAEnB,gBAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"CohereApi.credentials.js","sourceRoot":"","sources":["../../credentials/CohereApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,SAAS;IAAtB;QACC,SAAI,GAAG,WAAW,CAAC;QAEnB,gBAAW,GAAG,YAAY,CAAC;QAE3B,qBAAgB,GAAG,QAAQ,CAAC;QAE5B,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,uBAAuB;aAChC;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,aAAa,EAAE,iCAAiC;iBAChD;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,yBAAyB;gBAClC,GAAG,EAAE,wBAAwB;aAC7B;SACD,CAAC;IACH,CAAC;CAAA;AAvCD,8BAuCC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HuggingFaceApi.credentials.js","sourceRoot":"","sources":["../../credentials/HuggingFaceApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,cAAc;IAA3B;QACC,SAAI,GAAG,gBAAgB,CAAC;QAExB,gBAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"HuggingFaceApi.credentials.js","sourceRoot":"","sources":["../../credentials/HuggingFaceApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,cAAc;IAA3B;QACC,SAAI,GAAG,gBAAgB,CAAC;QAExB,gBAAW,GAAG,kBAAkB,CAAC;QAEjC,qBAAgB,GAAG,aAAa,CAAC;QAEjC,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,EAAE;aACX;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,aAAa,EAAE,iCAAiC;iBAChD;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,wBAAwB;gBACjC,GAAG,EAAE,gBAAgB;aACrB;SACD,CAAC;IACH,CAAC;CAAA;AAjCD,wCAiCC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MotorheadApi.credentials.js","sourceRoot":"","sources":["../../credentials/MotorheadApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,YAAY;IAAzB;QACC,SAAI,GAAG,cAAc,CAAC;QAEtB,gBAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"MotorheadApi.credentials.js","sourceRoot":"","sources":["../../credentials/MotorheadApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,YAAY;IAAzB;QACC,SAAI,GAAG,cAAc,CAAC;QAEtB,gBAAW,GAAG,eAAe,CAAC;QAE9B,qBAAgB,GAAG,WAAW,CAAC;QAE/B,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,MAAM;gBACnB,IAAI,EAAE,MAAM;gBACZ,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,4BAA4B;aACrC;YACD;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,WAAW;gBACxB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;aACX;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,mBAAmB,EAAE,4BAA4B;oBACjD,iBAAiB,EAAE,0BAA0B;iBAC7C;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,qCAAqC;aAC9C;SACD,CAAC;IACH,CAAC;CAAA;AA9CD,oCA8CC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PineconeApi.credentials.js","sourceRoot":"","sources":["../../credentials/PineconeApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,WAAW;IAAxB;QACC,SAAI,GAAG,aAAa,CAAC;QAErB,gBAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"PineconeApi.credentials.js","sourceRoot":"","sources":["../../credentials/PineconeApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,WAAW;IAAxB;QACC,SAAI,GAAG,aAAa,CAAC;QAErB,gBAAW,GAAG,cAAc,CAAC;QAE7B,qBAAgB,GAAG,UAAU,CAAC;QAE9B,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,EAAE;aACX;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,SAAS,EAAE,0BAA0B;iBACrC;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,iCAAiC;gBAC1C,OAAO,EAAE;oBACR,MAAM,EAAE,iCAAiC;iBACzC;aACD;SACD,CAAC;IACH,CAAC;CAAA;AAnCD,kCAmCC"}
|
|
@@ -4,7 +4,7 @@ exports.QdrantApi = void 0;
|
|
|
4
4
|
class QdrantApi {
|
|
5
5
|
constructor() {
|
|
6
6
|
this.name = 'qdrantApi';
|
|
7
|
-
this.displayName = '
|
|
7
|
+
this.displayName = 'Qdrant API';
|
|
8
8
|
this.documentationUrl = 'https://docs.n8n.io/integrations/builtin/credentials/qdrant/';
|
|
9
9
|
this.properties = [
|
|
10
10
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QdrantApi.credentials.js","sourceRoot":"","sources":["../../credentials/QdrantApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,SAAS;IAAtB;QACC,SAAI,GAAG,WAAW,CAAC;QAEnB,gBAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"QdrantApi.credentials.js","sourceRoot":"","sources":["../../credentials/QdrantApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,SAAS;IAAtB;QACC,SAAI,GAAG,WAAW,CAAC;QAEnB,gBAAW,GAAG,YAAY,CAAC;QAE3B,qBAAgB,GAAG,8DAA8D,CAAC;QAElF,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,QAAQ,EAAE,KAAK;gBACf,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,EAAE;aACX;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,SAAS,EAAE,0BAA0B;iBACrC;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,6BAA6B;gBACtC,GAAG,EAAE,cAAc;aACnB;SACD,CAAC;IACH,CAAC;CAAA;AAxCD,8BAwCC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WolframAlphaApi.credentials.js","sourceRoot":"","sources":["../../credentials/WolframAlphaApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,eAAe;IAA5B;QACC,SAAI,GAAG,iBAAiB,CAAC;QAEzB,gBAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"WolframAlphaApi.credentials.js","sourceRoot":"","sources":["../../credentials/WolframAlphaApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,eAAe;IAA5B;QACC,SAAI,GAAG,iBAAiB,CAAC;QAEzB,gBAAW,GAAG,mBAAmB,CAAC;QAElC,qBAAgB,GAAG,cAAc,CAAC;QAElC,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,QAAQ;gBACrB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,EAAE;aACX;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,EAAE,EAAE;oBACH,OAAO,EAAE,yBAAyB;iBAClC;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,iCAAiC;gBAC1C,GAAG,EAAE,UAAU;gBACf,EAAE,EAAE;oBACH,CAAC,EAAE,iBAAiB;oBACpB,KAAK,EAAE,yBAAyB;iBAChC;aACD;SACD,CAAC;IACH,CAAC;CAAA;AArCD,0CAqCC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
414bcfe38ab061946763e7945e33018a617b4319358aa7b720587d54b430b277
|
|
@@ -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
|
});
|