mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
fix: Add description for chunkSize and chunkOverlap (no-changelog) (#18680)
This commit is contained in:
@@ -54,12 +54,14 @@ export class TextSplitterCharacterTextSplitter implements INodeType {
|
||||
name: 'chunkSize',
|
||||
type: 'number',
|
||||
default: 1000,
|
||||
description: 'Maximum number of characters per chunk',
|
||||
},
|
||||
{
|
||||
displayName: 'Chunk Overlap',
|
||||
name: 'chunkOverlap',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
description: 'Number of characters shared between consecutive chunks to preserve context',
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
@@ -48,12 +48,14 @@ export class TextSplitterTokenSplitter implements INodeType {
|
||||
name: 'chunkSize',
|
||||
type: 'number',
|
||||
default: 1000,
|
||||
description: 'Maximum number of tokens per chunk',
|
||||
},
|
||||
{
|
||||
displayName: 'Chunk Overlap',
|
||||
name: 'chunkOverlap',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
description: 'Number of tokens shared between consecutive chunks to preserve context',
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user