You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/@n8n/nodes-langchain/nodes/document_loaders/DocumentDefaultDataLoader/DocumentDefaultDataLoader.node.ts
+25-25Lines changed: 25 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -77,31 +77,6 @@ export class DocumentDefaultDataLoader implements INodeType {
77
77
type: 'notice',
78
78
default: '',
79
79
},
80
-
{
81
-
displayName: 'Text Splitting',
82
-
name: 'textSplittingMode',
83
-
type: 'options',
84
-
default: 'simple',
85
-
required: true,
86
-
noDataExpression: true,
87
-
displayOptions: {
88
-
show: {
89
-
'@version': [1.1],
90
-
},
91
-
},
92
-
options: [
93
-
{
94
-
name: 'Simple',
95
-
value: 'simple',
96
-
description: 'Uses the Recursive Character Text Splitter with default options',
97
-
},
98
-
{
99
-
name: 'Custom',
100
-
value: 'custom',
101
-
description: 'Connect a text splitter of your choice',
102
-
},
103
-
],
104
-
},
105
80
{
106
81
displayName: 'Type of Data',
107
82
name: 'dataType',
@@ -254,6 +229,31 @@ export class DocumentDefaultDataLoader implements INodeType {
254
229
},
255
230
},
256
231
},
232
+
{
233
+
displayName: 'Text Splitting',
234
+
name: 'textSplittingMode',
235
+
type: 'options',
236
+
default: 'simple',
237
+
required: true,
238
+
noDataExpression: true,
239
+
displayOptions: {
240
+
show: {
241
+
'@version': [1.1],
242
+
},
243
+
},
244
+
options: [
245
+
{
246
+
name: 'Simple',
247
+
value: 'simple',
248
+
description: 'Splits every 1000 characters with a 200 character overlap',
249
+
},
250
+
{
251
+
name: 'Custom',
252
+
value: 'custom',
253
+
description: 'Connect a custom text-splitting sub-node',
0 commit comments