@n8n/n8n-nodes-langchain 0.8.0 → 0.9.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/build.tsbuildinfo +1 -1
- package/dist/credentials/GooglePalmApi.credentials.js +1 -1
- package/dist/credentials/GooglePalmApi.credentials.js.map +1 -1
- package/dist/credentials/MistralCloudApi.credentials.d.ts +9 -0
- package/dist/credentials/MistralCloudApi.credentials.js +37 -0
- package/dist/credentials/MistralCloudApi.credentials.js.map +1 -0
- package/dist/credentials/QdrantApi.credentials.js +1 -1
- package/dist/credentials/QdrantApi.credentials.js.map +1 -1
- package/dist/credentials/SerpApi.credentials.js +1 -1
- package/dist/credentials/SerpApi.credentials.js.map +1 -1
- package/dist/known/credentials.json +8 -0
- package/dist/known/nodes.json +12 -0
- package/dist/nodes/agents/Agent/Agent.node.js +1 -1
- package/dist/nodes/agents/Agent/Agent.node.js.map +1 -1
- package/dist/nodes/agents/Agent/agents/ConversationalAgent/description.js +13 -0
- package/dist/nodes/agents/Agent/agents/ConversationalAgent/description.js.map +1 -1
- package/dist/nodes/agents/Agent/agents/OpenAiFunctionsAgent/description.js +13 -0
- package/dist/nodes/agents/Agent/agents/OpenAiFunctionsAgent/description.js.map +1 -1
- package/dist/nodes/agents/Agent/agents/PlanAndExecuteAgent/description.js +13 -0
- package/dist/nodes/agents/Agent/agents/PlanAndExecuteAgent/description.js.map +1 -1
- package/dist/nodes/agents/Agent/agents/ReActAgent/description.js +13 -0
- package/dist/nodes/agents/Agent/agents/ReActAgent/description.js.map +1 -1
- package/dist/nodes/agents/OpenAiAssistant/OpenAiAssistant.node.js +17 -0
- package/dist/nodes/agents/OpenAiAssistant/OpenAiAssistant.node.js.map +1 -1
- package/dist/nodes/chains/ChainLLM/ChainLlm.node.js +13 -1
- package/dist/nodes/chains/ChainLLM/ChainLlm.node.js.map +1 -1
- package/dist/nodes/chains/ChainRetrievalQA/ChainRetrievalQa.node.js +13 -1
- package/dist/nodes/chains/ChainRetrievalQA/ChainRetrievalQa.node.js.map +1 -1
- package/dist/nodes/document_loaders/DocumentBinaryInputLoader/DocumentBinaryInputLoader.node.js +1 -1
- package/dist/nodes/document_loaders/DocumentJSONInputLoader/DocumentJsonInputLoader.node.js +1 -1
- package/dist/nodes/document_loaders/DocumentJSONInputLoader/DocumentJsonInputLoader.node.js.map +1 -1
- package/dist/nodes/embeddings/EmbeddingsMistralCloud/EmbeddingsMistralCloud.node.d.ts +5 -0
- package/dist/nodes/embeddings/EmbeddingsMistralCloud/EmbeddingsMistralCloud.node.js +142 -0
- package/dist/nodes/embeddings/EmbeddingsMistralCloud/EmbeddingsMistralCloud.node.js.map +1 -0
- package/dist/nodes/embeddings/EmbeddingsMistralCloud/mistral.svg +262 -0
- package/dist/nodes/llms/LmChatMistralCloud/LmChatMistralCloud.node.d.ts +5 -0
- package/dist/nodes/llms/LmChatMistralCloud/LmChatMistralCloud.node.js +181 -0
- package/dist/nodes/llms/LmChatMistralCloud/LmChatMistralCloud.node.js.map +1 -0
- package/dist/nodes/llms/LmChatMistralCloud/mistral.svg +262 -0
- package/dist/nodes/memory/MemoryBufferWindow/MemoryBufferWindow.node.js +18 -1
- package/dist/nodes/memory/MemoryBufferWindow/MemoryBufferWindow.node.js.map +1 -1
- package/dist/nodes/memory/MemoryMotorhead/MemoryMotorhead.node.js +18 -1
- package/dist/nodes/memory/MemoryMotorhead/MemoryMotorhead.node.js.map +1 -1
- package/dist/nodes/memory/MemoryRedisChat/MemoryRedisChat.node.js +18 -1
- package/dist/nodes/memory/MemoryRedisChat/MemoryRedisChat.node.js.map +1 -1
- package/dist/nodes/memory/MemoryXata/MemoryXata.node.js +18 -1
- package/dist/nodes/memory/MemoryXata/MemoryXata.node.js.map +1 -1
- package/dist/nodes/memory/MemoryZep/MemoryZep.node.js +18 -1
- package/dist/nodes/memory/MemoryZep/MemoryZep.node.js.map +1 -1
- package/dist/nodes/trigger/ChatTrigger/ChatTrigger.node.d.ts +5 -0
- package/dist/nodes/trigger/ChatTrigger/ChatTrigger.node.js +390 -0
- package/dist/nodes/trigger/ChatTrigger/ChatTrigger.node.js.map +1 -0
- package/dist/nodes/trigger/ChatTrigger/GenericFunctions.d.ts +2 -0
- package/dist/nodes/trigger/ChatTrigger/GenericFunctions.js +51 -0
- package/dist/nodes/trigger/ChatTrigger/GenericFunctions.js.map +1 -0
- package/dist/nodes/trigger/ChatTrigger/error.d.ts +4 -0
- package/dist/nodes/trigger/ChatTrigger/error.js +20 -0
- package/dist/nodes/trigger/ChatTrigger/error.js.map +1 -0
- package/dist/nodes/trigger/ChatTrigger/templates.d.ts +13 -0
- package/dist/nodes/trigger/ChatTrigger/templates.js +86 -0
- package/dist/nodes/trigger/ChatTrigger/templates.js.map +1 -0
- package/dist/nodes/trigger/ChatTrigger/types.d.ts +2 -0
- package/dist/nodes/trigger/ChatTrigger/types.js +3 -0
- package/dist/nodes/trigger/ChatTrigger/types.js.map +1 -0
- package/dist/nodes/trigger/ManualChatTrigger/ManualChatTrigger.node.js +1 -0
- package/dist/nodes/trigger/ManualChatTrigger/ManualChatTrigger.node.js.map +1 -1
- package/dist/nodes/vector_store/VectorStoreInMemoryInsert/VectorStoreInMemoryInsert.node.js +1 -1
- package/dist/nodes/vector_store/VectorStoreInMemoryInsert/VectorStoreInMemoryInsert.node.js.map +1 -1
- package/dist/nodes/vector_store/VectorStoreInMemoryLoad/VectorStoreInMemoryLoad.node.js +1 -1
- package/dist/nodes/vector_store/VectorStoreInMemoryLoad/VectorStoreInMemoryLoad.node.js.map +1 -1
- package/dist/nodes/vector_store/VectorStorePineconeInsert/VectorStorePineconeInsert.node.js +1 -1
- package/dist/nodes/vector_store/VectorStorePineconeInsert/VectorStorePineconeInsert.node.js.map +1 -1
- package/dist/nodes/vector_store/VectorStorePineconeLoad/VectorStorePineconeLoad.node.js +1 -1
- package/dist/nodes/vector_store/VectorStorePineconeLoad/VectorStorePineconeLoad.node.js.map +1 -1
- package/dist/nodes/vector_store/VectorStoreSupabaseInsert/VectorStoreSupabaseInsert.node.js +1 -1
- package/dist/nodes/vector_store/VectorStoreSupabaseInsert/VectorStoreSupabaseInsert.node.js.map +1 -1
- package/dist/nodes/vector_store/VectorStoreSupabaseLoad/VectorStoreSupabaseLoad.node.js +1 -1
- package/dist/nodes/vector_store/VectorStoreSupabaseLoad/VectorStoreSupabaseLoad.node.js.map +1 -1
- package/dist/nodes/vector_store/VectorStoreZepInsert/VectorStoreZepInsert.node.js +1 -1
- package/dist/nodes/vector_store/VectorStoreZepInsert/VectorStoreZepInsert.node.js.map +1 -1
- package/dist/nodes/vector_store/VectorStoreZepLoad/VectorStoreZepLoad.node.js +1 -1
- package/dist/nodes/vector_store/VectorStoreZepLoad/VectorStoreZepLoad.node.js.map +1 -1
- package/dist/types/credentials.json +4 -3
- package/dist/types/nodes.json +23 -20
- package/dist/utils/N8nBinaryLoader.js.map +1 -1
- package/package.json +12 -4
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EmbeddingsMistralCloud = void 0;
|
|
4
|
+
const mistralai_1 = require("@langchain/mistralai");
|
|
5
|
+
const logWrapper_1 = require("../../../utils/logWrapper");
|
|
6
|
+
const sharedFields_1 = require("../../../utils/sharedFields");
|
|
7
|
+
class EmbeddingsMistralCloud {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.description = {
|
|
10
|
+
displayName: 'Embeddings Mistral Cloud',
|
|
11
|
+
name: 'embeddingsMistralCloud',
|
|
12
|
+
icon: 'file:mistral.svg',
|
|
13
|
+
credentials: [
|
|
14
|
+
{
|
|
15
|
+
name: 'mistralCloudApi',
|
|
16
|
+
required: true,
|
|
17
|
+
},
|
|
18
|
+
],
|
|
19
|
+
group: ['transform'],
|
|
20
|
+
version: 1,
|
|
21
|
+
description: 'Use Embeddings Mistral Cloud',
|
|
22
|
+
defaults: {
|
|
23
|
+
name: 'Embeddings Mistral Cloud',
|
|
24
|
+
},
|
|
25
|
+
codex: {
|
|
26
|
+
categories: ['AI'],
|
|
27
|
+
subcategories: {
|
|
28
|
+
AI: ['Embeddings'],
|
|
29
|
+
},
|
|
30
|
+
resources: {
|
|
31
|
+
primaryDocumentation: [
|
|
32
|
+
{
|
|
33
|
+
url: 'https://docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.embeddingsmistralcloud/',
|
|
34
|
+
},
|
|
35
|
+
],
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
inputs: [],
|
|
39
|
+
outputs: ["ai_embedding"],
|
|
40
|
+
outputNames: ['Embeddings'],
|
|
41
|
+
requestDefaults: {
|
|
42
|
+
ignoreHttpStatusErrors: true,
|
|
43
|
+
baseURL: 'https://api.mistral.ai/v1',
|
|
44
|
+
},
|
|
45
|
+
properties: [
|
|
46
|
+
(0, sharedFields_1.getConnectionHintNoticeField)(["ai_vectorStore"]),
|
|
47
|
+
{
|
|
48
|
+
displayName: 'Model',
|
|
49
|
+
name: 'model',
|
|
50
|
+
type: 'options',
|
|
51
|
+
description: 'The model which will compute the embeddings. <a href="https://docs.mistral.ai/platform/endpoints/">Learn more</a>.',
|
|
52
|
+
typeOptions: {
|
|
53
|
+
loadOptions: {
|
|
54
|
+
routing: {
|
|
55
|
+
request: {
|
|
56
|
+
method: 'GET',
|
|
57
|
+
url: '/models',
|
|
58
|
+
},
|
|
59
|
+
output: {
|
|
60
|
+
postReceive: [
|
|
61
|
+
{
|
|
62
|
+
type: 'rootProperty',
|
|
63
|
+
properties: {
|
|
64
|
+
property: 'data',
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
type: 'filter',
|
|
69
|
+
properties: {
|
|
70
|
+
pass: "={{ $responseItem.id.includes('embed') }}",
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
type: 'setKeyValue',
|
|
75
|
+
properties: {
|
|
76
|
+
name: '={{ $responseItem.id }}',
|
|
77
|
+
value: '={{ $responseItem.id }}',
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
type: 'sort',
|
|
82
|
+
properties: {
|
|
83
|
+
key: 'name',
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
],
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
routing: {
|
|
92
|
+
send: {
|
|
93
|
+
type: 'body',
|
|
94
|
+
property: 'model',
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
default: 'mistral-embed',
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
displayName: 'Options',
|
|
101
|
+
name: 'options',
|
|
102
|
+
placeholder: 'Add Option',
|
|
103
|
+
description: 'Additional options to add',
|
|
104
|
+
type: 'collection',
|
|
105
|
+
default: {},
|
|
106
|
+
options: [
|
|
107
|
+
{
|
|
108
|
+
displayName: 'Batch Size',
|
|
109
|
+
name: 'batchSize',
|
|
110
|
+
default: 512,
|
|
111
|
+
typeOptions: { maxValue: 2048 },
|
|
112
|
+
description: 'Maximum number of documents to send in each request',
|
|
113
|
+
type: 'number',
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
displayName: 'Strip New Lines',
|
|
117
|
+
name: 'stripNewLines',
|
|
118
|
+
default: true,
|
|
119
|
+
description: 'Whether to strip new lines from the input text',
|
|
120
|
+
type: 'boolean',
|
|
121
|
+
},
|
|
122
|
+
],
|
|
123
|
+
},
|
|
124
|
+
],
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
async supplyData(itemIndex) {
|
|
128
|
+
const credentials = await this.getCredentials('mistralCloudApi');
|
|
129
|
+
const modelName = this.getNodeParameter('model', itemIndex);
|
|
130
|
+
const options = this.getNodeParameter('options', itemIndex, {});
|
|
131
|
+
const embeddings = new mistralai_1.MistralAIEmbeddings({
|
|
132
|
+
apiKey: credentials.apiKey,
|
|
133
|
+
modelName,
|
|
134
|
+
...options,
|
|
135
|
+
});
|
|
136
|
+
return {
|
|
137
|
+
response: (0, logWrapper_1.logWrapper)(embeddings, this),
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
exports.EmbeddingsMistralCloud = EmbeddingsMistralCloud;
|
|
142
|
+
//# sourceMappingURL=EmbeddingsMistralCloud.node.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmbeddingsMistralCloud.node.js","sourceRoot":"","sources":["../../../../nodes/embeddings/EmbeddingsMistralCloud/EmbeddingsMistralCloud.node.ts"],"names":[],"mappings":";;;AASA,oDAA2D;AAC3D,0DAAuD;AACvD,8DAA2E;AAE3E,MAAa,sBAAsB;IAAnC;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,0BAA0B;YACvC,IAAI,EAAE,wBAAwB;YAC9B,IAAI,EAAE,kBAAkB;YACxB,WAAW,EAAE;gBACZ;oBACC,IAAI,EAAE,iBAAiB;oBACvB,QAAQ,EAAE,IAAI;iBACd;aACD;YACD,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,WAAW,EAAE,8BAA8B;YAC3C,QAAQ,EAAE;gBACT,IAAI,EAAE,0BAA0B;aAChC;YAED,KAAK,EAAE;gBACN,UAAU,EAAE,CAAC,IAAI,CAAC;gBAClB,aAAa,EAAE;oBACd,EAAE,EAAE,CAAC,YAAY,CAAC;iBAClB;gBACD,SAAS,EAAE;oBACV,oBAAoB,EAAE;wBACrB;4BACC,GAAG,EAAE,8GAA8G;yBACnH;qBACD;iBACD;aACD;YAED,MAAM,EAAE,EAAE;YAEV,OAAO,EAAE,gBAAgC;YACzC,WAAW,EAAE,CAAC,YAAY,CAAC;YAC3B,eAAe,EAAE;gBAChB,sBAAsB,EAAE,IAAI;gBAC5B,OAAO,EAAE,2BAA2B;aACpC;YACD,UAAU,EAAE;gBACX,IAAA,2CAA4B,EAAC,kBAAkC,CAAC;gBAChE;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e;4BACrB,OAAO,EAAE,IAAI;4BACb,WAAW,EAAE,gDAAgD;4BAC7D,IAAI,EAAE,SAAS;yBACf;qBACD;iBACD;aACD;SACD,CAAC;IAqBH,CAAC;IAnBA,KAAK,CAAC,UAAU,CAA0B,SAAiB;QAC1D,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC;QACjE,MAAM,SAAS,GAAG,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,SAAS,CAAW,CAAC;QACtE,MAAM,OAAO,GAAG,IAAI,CAAC,gBAAgB,CACpC,SAAS,EACT,SAAS,EACT,EAAE,CACoC,CAAC;QAExC,MAAM,UAAU,GAAG,IAAI,+BAAmB,CAAC;YAC1C,MAAM,EAAE,WAAW,CAAC,MAAgB;YACpC,SAAS;YACT,GAAG,OAAO;SACV,CAAC,CAAC;QAEH,OAAO;YACN,QAAQ,EAAE,IAAA,uBAAU,EAAC,UAAU,EAAE,IAAI,CAAC;SACtC,CAAC;IACH,CAAC;CACD;AA9ID,wDA8IC"}
|
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<svg
|
|
3
|
+
width="216"
|
|
4
|
+
height="216"
|
|
5
|
+
version="1.1"
|
|
6
|
+
id="svg41"
|
|
7
|
+
sodipodi:docname="mistral.svg"
|
|
8
|
+
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25, custom)"
|
|
9
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
10
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
11
|
+
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
12
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
13
|
+
xmlns:svg="http://www.w3.org/2000/svg">
|
|
14
|
+
<sodipodi:namedview
|
|
15
|
+
id="namedview41"
|
|
16
|
+
pagecolor="#ffffff"
|
|
17
|
+
bordercolor="#000000"
|
|
18
|
+
borderopacity="0.25"
|
|
19
|
+
inkscape:showpageshadow="2"
|
|
20
|
+
inkscape:pageopacity="0.0"
|
|
21
|
+
inkscape:pagecheckerboard="0"
|
|
22
|
+
inkscape:deskcolor="#d1d1d1"
|
|
23
|
+
inkscape:zoom="1.936488"
|
|
24
|
+
inkscape:cx="197.78072"
|
|
25
|
+
inkscape:cy="79.00901"
|
|
26
|
+
inkscape:window-width="1920"
|
|
27
|
+
inkscape:window-height="1017"
|
|
28
|
+
inkscape:window-x="0"
|
|
29
|
+
inkscape:window-y="0"
|
|
30
|
+
inkscape:window-maximized="1"
|
|
31
|
+
inkscape:current-layer="svg41" />
|
|
32
|
+
<style
|
|
33
|
+
id="style1"><![CDATA[.I{fill:#ff7000}.J{fill:#ff4900}.K{fill:#ffa300}.L{fill:#1c1c1b icc-color(adobe-rgb-1998, 0.13299561, 0.13299561, 0.1289978)}]]></style>
|
|
34
|
+
<defs
|
|
35
|
+
id="defs10">
|
|
36
|
+
<clipPath
|
|
37
|
+
id="A">
|
|
38
|
+
<path
|
|
39
|
+
d="M 0,184.252 H 481.89 V 0 H 0 Z"
|
|
40
|
+
transform="translate(-206.251,-140.139)"
|
|
41
|
+
id="path1" />
|
|
42
|
+
</clipPath>
|
|
43
|
+
<clipPath
|
|
44
|
+
id="B">
|
|
45
|
+
<path
|
|
46
|
+
d="M 0,184.252 H 481.89 V 0 H 0 Z"
|
|
47
|
+
transform="translate(-247.436,-104.865)"
|
|
48
|
+
id="path2" />
|
|
49
|
+
</clipPath>
|
|
50
|
+
<clipPath
|
|
51
|
+
id="C">
|
|
52
|
+
<path
|
|
53
|
+
d="M 0,184.252 H 481.89 V 0 H 0 Z"
|
|
54
|
+
transform="translate(-285.938,-102.089)"
|
|
55
|
+
id="path3" />
|
|
56
|
+
</clipPath>
|
|
57
|
+
<clipPath
|
|
58
|
+
id="D">
|
|
59
|
+
<path
|
|
60
|
+
d="M 0,184.252 H 481.89 V 0 H 0 Z"
|
|
61
|
+
transform="translate(-337.769,-131.877)"
|
|
62
|
+
id="path4" />
|
|
63
|
+
</clipPath>
|
|
64
|
+
<clipPath
|
|
65
|
+
id="E">
|
|
66
|
+
<path
|
|
67
|
+
d="M 0,184.252 H 481.89 V 0 H 0 Z"
|
|
68
|
+
transform="translate(-377.247,-132.319)"
|
|
69
|
+
id="path5" />
|
|
70
|
+
</clipPath>
|
|
71
|
+
<clipPath
|
|
72
|
+
id="F">
|
|
73
|
+
<path
|
|
74
|
+
d="M 0,184.252 H 481.89 V 0 H 0 Z"
|
|
75
|
+
transform="translate(-418.107,-114.634)"
|
|
76
|
+
id="path6" />
|
|
77
|
+
</clipPath>
|
|
78
|
+
<clipPath
|
|
79
|
+
id="G">
|
|
80
|
+
<path
|
|
81
|
+
d="M 0,184.252 H 481.89 V 0 H 0 Z"
|
|
82
|
+
transform="translate(-450.023,-140.139)"
|
|
83
|
+
id="path7" />
|
|
84
|
+
</clipPath>
|
|
85
|
+
<clipPath
|
|
86
|
+
id="H">
|
|
87
|
+
<path
|
|
88
|
+
d="M 0,184.252 H 481.89 V 0 H 0 Z"
|
|
89
|
+
transform="translate(-217.694,-44.794)"
|
|
90
|
+
id="path8" />
|
|
91
|
+
</clipPath>
|
|
92
|
+
<clipPath
|
|
93
|
+
id="I">
|
|
94
|
+
<path
|
|
95
|
+
d="M 0,184.252 H 481.89 V 0 H 0 Z"
|
|
96
|
+
transform="translate(-247.436,-35.025)"
|
|
97
|
+
id="path9" />
|
|
98
|
+
</clipPath>
|
|
99
|
+
<clipPath
|
|
100
|
+
id="J">
|
|
101
|
+
<path
|
|
102
|
+
d="M 0,184.252 H 481.89 V 0 H 0 Z"
|
|
103
|
+
id="path10" />
|
|
104
|
+
</clipPath>
|
|
105
|
+
<path
|
|
106
|
+
id="K"
|
|
107
|
+
d="m 173.987,134.362 h -37.795 l 9.633,-37.776 h 37.796 z" />
|
|
108
|
+
</defs>
|
|
109
|
+
<g
|
|
110
|
+
transform="matrix(1,0,0.254535,1,-51.362792,-7.4725007)"
|
|
111
|
+
id="g32">
|
|
112
|
+
<g
|
|
113
|
+
class="L"
|
|
114
|
+
id="g22">
|
|
115
|
+
<path
|
|
116
|
+
d="M 98.397,134.362 H 60.602 l 9.633,-37.776 h 37.796 z"
|
|
117
|
+
id="path11" />
|
|
118
|
+
<path
|
|
119
|
+
d="M 126.558,172.138 H 88.763 l 9.633,-37.776 h 37.796 z"
|
|
120
|
+
id="path12" />
|
|
121
|
+
<path
|
|
122
|
+
d="M 136.192,134.362 H 98.397 l 9.633,-37.776 h 37.796 z"
|
|
123
|
+
id="path13" />
|
|
124
|
+
<use
|
|
125
|
+
xlink:href="#K"
|
|
126
|
+
id="use13" />
|
|
127
|
+
<path
|
|
128
|
+
d="M 108.031,96.585 H 70.236 l 9.633,-37.776 h 37.796 z"
|
|
129
|
+
id="path14" />
|
|
130
|
+
<use
|
|
131
|
+
xlink:href="#K"
|
|
132
|
+
x="9.6339998"
|
|
133
|
+
y="-37.777"
|
|
134
|
+
id="use14" />
|
|
135
|
+
<path
|
|
136
|
+
d="M 60.602,134.362 H 22.807 L 32.44,96.586 h 37.796 z"
|
|
137
|
+
id="path15" />
|
|
138
|
+
<path
|
|
139
|
+
d="M 70.236,96.585 H 32.441 L 42.074,58.809 H 79.87 Z"
|
|
140
|
+
id="path16" />
|
|
141
|
+
<path
|
|
142
|
+
d="M 79.87,58.809 H 42.075 l 9.633,-37.776 h 37.796 z"
|
|
143
|
+
id="path17" />
|
|
144
|
+
<use
|
|
145
|
+
xlink:href="#K"
|
|
146
|
+
x="57.063"
|
|
147
|
+
y="-75.553001"
|
|
148
|
+
id="use17" />
|
|
149
|
+
<path
|
|
150
|
+
d="M 50.968,172.138 H 13.173 l 9.633,-37.776 h 37.796 z"
|
|
151
|
+
id="path18" />
|
|
152
|
+
<path
|
|
153
|
+
d="M 41.334,209.915 H 3.539 l 9.633,-37.776 h 37.796 z"
|
|
154
|
+
id="path19" />
|
|
155
|
+
<use
|
|
156
|
+
xlink:href="#K"
|
|
157
|
+
x="37.794998"
|
|
158
|
+
id="use19" />
|
|
159
|
+
<use
|
|
160
|
+
xlink:href="#K"
|
|
161
|
+
x="47.429001"
|
|
162
|
+
y="-37.777"
|
|
163
|
+
id="use20" />
|
|
164
|
+
<use
|
|
165
|
+
xlink:href="#K"
|
|
166
|
+
x="28.160999"
|
|
167
|
+
y="37.776001"
|
|
168
|
+
id="use21" />
|
|
169
|
+
<use
|
|
170
|
+
xlink:href="#K"
|
|
171
|
+
x="18.527"
|
|
172
|
+
y="75.553001"
|
|
173
|
+
id="use22" />
|
|
174
|
+
</g>
|
|
175
|
+
<path
|
|
176
|
+
d="M 114.115,134.359 H 76.321 l 9.633,-37.776 h 37.796 z"
|
|
177
|
+
class="I"
|
|
178
|
+
id="path22" />
|
|
179
|
+
<use
|
|
180
|
+
xlink:href="#K"
|
|
181
|
+
x="-31.709999"
|
|
182
|
+
y="37.772999"
|
|
183
|
+
class="J"
|
|
184
|
+
id="use23" />
|
|
185
|
+
<g
|
|
186
|
+
class="I"
|
|
187
|
+
id="g25">
|
|
188
|
+
<use
|
|
189
|
+
xlink:href="#K"
|
|
190
|
+
x="-22.076"
|
|
191
|
+
y="-0.003"
|
|
192
|
+
id="use24" />
|
|
193
|
+
<use
|
|
194
|
+
xlink:href="#K"
|
|
195
|
+
x="15.719"
|
|
196
|
+
y="-0.003"
|
|
197
|
+
id="use25" />
|
|
198
|
+
</g>
|
|
199
|
+
<g
|
|
200
|
+
class="K"
|
|
201
|
+
id="g26">
|
|
202
|
+
<path
|
|
203
|
+
d="M 123.749,96.582 H 85.955 l 9.633,-37.776 h 37.796 z"
|
|
204
|
+
id="path25" />
|
|
205
|
+
<use
|
|
206
|
+
xlink:href="#K"
|
|
207
|
+
x="25.353001"
|
|
208
|
+
y="-37.779999"
|
|
209
|
+
id="use26" />
|
|
210
|
+
</g>
|
|
211
|
+
<path
|
|
212
|
+
d="M 76.32,134.359 H 38.526 l 9.633,-37.776 h 37.796 z"
|
|
213
|
+
class="I"
|
|
214
|
+
id="path26" />
|
|
215
|
+
<path
|
|
216
|
+
d="M 85.954,96.582 H 48.16 l 9.633,-37.776 h 37.796 z"
|
|
217
|
+
class="K"
|
|
218
|
+
id="path27" />
|
|
219
|
+
<g
|
|
220
|
+
fill="#ffce00"
|
|
221
|
+
id="g28">
|
|
222
|
+
<path
|
|
223
|
+
d="M 95.588,58.806 H 57.794 L 67.427,21.03 h 37.796 z"
|
|
224
|
+
id="path28" />
|
|
225
|
+
<use
|
|
226
|
+
xlink:href="#K"
|
|
227
|
+
x="72.781998"
|
|
228
|
+
y="-75.556"
|
|
229
|
+
id="use28" />
|
|
230
|
+
</g>
|
|
231
|
+
<path
|
|
232
|
+
d="M 66.686,172.135 H 28.892 l 9.633,-37.776 h 37.796 z"
|
|
233
|
+
class="J"
|
|
234
|
+
id="path29" />
|
|
235
|
+
<path
|
|
236
|
+
d="M 57.052,209.912 H 19.258 l 9.633,-37.776 h 37.796 z"
|
|
237
|
+
fill="#ff0107"
|
|
238
|
+
id="path30" />
|
|
239
|
+
<use
|
|
240
|
+
xlink:href="#K"
|
|
241
|
+
x="53.514"
|
|
242
|
+
y="-0.003"
|
|
243
|
+
class="I"
|
|
244
|
+
id="use30" />
|
|
245
|
+
<path
|
|
246
|
+
d="M 237.135,96.582 H 199.34 l 9.633,-37.776 h 37.796 z"
|
|
247
|
+
class="K"
|
|
248
|
+
id="path31" />
|
|
249
|
+
<use
|
|
250
|
+
xlink:href="#K"
|
|
251
|
+
x="43.880001"
|
|
252
|
+
y="37.772999"
|
|
253
|
+
class="J"
|
|
254
|
+
id="use31" />
|
|
255
|
+
<use
|
|
256
|
+
xlink:href="#K"
|
|
257
|
+
x="34.245998"
|
|
258
|
+
y="75.550003"
|
|
259
|
+
fill="#ff0107"
|
|
260
|
+
id="use32" />
|
|
261
|
+
</g>
|
|
262
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type IExecuteFunctions, type INodeType, type INodeTypeDescription, type SupplyData } from 'n8n-workflow';
|
|
2
|
+
export declare class LmChatMistralCloud implements INodeType {
|
|
3
|
+
description: INodeTypeDescription;
|
|
4
|
+
supplyData(this: IExecuteFunctions, itemIndex: number): Promise<SupplyData>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LmChatMistralCloud = void 0;
|
|
4
|
+
const mistralai_1 = require("@langchain/mistralai");
|
|
5
|
+
const logWrapper_1 = require("../../../utils/logWrapper");
|
|
6
|
+
const sharedFields_1 = require("../../../utils/sharedFields");
|
|
7
|
+
class LmChatMistralCloud {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.description = {
|
|
10
|
+
displayName: 'Mistral Cloud Chat Model',
|
|
11
|
+
name: 'lmChatMistralCloud',
|
|
12
|
+
icon: 'file:mistral.svg',
|
|
13
|
+
group: ['transform'],
|
|
14
|
+
version: 1,
|
|
15
|
+
description: 'For advanced usage with an AI chain',
|
|
16
|
+
defaults: {
|
|
17
|
+
name: 'Mistral Cloud Chat Model',
|
|
18
|
+
},
|
|
19
|
+
codex: {
|
|
20
|
+
categories: ['AI'],
|
|
21
|
+
subcategories: {
|
|
22
|
+
AI: ['Language Models'],
|
|
23
|
+
},
|
|
24
|
+
resources: {
|
|
25
|
+
primaryDocumentation: [
|
|
26
|
+
{
|
|
27
|
+
url: 'https://docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatmistralcloud/',
|
|
28
|
+
},
|
|
29
|
+
],
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
inputs: [],
|
|
33
|
+
outputs: ["ai_languageModel"],
|
|
34
|
+
outputNames: ['Model'],
|
|
35
|
+
credentials: [
|
|
36
|
+
{
|
|
37
|
+
name: 'mistralCloudApi',
|
|
38
|
+
required: true,
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
requestDefaults: {
|
|
42
|
+
ignoreHttpStatusErrors: true,
|
|
43
|
+
baseURL: 'https://api.mistral.ai/v1',
|
|
44
|
+
},
|
|
45
|
+
properties: [
|
|
46
|
+
(0, sharedFields_1.getConnectionHintNoticeField)(["ai_chain", "ai_agent"]),
|
|
47
|
+
{
|
|
48
|
+
displayName: 'Model',
|
|
49
|
+
name: 'model',
|
|
50
|
+
type: 'options',
|
|
51
|
+
description: 'The model which will generate the completion. <a href="https://docs.mistral.ai/platform/endpoints/">Learn more</a>.',
|
|
52
|
+
typeOptions: {
|
|
53
|
+
loadOptions: {
|
|
54
|
+
routing: {
|
|
55
|
+
request: {
|
|
56
|
+
method: 'GET',
|
|
57
|
+
url: '/models',
|
|
58
|
+
},
|
|
59
|
+
output: {
|
|
60
|
+
postReceive: [
|
|
61
|
+
{
|
|
62
|
+
type: 'rootProperty',
|
|
63
|
+
properties: {
|
|
64
|
+
property: 'data',
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
type: 'filter',
|
|
69
|
+
properties: {
|
|
70
|
+
pass: "={{ !$responseItem.id.includes('embed') }}",
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
type: 'setKeyValue',
|
|
75
|
+
properties: {
|
|
76
|
+
name: '={{ $responseItem.id }}',
|
|
77
|
+
value: '={{ $responseItem.id }}',
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
type: 'sort',
|
|
82
|
+
properties: {
|
|
83
|
+
key: 'name',
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
],
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
routing: {
|
|
92
|
+
send: {
|
|
93
|
+
type: 'body',
|
|
94
|
+
property: 'model',
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
default: 'mistral-small',
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
displayName: 'Options',
|
|
101
|
+
name: 'options',
|
|
102
|
+
placeholder: 'Add Option',
|
|
103
|
+
description: 'Additional options to add',
|
|
104
|
+
type: 'collection',
|
|
105
|
+
default: {},
|
|
106
|
+
options: [
|
|
107
|
+
{
|
|
108
|
+
displayName: 'Maximum Number of Tokens',
|
|
109
|
+
name: 'maxTokens',
|
|
110
|
+
default: -1,
|
|
111
|
+
description: 'The maximum number of tokens to generate in the completion. Most models have a context length of 2048 tokens (except for the newest models, which support 32,768).',
|
|
112
|
+
type: 'number',
|
|
113
|
+
typeOptions: {
|
|
114
|
+
maxValue: 32768,
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
displayName: 'Sampling Temperature',
|
|
119
|
+
name: 'temperature',
|
|
120
|
+
default: 0.7,
|
|
121
|
+
typeOptions: { maxValue: 1, minValue: 0, numberPrecision: 1 },
|
|
122
|
+
description: 'Controls randomness: Lowering results in less random completions. As the temperature approaches zero, the model will become deterministic and repetitive.',
|
|
123
|
+
type: 'number',
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
displayName: 'Max Retries',
|
|
127
|
+
name: 'maxRetries',
|
|
128
|
+
default: 2,
|
|
129
|
+
description: 'Maximum number of retries to attempt',
|
|
130
|
+
type: 'number',
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
displayName: 'Top P',
|
|
134
|
+
name: 'topP',
|
|
135
|
+
default: 1,
|
|
136
|
+
typeOptions: { maxValue: 1, minValue: 0, numberPrecision: 1 },
|
|
137
|
+
description: 'Controls diversity via nucleus sampling: 0.5 means half of all likelihood-weighted options are considered. We generally recommend altering this or temperature but not both.',
|
|
138
|
+
type: 'number',
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
displayName: 'Enable Safe Mode',
|
|
142
|
+
name: 'safeMode',
|
|
143
|
+
default: false,
|
|
144
|
+
type: 'boolean',
|
|
145
|
+
description: 'Whether to inject a safety prompt before all conversations',
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
displayName: 'Random Seed',
|
|
149
|
+
name: 'randomSeed',
|
|
150
|
+
default: undefined,
|
|
151
|
+
type: 'number',
|
|
152
|
+
description: 'The seed to use for random sampling. If set, different calls will generate deterministic results.',
|
|
153
|
+
},
|
|
154
|
+
],
|
|
155
|
+
},
|
|
156
|
+
],
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
async supplyData(itemIndex) {
|
|
160
|
+
const credentials = await this.getCredentials('mistralCloudApi');
|
|
161
|
+
const modelName = this.getNodeParameter('model', itemIndex);
|
|
162
|
+
const options = this.getNodeParameter('options', itemIndex, {
|
|
163
|
+
maxRetries: 2,
|
|
164
|
+
topP: 1,
|
|
165
|
+
temperature: 0.7,
|
|
166
|
+
maxTokens: -1,
|
|
167
|
+
safeMode: false,
|
|
168
|
+
randomSeed: undefined,
|
|
169
|
+
});
|
|
170
|
+
const model = new mistralai_1.ChatMistralAI({
|
|
171
|
+
apiKey: credentials.apiKey,
|
|
172
|
+
modelName,
|
|
173
|
+
...options,
|
|
174
|
+
});
|
|
175
|
+
return {
|
|
176
|
+
response: (0, logWrapper_1.logWrapper)(model, this),
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
exports.LmChatMistralCloud = LmChatMistralCloud;
|
|
181
|
+
//# sourceMappingURL=LmChatMistralCloud.node.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LmChatMistralCloud.node.js","sourceRoot":"","sources":["../../../../nodes/llms/LmChatMistralCloud/LmChatMistralCloud.node.ts"],"names":[],"mappings":";;;AAUA,oDAAqD;AACrD,0DAAuD;AACvD,8DAA2E;AAE3E,MAAa,kBAAkB;IAA/B;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,0BAA0B;YAEvC,IAAI,EAAE,oBAAoB;YAC1B,IAAI,EAAE,kBAAkB;YACxB,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OA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